File tree Expand file tree Collapse file tree 4 files changed +1211
-0
lines changed Expand file tree Collapse file tree 4 files changed +1211
-0
lines changed Original file line number Diff line number Diff line change 3333 - name : Run code style check
3434 run : composer run-script check-cs -- --format=checkstyle | cs2pr
3535
36+ phpstan :
37+ name : Run PHPStan analysis
38+ runs-on : " ubuntu-24.04"
39+ strategy :
40+ matrix :
41+ php :
42+ - ' 8.3'
43+ steps :
44+ - uses : actions/checkout@v4
45+
46+ - name : Setup PHP Action
47+ uses : shivammathur/setup-php@v2
48+ with :
49+ php-version : ${{ matrix.php }}
50+ coverage : none
51+ extensions : ' pdo_sqlite, gd'
52+ tools : cs2pr
53+
54+ - uses : " ramsey/composer-install@v3"
55+ with :
56+ dependency-versions : " highest"
57+
58+ - name : Run PHPStan analysis
59+ run : composer run-script phpstan
60+
3661 rector :
3762 name : Run rector
3863 runs-on : " ubuntu-22.04"
Original file line number Diff line number Diff line change 3636 "ibexa/rector" : " ~5.0.x-dev" ,
3737 "matthiasnoback/symfony-dependency-injection-test" : " ^5.0" ,
3838 "phpspec/phpspec" : " ^7.1" ,
39+ "phpstan/phpstan" : " ^2.0" ,
40+ "phpstan/phpstan-phpunit" : " ^2.0" ,
41+ "phpstan/phpstan-symfony" : " ^2.0" ,
3942 "phpunit/phpunit" : " ^9.6" ,
4043 "symfony/phpunit-bridge" : " ^7.2"
4144 },
5760 "unit" : " phpunit -c phpunit.xml" ,
5861 "spec" : " phpspec run --format=pretty" ,
5962 "check-cs" : " @fix-cs --dry-run" ,
63+ "phpstan" : " phpstan analyse" ,
6064 "test" : [
6165 " @unit" ,
6266 " @spec"
You can’t perform that action at this time.
0 commit comments