|
28 | 28 |
|
29 | 29 | strategy: |
30 | 30 | matrix: |
31 | | - php: ['5.4', 'latest', '8.5'] |
| 31 | + php: ['7.4', 'latest', '8.5'] |
32 | 32 |
|
33 | 33 | name: "Lint: PHP ${{ matrix.php }}" |
34 | 34 | continue-on-error: ${{ matrix.php == '8.5' }} |
@@ -64,20 +64,13 @@ jobs: |
64 | 64 | # - php: The PHP versions to test against. |
65 | 65 | # - dependencies: The PHPCS dependencies versions to test against. |
66 | 66 | # IMPORTANT: test runs shouldn't fail because of PHPCS being incompatible with a PHP version. |
67 | | - # - PHPCS will run without errors on PHP 5.4 - 7.4 on any supported version. |
68 | | - # - PHP 8.0 needs PHPCS 3.5.7+ to run without errors, and we require a higher minimum version. |
69 | | - # - PHP 8.1 needs PHPCS 3.6.1+ to run without errors, but works best with 3.7.1+, and we require at least this minimum version. |
70 | 67 | # - PHP 8.2, 8.3 and 8.4 need PHPCS 3.8.0+ to run without errors (though the errors don't affect the tests). |
71 | 68 | matrix: |
72 | | - php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] |
| 69 | + php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4'] |
73 | 70 | dependencies: ['lowest', 'stable'] |
74 | 71 |
|
75 | 72 | include: |
76 | 73 | # Test against dev versions of all dependencies with select PHP versions for early detection of issues. |
77 | | - - php: '5.4' |
78 | | - dependencies: 'dev' |
79 | | - - php: '7.0' |
80 | | - dependencies: 'dev' |
81 | 74 | - php: '7.4' |
82 | 75 | dependencies: 'dev' |
83 | 76 | - php: '8.4' |
@@ -117,7 +110,7 @@ jobs: |
117 | 110 | if: ${{ matrix.dependencies == 'dev' }} |
118 | 111 | run: > |
119 | 112 | composer require --no-update --no-scripts --no-interaction |
120 | | - squizlabs/php_codesniffer:"dev-master" |
| 113 | + squizlabs/php_codesniffer:"3.x-dev" |
121 | 114 | phpcsstandards/phpcsutils:"dev-develop" |
122 | 115 | phpcsstandards/phpcsextra:"dev-develop" |
123 | 116 | sirbrillig/phpcs-variable-analysis:"2.x" |
|
0 commit comments