File tree Expand file tree Collapse file tree 10 files changed +12
-86
lines changed
Expand file tree Collapse file tree 10 files changed +12
-86
lines changed Original file line number Diff line number Diff line change 99/phpstan-baseline.neon export-ignore
1010/phpstan.neon.dist export-ignore
1111/phpunit.xml.dist export-ignore
12- /psalm-baseline.xml export-ignore
13- /psalm.xml export-ignore
1412/README.md export-ignore
1513/vendor-bin export-ignore
Original file line number Diff line number Diff line change 22
33Contributions are ** welcome** and will be fully ** credited** .
44
5- We accept contributions via pull requests on Github . Please review these guidelines before continuing.
5+ We accept contributions via pull requests on GitHub . Please review these guidelines before continuing.
66
77## Guidelines
88
Original file line number Diff line number Diff line change 33## Supported Versions
44
55After each new major release, the previous release will be supported for no
6- less than 2 years, unless explictly stated otherwise. This may mean that there
6+ less than 2 years, unless explicitly stated otherwise. This may mean that there
77are multiple supported versions at any given time.
88
99## Reporting a Vulnerability
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111
1212 steps :
1313 - name : Checkout code
14- uses : actions/checkout@v5
14+ uses : actions/checkout@v6
1515
1616 - name : Setup PHP
1717 uses : shivammathur/setup-php@v2
1818 with :
19- php-version : ' 8.4 '
19+ php-version : ' 8.5 '
2020 tools : composer:v2
2121 coverage : none
2222 env :
3838
3939 - name : Execute PHPStan
4040 run : vendor/bin/phpstan analyze --no-progress
41-
42- psalm :
43- name : Psalm
44- runs-on : ubuntu-24.04
45-
46- steps :
47- - name : Checkout code
48- uses : actions/checkout@v5
49-
50- - name : Setup PHP
51- uses : shivammathur/setup-php@v2
52- with :
53- php-version : ' 8.4'
54- tools : composer:v2
55- coverage : none
56- env :
57- update : true
58-
59- - name : Install Dependencies
60- uses : nick-invision/retry@v3
61- with :
62- timeout_minutes : 5
63- max_attempts : 5
64- command : composer update --no-interaction --no-progress
65-
66- - name : Install Psalm
67- uses : nick-invision/retry@v3
68- with :
69- timeout_minutes : 5
70- max_attempts : 5
71- command : composer bin psalm update --no-interaction --no-progress
72-
73- - name : Execute Psalm
74- run : vendor/bin/psalm.phar --no-progress --output-format=github
Original file line number Diff line number Diff line change 1515
1616 steps :
1717 - name : Checkout Code
18- uses : actions/checkout@v5
18+ uses : actions/checkout@v6
1919
2020 - name : Setup PHP
2121 uses : shivammathur/setup-php@v2
Original file line number Diff line number Diff line change 11install :
2- @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.4 -base update
3- @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.4 -base bin all update
2+ @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.5 -base update
3+ @docker run -it -w /data -v ${PWD} :/data:delegated -v ~ /.composer:/root/.composer:delegated --entrypoint composer --rm registry.gitlab.com/grahamcampbell/php:8.5 -base bin all update
44
55phpunit :
6- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.4 -cli
6+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpunit --rm registry.gitlab.com/grahamcampbell/php:8.5 -cli
77
88phpstan-analyze :
9- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.4 -cli analyze
9+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.5 -cli analyze
1010
1111phpstan-baseline :
12- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.4 -cli analyze --generate-baseline
12+ @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/phpstan --rm registry.gitlab.com/grahamcampbell/php:8.5 -cli analyze --generate-baseline
1313
14- psalm-analyze :
15- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.4-cli
16-
17- psalm-baseline :
18- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.4-cli --set-baseline=psalm-baseline.xml
19-
20- psalm-show-info :
21- @docker run -it -w /data -v ${PWD} :/data:delegated --entrypoint vendor/bin/psalm.phar --rm registry.gitlab.com/grahamcampbell/php:8.4-cli --show-info=true
22-
23- test : phpunit phpstan-analyze psalm-analyze
14+ test : phpunit phpstan-analyze
2415
2516clean :
2617 @rm -rf .phpunit.result.cache composer.lock vendor vendor-bin/* /composer.lock vendor-bin/* /vendor
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "require" : {
3- "phpstan/phpstan" : " 2.1.22 "
3+ "phpstan/phpstan" : " 2.1.33 "
44 },
55 "config" : {
66 "preferred-install" : " dist"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments