44 # Run on pushes to `master`/`4.x` and on all pull requests.
55 # Prevent the build from running when there are only irrelevant changes.
66 push :
7- branches :
8- - master
9- - 4.x
10- tags :
11- - ' **'
12- paths-ignore :
13- - ' **.md'
147 pull_request :
158 # Allow manually triggering the workflow.
169 workflow_dispatch :
@@ -54,21 +47,10 @@ jobs:
5447 # code conditions.
5548 matrix :
5649 os : ['ubuntu-latest', 'windows-latest']
57- php : ['7.2', '7.3', '7.4', '8.0', '8.1', ' 8.2', '8.3', '8.4', '8.5']
50+ php : ['8.2', '8.3', '8.4', '8.5']
5851 custom_ini : [false]
5952
6053 include :
61- # Skip test runs on builds which are also run in the coverage job.
62- - php : ' 7.2'
63- skip_tests : true
64- - php : ' 8.4'
65- skip_tests : true
66-
67- # Run a couple of builds with custom extensions to allow for testing ini handling within PHPCS.
68- # Ref: https://github.com/PHPCSStandards/PHP_CodeSniffer/issues/416
69- - php : ' 7.3'
70- os : ' ubuntu-latest'
71- extensions : ' :mysqli' # Run with mysqli disabled.
7254 - php : ' 8.2'
7355 os : ' ubuntu-latest'
7456 extensions : ' :mysqli' # Run with mysqli disabled.
@@ -77,23 +59,14 @@ jobs:
7759 # To safeguard support for the latest libxml we need to update the library on the fly.
7860 # This only needs to be tested with one PHP version for each libxml minor to verify support.
7961 # Testing against multiple PHP versions would not yield a difference in results.
80- - php : ' 8.0'
81- os : ' ubuntu-latest'
82- libxml_minor : ' 2.11'
8362 - php : ' 8.3'
8463 os : ' ubuntu-latest'
8564 libxml_minor : ' 2.13'
8665
8766 # Extra builds running only the unit tests with different PHP ini settings.
88- - php : ' 7.4'
89- os : ' ubuntu-latest'
90- custom_ini : true
9167 - php : ' 8.3'
9268 os : ' ubuntu-latest'
9369 custom_ini : true
94- - php : ' 8.0'
95- os : ' ubuntu-latest'
96- custom_ini : true
9770 - php : ' 8.2'
9871 os : ' ubuntu-latest'
9972 custom_ini : true
@@ -284,7 +257,7 @@ jobs:
284257 # - So, aside from PHP 7.2, we can only run code coverage on the last PHP version (or higher)
285258 # which added a new token, which is polyfilled by both.
286259 # At the time of writing, this means PHP 8.4 or higher.
287- php : ['7.2', ' 8.4']
260+ php : ['8.4']
288261 custom_ini : [false]
289262
290263 include :
0 commit comments