77jobs :
88 tests_coverage :
99 runs-on : " ubuntu-latest"
10- name : " PHP 7.1 Unit Tests (with coverage)"
10+ name : " PHP 7.4 Unit Tests (with coverage)"
1111 steps :
1212 - name : " Checkout"
13- uses : " actions/checkout@v2 "
13+ uses : " actions/checkout@v4 "
1414 - name : " Install PHP"
1515 uses : " shivammathur/setup-php@v2"
1616 with :
1717 coverage : " xdebug"
18- php-version : " 7.1 "
18+ php-version : " 7.4 "
1919 tools : composer:v2
2020 - name : " Install dependencies"
2121 run : |
2222 composer require php-coveralls/php-coveralls:^2.2 --dev --no-update
23- composer update --no-progress --prefer-dist
23+ COMPOSER_ROOT_VERSION=dev-master composer update --no-progress --prefer-dist
2424 - name : " Tests"
2525 run : " php vendor/bin/phpunit --coverage-clover build/logs/clover.xml"
2626 - name : Coveralls
@@ -34,75 +34,91 @@ jobs:
3434 strategy :
3535 matrix :
3636 php-version :
37- - " 7.2"
38- - " 7.3"
39- - " 7.4"
4037 - " 8.0"
4138 - " 8.1"
4239 - " 8.2"
40+ - " 8.3"
41+ - " 8.4"
42+ fail-fast : false
4343 steps :
4444 - name : " Checkout"
45- uses : " actions/checkout@v2 "
45+ uses : " actions/checkout@v4 "
4646 - name : " Install PHP"
4747 uses : " shivammathur/setup-php@v2"
4848 with :
4949 coverage : " none"
5050 php-version : " ${{ matrix.php-version }}"
51+ ini-file : " development"
5152 tools : composer:v2
5253 - name : " Install dependencies"
53- run : " composer update --no-progress --prefer-dist ${{ matrix.flags }}"
54+ run : " COMPOSER_ROOT_VERSION=dev-master composer update --no-progress --prefer-dist ${{ matrix.flags }}"
5455 - name : " PHPUnit"
5556 run : " php vendor/bin/phpunit"
5657 test_old_73_80 :
5758 runs-on : " ubuntu-latest"
58- name : " PHP 7.3 Code on PHP 8.0 Integration Tests"
59+ name : " PHP 7.4 Code on PHP 8.4 Integration Tests"
5960 steps :
6061 - name : " Checkout"
61- uses : " actions/checkout@v2 "
62+ uses : " actions/checkout@v4 "
6263 - name : " Install PHP"
6364 uses : " shivammathur/setup-php@v2"
6465 with :
6566 coverage : " none"
66- php-version : " 8.0"
67+ php-version : " 8.4"
68+ ini-file : " development"
6769 tools : composer:v2
6870 - name : " Install PHP 8 dependencies"
69- run : " composer update --no-progress --prefer-dist"
71+ run : " COMPOSER_ROOT_VERSION=dev-master composer update --no-progress --prefer-dist"
7072 - name : " Tests"
71- run : " test_old/run-php-src.sh 7.3.21 "
73+ run : " test_old/run-php-src.sh 7.4.33 "
7274 test_old_80_70 :
7375 runs-on : " ubuntu-latest"
74- name : " PHP 8.1 Code on PHP 7.1 Integration Tests"
76+ name : " PHP 8.4 Code on PHP 7.4 Integration Tests"
7577 steps :
7678 - name : " Checkout"
77- uses : " actions/checkout@v2 "
79+ uses : " actions/checkout@v4 "
7880 - name : " Install PHP"
7981 uses : " shivammathur/setup-php@v2"
8082 with :
8183 coverage : " none"
82- php-version : " 7.1"
84+ php-version : " 7.4"
85+ ini-file : " development"
8386 tools : composer:v2
8487 - name : " Install PHP 8 dependencies"
85- run : " composer update --no-progress --prefer-dist"
88+ run : " COMPOSER_ROOT_VERSION=dev-master composer update --no-progress --prefer-dist"
8689 - name : " Tests"
87- run : " test_old/run-php-src.sh 8.1.6 "
90+ run : " test_old/run-php-src.sh 8.4.0beta5 "
8891 phpstan :
8992 runs-on : " ubuntu-latest"
90- name : " PHP ${{ matrix.php-version }} PHPStan"
91- strategy :
92- matrix :
93- php-version :
94- - " 8.2"
93+ name : " PHPStan"
9594 steps :
9695 - name : " Checkout"
97- uses : " actions/checkout@v2 "
96+ uses : " actions/checkout@v4 "
9897 - name : " Install PHP"
9998 uses : " shivammathur/setup-php@v2"
10099 with :
101100 coverage : " none"
102- php-version : " ${{ matrix.php-version }} "
101+ php-version : " 8.3 "
103102 tools : composer:v2
104103 - name : " Install dependencies"
105- run : |
104+ run : |
106105 cd tools && composer install
107106 - name : " PHPStan"
108107 run : " php tools/vendor/bin/phpstan"
108+ php-cs-fixer :
109+ runs-on : " ubuntu-latest"
110+ name : " PHP-CS-Fixer"
111+ steps :
112+ - name : " Checkout"
113+ uses : " actions/checkout@v4"
114+ - name : " Install PHP"
115+ uses : " shivammathur/setup-php@v2"
116+ with :
117+ coverage : " none"
118+ php-version : " 8.3"
119+ tools : composer:v2
120+ - name : " Install dependencies"
121+ run : |
122+ cd tools && composer install
123+ - name : " php-cs-fixer"
124+ run : " php tools/vendor/bin/php-cs-fixer fix --dry-run"
0 commit comments