File tree Expand file tree Collapse file tree 4 files changed +29
-24
lines changed
Expand file tree Collapse file tree 4 files changed +29
-24
lines changed Original file line number Diff line number Diff line change 1- /tests
2- /.dependabot
3- /.deploy
4- /.github
5- /.editorconfig
6- /.gitattributes
7- /.gitignore
8- /.travis.yml
9- /build.property
10- /build.xml
11- /deploy-key.enc
12- /phpcs.xml.dist
13- /phpunit.travis.xml
14- /phpunit.xml.dist
1+ /tests export-ignore
2+ /.dependabot export-ignore
3+ /.deploy export-ignore
4+ /.github export-ignore
5+ /.editorconfig export-ignore
6+ /.gitattributes export-ignore
7+ /.gitignore export-ignore
8+ /.travis.yml export-ignore
9+ /build.property export-ignore
10+ /build.xml export-ignore
11+ /deploy-key.enc export-ignore
12+ /phpcs.xml.dist export-ignore
13+ /phpunit.travis.xml export-ignore
14+ /phpunit.xml.dist export-ignore
15+ /phpstan * export-ignore
Original file line number Diff line number Diff line change @@ -17,14 +17,12 @@ jobs:
1717 - name : check
1818 run : ./vendor/bin/phpcs
1919 test :
20- needs : check
21- runs-on : ubuntu-latest # ${{ matrix.operating-system }}
22- continue-on-error : ${{ matrix.experimental }}
20+ runs-on : ubuntu-latest
21+ continue-on-error : false
2322 strategy :
2423 matrix :
25- # operating-system: [ubuntu-latest, windows-latest, macos-latest]
2624 php-versions : [ '8.2', '8.3', '8.4' ]
27- name : PHP ${{ matrix.php-versions }} # Test on ${{ matrix.operating-system }}
25+ name : PHP ${{ matrix.php-versions }}
2826 steps :
2927 - name : Checkout
3028 uses : actions/checkout@v5
@@ -50,13 +48,11 @@ jobs:
5048 uses : shivammathur/setup-php@v2
5149 with :
5250 php-version : " 8.4"
53- tools : phive
54- - name : Download psalm
55- run : phive --no-progress install --trust-gpg-keys 8A03EA3B385DBAA1 psalm
51+ tools : phpstan
5652 - name : install
5753 run : composer update --no-dev
5854 - name : analyze
59- run : ./tools/psalm
55+ run : phpstan
6056 coverage :
6157 needs : test
6258 if : github.event_name == 'push' && github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change 1+ parameters :
2+ level : 10
3+ paths :
4+ - src/
5+
6+
7+ includes :
8+ - phpstan-baseline.neon
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class NotificationList extends \ArrayObject
3737 * @throws \Exception
3838 * @return void
3939 */
40- public function append ($ item )
40+ public function append (mixed $ item ): void
4141 {
4242 throw new \Exception (sprintf (
4343 'Use %s::add() instead ' ,
You can’t perform that action at this time.
0 commit comments