mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-17 16:52:49 +00:00
Add phpstan analysis
This commit is contained in:
committed by
Fabien Potencier
parent
8c91bd7093
commit
75d48db822
@@ -154,3 +154,29 @@ jobs:
|
||||
|
||||
- run: bash ./tests/drupal_test.sh
|
||||
shell: "bash"
|
||||
|
||||
phpstan:
|
||||
name: "PHPStan"
|
||||
|
||||
runs-on: 'ubuntu-latest'
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version:
|
||||
- '8.4'
|
||||
|
||||
steps:
|
||||
- name: "Checkout code"
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: "Install PHP with extensions"
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
coverage: "none"
|
||||
php-version: ${{ matrix.php-version }}
|
||||
ini-values: memory_limit=-1
|
||||
|
||||
- run: composer install
|
||||
|
||||
- name: "Run tests"
|
||||
run: vendor/bin/phpstan
|
||||
|
||||
Reference in New Issue
Block a user