Skip to content

Commit 2e2ef2d

Browse files
authored
Merge pull request #206 from PHPCSStandards/feature/ghactions-update-for-php-8.5-release
GH Actions: update for the release of PHP 8.5
2 parents b05b51e + ba3d032 commit 2e2ef2d

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222

2323
strategy:
2424
matrix:
25-
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', '8.5']
25+
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', '8.5', '8.6']
2626

2727
name: "Test + Lint: PHP ${{ matrix.php }}"
2828

29-
continue-on-error: ${{ matrix.php == '8.5' }}
29+
continue-on-error: ${{ matrix.php == '8.6' }}
3030

3131
steps:
3232
- name: Checkout code
@@ -55,7 +55,7 @@ jobs:
5555
- name: Install Composer dependencies
5656
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
5757
with:
58-
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
58+
composer-options: ${{ matrix.php == '8.6' && '--ignore-platform-req=php+' || '' }}
5959
# Bust the cache at least once a month - output format: YYYY-MM.
6060
custom-cache-suffix: $(date -u "+%Y-%m")
6161

@@ -110,9 +110,10 @@ jobs:
110110
# - PHP 8.2 needs PHPCS 3.6.1+ to run without errors.
111111
# - PHP 8.3 needs PHPCS 3.8.0+ to run without errors (though the errors don't affect this package).
112112
# - PHP 8.4 needs PHPCS 3.8.0+ to run without errors (officially 3.11.0, but 3.8.0 will work fine).
113+
# - PHP 8.5 needs PHPCS 3.13.4+ to run without errors.
113114
#
114115
# Additionally, PHPCS 4.x has a minimum version requirement of PHP 7.2.
115-
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', '8.5']
116+
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', '8.5', '8.6']
116117
phpcs_version: ['3.x-dev', '4.0.0', '4.x-dev']
117118

118119
exclude:
@@ -170,7 +171,7 @@ jobs:
170171

171172
name: "Test: PHP ${{ matrix.php }} - PHPCS ${{ matrix.phpcs_version }}"
172173

173-
continue-on-error: ${{ matrix.php == '8.5' }}
174+
continue-on-error: ${{ matrix.php == '8.6' }}
174175

175176
steps:
176177
- name: Checkout code
@@ -206,7 +207,7 @@ jobs:
206207
- name: Install Composer dependencies
207208
uses: "ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520" # 3.1.1
208209
with:
209-
composer-options: ${{ matrix.php == '8.5' && '--ignore-platform-req=php+' || '' }}
210+
composer-options: ${{ matrix.php == '8.6' && '--ignore-platform-req=php+' || '' }}
210211
# Bust the cache at least once a month - output format: YYYY-MM.
211212
custom-cache-suffix: $(date -u "+%Y-%m")
212213

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[![Minimum PHP Version](https://img.shields.io/packagist/dependency-v/phpcsstandards/phpcsdevtools/php.svg)][phpcsdevtools-packagist]
1313
[![Build Status CS](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/cs.yml/badge.svg)][gha-qa-results]
1414
[![Build Status Test](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/test.yml/badge.svg)][gha-test-results]
15-
[![Tested on PHP 5.4 to nightly](https://img.shields.io/badge/tested%20on-PHP%205.4%20|%205.5%20|%205.6%20|%207.0%20|%207.1%20|%207.2%20|%207.3%20|%207.4%20|%208.0%20|%208.1%20|%208.2%20|%208.3%20|%208.4%20|%20nightly-brightgreen.svg?maxAge=2419200)](https://github.com/PHPCSStandards/PHPCSDevTools/actions?query=workflow%3ATest)
15+
[![Tested on PHP 5.4 to nightly](https://img.shields.io/badge/tested%20on-PHP%205.4%20|%205.5%20|%205.6%20|%207.0%20|%207.1%20|%207.2%20|%207.3%20|%207.4%20|%208.0%20|%208.1%20|%208.2%20|%208.3%20|%208.4%20|%208.5%20|%20nightly-brightgreen.svg?maxAge=2419200)](https://github.com/PHPCSStandards/PHPCSDevTools/actions?query=workflow%3ATest)
1616

1717
[![License: LGPLv3](https://img.shields.io/github/license/PHPCSStandards/PHPCSDevTools)][phpcsdevtools-license]
1818
![Awesome](https://img.shields.io/badge/awesome%3F-yes!-brightgreen.svg)

0 commit comments

Comments
 (0)