File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ trim_trailing_whitespace = true
1212
1313[* .md ]
1414trim_trailing_whitespace = false
15+
16+ [* .yml ]
17+ indent_size = 2
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ name: build
77jobs :
88 tests :
99 name : PHP ${{ matrix.php }}-${{ matrix.os }}
10+
1011 env :
1112 extensions : fileinfo, pdo, pdo_sqlite
1213 key : cache-v1
2021 - windows-latest
2122
2223 php :
23- - " 7.4"
2424 - " 8.0"
2525
2626 steps :
@@ -52,13 +52,11 @@ jobs:
5252 restore-keys : |
5353 php${{ matrix.php }}-composer-
5454
55- - name : Install dependencies with composer php 7.4
56- if : matrix.php == '7.4'
57- run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
55+ - name : Update composer
56+ run : composer self-update
5857
59- - name : Install dependencies with composer php 8.0
60- if : matrix.php == '8.0'
61- run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ignore-platform-reqs --ansi
58+ - name : Install dependencies with composer
59+ run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
6260
6361 - name : Run tests with codeception
6462 run : |
Original file line number Diff line number Diff line change 1616 - ubuntu-latest
1717
1818 php :
19- - " 7.4 "
19+ - " 8.0 "
2020
2121 steps :
2222 - name : Checkout
4040 restore-keys : |
4141 php${{ matrix.php }}-composer-
4242
43+ - name : Update composer
44+ run : composer self-update
45+
4346 - name : Install dependencies with composer
44- run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader
47+ run : composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4548
4649 - name : Static analysis
4750 run : vendor/bin/psalm --shepherd --stats --output-format=checkstyle | cs2pr --graceful-warnings --colorize
Original file line number Diff line number Diff line change 11checks :
2- php : true
2+ php : true
33
44filter :
5- paths :
6- - " src/*"
7- excluded_paths :
8- - " src/ApplicationRunner.php"
5+ paths :
6+ - " src/*"
7+ excluded_paths :
8+ - " src/ApplicationRunner.php"
99
1010build :
11- nodes :
12- analysis :
13- environment :
14- php : 7.4.12
11+ nodes :
12+ analysis :
13+ environment :
14+ php : 8.0.6
1515
16- tests :
17- override :
18- - php-scrutinizer-run
16+ tests :
17+ override :
18+ - php-scrutinizer-run
1919
20- tests-and-coverage :
21- environment :
22- php : 7.4.12
20+ tests-and-coverage :
21+ environment :
22+ php :
23+ version : 8.0.6
24+ ini :
25+ xdebug.mode : coverage
2326
24- dependencies :
25- override :
26- - composer self-update
27- - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
27+ dependencies :
28+ override :
29+ - composer self-update
30+ - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
2831
29- tests :
30- override :
31- -
32- command : php -S 127.0.0.1:8080 -t public public/index-test.php > ./runtime/yii.log 2>&1 & vendor/bin/codecept run acceptance --coverage-xml --env github-ci
33- on_node : 1
34- coverage :
35- file : tests/_output/coverage.xml
36- format : php-clover
32+ tests :
33+ override :
34+ - command : php -S 127.0.0.1:8080 -t public public/index-test.php > ./runtime/yii.log 2>&1 & vendor/bin/codecept run acceptance --coverage-xml --env github-ci
35+ on_node : 1
36+ coverage :
37+ file : tests/_output/coverage.xml
38+ format : php-clover
Original file line number Diff line number Diff line change 2020 "minimum-stability" : " dev" ,
2121 "prefer-stable" : true ,
2222 "require" : {
23- "php" : " ^7.4|^ 8.0" ,
23+ "php" : " ^8.0" ,
2424 "cebe/markdown" : " ^1.2@dev" ,
2525 "cycle/orm" : " ^1.2" ,
2626 "cycle/proxy-factory" : " ^1.2" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ version: '3'
33services :
44 php :
55 container_name : yii-php
6- image : yiisoftware/yii-php:7.4 -fpm
6+ image : yiisoftware/yii-php:8.0 -fpm
77 working_dir : /app
88 volumes :
99 - ./:/app
You can’t perform that action at this time.
0 commit comments