<commit_before># When a PR is opened or a push is made, perform
# a static analysis check on the code using PHPStan.
name: PHPStan

on:
  pull_request:
    branches:
      - 'develop'
      - 'v4.*'
    paths:
      - 'app/**'
      - 'system/**'
      - composer.json
      - phpstan.neon.dist
  push:
    branches:
      - 'develop'
      - 'v4.*'
    paths:
      - 'app/**'
      - 'system/**'
      - composer.json
      - phpstan.neon.dist

jobs:
  build:
    name: PHP ${{ matrix.php-versions }} Static Analysis
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        php-versions: ['8.0', '8.1']
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2<commit_msg>register - phpstan-baseline.neon.dist to test-phpstan on paths<commit_after># When a PR is opened or a push is made, perform
# a static analysis check on the code using PHPStan.
name: PHPStan

on:
  pull_request:
    branches:
      - 'develop'
      - 'v4.*'
    paths:
      - 'app/**'
      - 'system/**'
      - composer.json
      - phpstan.neon.dist
      - phpstan-baseline.neon.dist
  push:
    branches:
      - 'develop'
      - 'v4.*'
    paths:
      - 'app/**'
      - 'system/**'
      - composer.json
      - phpstan.neon.dist
      - phpstan-baseline.neon.dist

jobs:
  build:
    name: PHP ${{ matrix.php-versions }} Static Analysis
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        php-versions: ['8.0', '8.1']
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
{'fraction_non_alphanumeric': 0.13448894202032277, 'fraction_numerical': 0.01434548714883443, 'mean_word_length': 1.771523178807947, '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': '6593068', 'n_tokens_mistral': 606, 'n_tokens_neox': 581, 'n_words': 142}