Skip to content

Commit 3e08bad

Browse files
committed
Merge branch 'stable' into develop
2 parents df4797f + 509bf37 commit 3e08bad

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,17 @@ jobs:
3131
# - PHP 8.0 needs PHPCS 3.5.7+ to run without errors.
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.
34+
# - PHP 8.3 needs PHPCS 3.8.0+ to run without errors (though the errors don't affect this package).
3435
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2']
3536
phpcs_version: ['3.1.0', 'dev-master']
3637

3738
include:
3839
# Complete the matrix, while preventing issues with PHPCS versions incompatible with certain PHP versions.
40+
- php: '8.3'
41+
phpcs_version: 'dev-master'
42+
- php: '8.3'
43+
phpcs_version: '3.6.1'
44+
3945
- php: '8.2'
4046
phpcs_version: 'dev-master'
4147
- php: '8.2'
@@ -65,12 +71,12 @@ jobs:
6571
- php: '7.4'
6672
phpcs_version: '4.0.x-dev'
6773

68-
- php: '8.3' # Nightly.
74+
- php: '8.4' # Nightly.
6975
phpcs_version: 'dev-master'
7076

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

73-
continue-on-error: ${{ matrix.php == '8.3' || matrix.phpcs_version == '4.0.x-dev' }}
79+
continue-on-error: ${{ matrix.php == '8.4' || matrix.phpcs_version == '4.0.x-dev' }}
7480

7581
steps:
7682
- name: Checkout code
@@ -110,15 +116,15 @@ jobs:
110116
# Install dependencies and handle caching in one go.
111117
# @link https://github.com/marketplace/actions/install-php-dependencies-with-composer
112118
- name: Install Composer dependencies - normal
113-
if: ${{ matrix.php < 8.3 }}
119+
if: ${{ matrix.php < 8.4 }}
114120
uses: "ramsey/composer-install@v2"
115121
with:
116122
# Bust the cache at least once a month - output format: YYYY-MM.
117123
custom-cache-suffix: $(date -u "+%Y-%m")
118124

119125
# For PHP "nightly", we need to install with ignore platform reqs as not all dependencies allow installation.
120126
- name: Install Composer dependencies - with ignore platform
121-
if: ${{ matrix.php >= 8.3 }}
127+
if: ${{ matrix.php >= 8.4 }}
122128
uses: "ramsey/composer-install@v2"
123129
with:
124130
composer-options: --ignore-platform-reqs

README.md

Lines changed: 1 addition & 1 deletion
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|%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|%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)

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
],
1919
"support" : {
2020
"issues" : "https://github.com/PHPCSStandards/PHPCSDevTools/issues",
21-
"source" : "https://github.com/PHPCSStandards/PHPCSDevTools"
21+
"source" : "https://github.com/PHPCSStandards/PHPCSDevTools",
22+
"security": "https://github.com/PHPCSStandards/PHPCSDevTools/security/policy"
2223
},
2324
"require" : {
2425
"php" : ">=5.4",

0 commit comments

Comments
 (0)