<commit_before>name: PHP Checks

on:
  - push

jobs:
  phpstan:
      name: PHPStan
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.2
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && composer phpstan

  ecs:
      name: ECS
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.2
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && composer check-cs

  rector:
      name: Rector
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.3
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && composer rector
<commit_msg>Transition fatal-error scan to GithubAction<commit_after>name: PHP Checks

on:
  - push

jobs:
  phpstan:
      name: PHPStan
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.2
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && composer phpstan

  ecs:
      name: ECS
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.2
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && composer check-cs

  rector:
      name: Rector
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.3
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && composer rector

  fatal-scan:
      name: Scan Fatal Errors
      runs-on: ubuntu-latest
      steps:
          - uses: actions/checkout@v2
          - name: Setup PHP
            uses: shivammathur/setup-php@v1
            with:
                php-version: 7.3
                coverage: none # disable xdebug, pcov
          - run: composer install --no-progress && bin/rector scan-fatal-errors tests/Source/FatalErrors

{'fraction_non_alphanumeric': 0.0867138072199479, 'fraction_numerical': 0.01042054335690361, 'mean_word_length': 1.4369900271985494, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7628011', 'n_tokens_mistral': 830, 'n_tokens_neox': 785, 'n_words': 208}