File tree Expand file tree Collapse file tree 3 files changed +53
-2
lines changed
Expand file tree Collapse file tree 3 files changed +53
-2
lines changed 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+
12+ jobs :
13+ auto-review :
14+ name : Auto review
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout
19+ uses : actions/checkout@v6
20+
21+ - name : Configure PHP
22+ uses : shivammathur/setup-php@v2
23+ with :
24+ php-version : ${{ env.PHP_VERSION }}
25+
26+ - name : Install dependencies
27+ run : composer update --no-progress --optimize-autoloader
28+
29+ - name : Run review
30+ run : composer review
31+
32+ tests :
33+ name : Tests
34+ runs-on : ubuntu-latest
35+
36+ steps :
37+ - name : Checkout
38+ uses : actions/checkout@v6
39+
40+ - name : Use PHP ${{ env.PHP_VERSION }}
41+ uses : shivammathur/setup-php@v2
42+ with :
43+ php-version : ${{ env.PHP_VERSION }}
44+
45+ - name : Install dependencies
46+ run : composer update --no-progress --optimize-autoloader
47+
48+ - name : Run tests
49+ 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