<commit_before>name: Coding Standards

on: [push, pull_request]

jobs:
  tests:
    name: PHP-CS-Fixer

    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Install PHP
        uses: shivammathur/setup-php@v2
        with:
          coverage: none
          php-version: 8.1
          tools: composer:v2, php-cs-fixer:3.4 # see https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6238

      - name: Install Composer dependencies
        uses: ramsey/composer-install@v1

      - name: Run PHP-CS-Fixer
        run: php-cs-fixer fix --ansi --verbose --diff --dry-run<commit_msg>Use latest version of php-cs-fixer<commit_after>name: Coding Standards

on: [push, pull_request]

jobs:
  tests:
    name: PHP-CS-Fixer

    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Install PHP
        uses: shivammathur/setup-php@v2
        with:
          coverage: none
          php-version: 8.1
          tools: composer:v2, php-cs-fixer

      - name: Install Composer dependencies
        uses: ramsey/composer-install@v1

      - name: Run PHP-CS-Fixer
        run: php-cs-fixer fix --ansi --verbose --diff --dry-run
{'fraction_non_alphanumeric': 0.11011419249592169, 'fraction_numerical': 0.01468189233278956, 'mean_word_length': 2.0073529411764706, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3614488', 'n_tokens_mistral': 441, 'n_tokens_neox': 413, 'n_words': 97}