Repository navigation
Work out class members the way PHP links traits and inheritance #1271
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Static Analysis | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| phpstan: | |
| runs-on: ubuntu-latest | |
| name: PHPStan | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: pcov | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress | |
| - name: PHPStan | |
| run: composer phpstan -- --error-format=github | |
| deptrac: | |
| runs-on: ubuntu-latest | |
| name: Deptrac | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| - name: Install dependencies | |
| run: composer install --prefer-dist --no-progress | |
| - name: Deptrac | |
| run: composer deptrac -- -f github-actions | |
| - name: Every class is in a layer | |
| run: composer layer-coverage |