File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+
6+ permissions :
7+ contents : read
8+
9+ env :
10+ PHP_VERSION : ' 8.3'
11+ COMPOSER_ROOT_VERSION : ' 1.2.0'
12+
13+ jobs :
14+ auto-review :
15+ name : Auto review
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v6
21+
22+ - name : Configure PHP
23+ uses : shivammathur/setup-php@v2
24+ with :
25+ php-version : ${{ env.PHP_VERSION }}
26+
27+ - name : Install dependencies
28+ run : composer update --no-progress --optimize-autoloader
29+
30+ - name : Run review
31+ run : composer review
32+
33+ tests :
34+ name : Tests
35+ runs-on : ubuntu-latest
36+
37+ steps :
38+ - name : Checkout
39+ uses : actions/checkout@v6
40+
41+ - name : Use PHP ${{ env.PHP_VERSION }}
42+ uses : shivammathur/setup-php@v2
43+ with :
44+ php-version : ${{ env.PHP_VERSION }}
45+
46+ - name : Install dependencies
47+ run : composer update --no-progress --optimize-autoloader
48+
49+ - name : Run tests
50+ run : composer tests
Original file line number Diff line number Diff line change 4646 },
4747 "require-dev" : {
4848 "phpmd/phpmd" : " ^2.15" ,
49- "phpstan/phpstan " : " ^1.12 " ,
50- "phpunit/phpunit " : " ^11.5 " ,
49+ "phpunit/phpunit " : " ^12.1 " ,
50+ "phpstan/phpstan " : " ^2.1 " ,
5151 "infection/infection" : " ^0.32" ,
52+ "tiny-blocks/collection" : " ^1.10" ,
5253 "squizlabs/php_codesniffer" : " ^3.11"
5354 },
5455 "scripts" : {
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ parameters:
77 - '#method#'
88 - '#expects#'
99 - '#should return#'
10+ - '#is used zero times#'
1011 - '#type mixed supplied#'
1112 - '#not specify its types#'
1213 - '#no value type specified#'
You can’t perform that action at this time.
0 commit comments