:octocat: reintroducing phan because phpstan keeps making trouble

This commit is contained in:
smiley
2025-07-19 23:29:41 +02:00
parent 5477e121d3
commit bf34b46c57
21 changed files with 6853 additions and 13 deletions
+10 -3
View File
@@ -21,6 +21,10 @@ jobs:
name: "Static Code Analysis"
runs-on: ubuntu-latest
env:
PHAN_ALLOW_XDEBUG: 0
PHAN_DISABLE_XDEBUG_WARN: 1
strategy:
fail-fast: true
matrix:
@@ -37,19 +41,22 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: ${{ env.PHP_EXTENSIONS }}
extensions: ast, ${{ env.PHP_EXTENSIONS }}
ini-values: ${{ env.PHP_INI_VALUES }}
coverage: none
- name: "Install dependencies with composer"
uses: ramsey/composer-install@v3
- name: "Run PHPStan"
run: php vendor/bin/phpstan
- name: "Run phan"
run: php vendor/bin/phan --target-php-version=${{ matrix.php-version }}
- name: "Run PHP_CodeSniffer"
run: php vendor/bin/phpcs
# - name: "Run PHPStan"
# run: php vendor/bin/phpstan
tests:
name: "Unit Tests"