Skip to content

Commit 8209a98

Browse files
committed
Merge branch 'stable' into develop
2 parents 15bc0dc + 2612faa commit 8209a98

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/test.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,17 @@ jobs:
3232
# - PHP 8.1 needs PHPCS 3.6.1+ to run without errors.
3333
# - PHP 8.2 needs PHPCS 3.6.1+ to run without errors.
3434
# - PHP 8.3 needs PHPCS 3.8.0+ to run without errors (though the errors don't affect this package).
35+
# - PHP 8.4 needs PHPCS 3.8.0+ to run without errors (officially 3.11.0, but 3.8.0 will work fine).
3536
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2']
3637
phpcs_version: ['3.1.0', 'dev-master']
3738

3839
include:
3940
# Complete the matrix, while preventing issues with PHPCS versions incompatible with certain PHP versions.
41+
- php: '8.4'
42+
phpcs_version: 'dev-master'
43+
- php: '8.4'
44+
phpcs_version: '3.8.0'
45+
4046
- php: '8.3'
4147
phpcs_version: 'dev-master'
4248
- php: '8.3'
@@ -71,12 +77,12 @@ jobs:
7177
- php: '7.4'
7278
phpcs_version: '4.0.x-dev'
7379

74-
- php: '8.4' # Nightly.
80+
- php: '8.5' # Nightly.
7581
phpcs_version: 'dev-master'
7682

7783
name: "Test${{ matrix.phpcs_version == 'dev-master' && ' + Lint' || '' }}: PHP ${{ matrix.php }} - PHPCS ${{ matrix.phpcs_version }}"
7884

79-
continue-on-error: ${{ matrix.php == '8.4' || matrix.phpcs_version == '4.0.x-dev' }}
85+
continue-on-error: ${{ matrix.php == '8.5' || matrix.phpcs_version == '4.0.x-dev' }}
8086

8187
steps:
8288
- name: Checkout code
@@ -121,15 +127,15 @@ jobs:
121127
# Install dependencies and handle caching in one go.
122128
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
123129
- name: Install Composer dependencies - normal
124-
if: ${{ matrix.php < 8.4 }}
130+
if: ${{ matrix.php < 8.5 }}
125131
uses: "ramsey/composer-install@v3"
126132
with:
127133
# Bust the cache at least once a month - output format: YYYY-MM.
128134
custom-cache-suffix: $(date -u "+%Y-%m")
129135

130136
# For PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow installation.
131137
- name: Install Composer dependencies - with ignore platform
132-
if: ${{ matrix.php >= 8.4 }}
138+
if: ${{ matrix.php >= 8.5 }}
133139
uses: "ramsey/composer-install@v3"
134140
with:
135141
composer-options: --ignore-platform-reqs

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PHPCSDevTools for developers of PHP_CodeSniffer sniffs
1313
[![Minimum PHP Version](https://img.shields.io/packagist/php-v/phpcsstandards/phpcsdevtools.svg?maxAge=3600)](https://packagist.org/packages/phpcsstandards/phpcsdevtools)
1414
[![Build Status CS](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/cs.yml/badge.svg)](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/cs.yml)
1515
[![Build Status Test](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/test.yml/badge.svg)](https://github.com/PHPCSStandards/PHPCSDevTools/actions/workflows/test.yml)
16-
[![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|%20nightly-brightgreen.svg?maxAge=2419200)](https://github.com/PHPCSStandards/PHPCSDevTools/actions?query=workflow%3ATest)
16+
[![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)
1717

1818
[![License: LGPLv3](https://poser.pugx.org/phpcsstandards/phpcsdevtools/license)](https://github.com/PHPCSStandards/PHPCSDevTools/blob/stable/LICENSE)
1919
![Awesome](https://img.shields.io/badge/awesome%3F-yes!-brightgreen.svg)

0 commit comments

Comments
 (0)