Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 991c282

Browse files
jrfnlgrogy
authored andcommitted
Bring back support for PHP 5.3
As Parallel Lint supports PHP 5.3 again since [PR 51](php-parallel-lint/PHP-Parallel-Lint#51), it would be helpful for the Console Color repo to also support PHP 5.3. This restores the PHP 5.3 minimum version to the same as before the version drop in de0bf63
1 parent 0bd00a8 commit 991c282

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

‎.github/workflows/test.yml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
21+
php: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
2222
experimental: [false]
2323

2424
include:
@@ -40,6 +40,11 @@ jobs:
4040
coverage: none
4141
tools: cs2pr
4242

43+
# Remove PHPCS as it has a minimum PHP requirements of PHP 5.4 and would block install on PHP 5.3.
44+
- name: 'Composer: remove PHPCS'
45+
if: ${{ matrix.php < 5.4 }}
46+
run: composer remove --dev squizlabs/php_codesniffer --no-update
47+
4348
# Install dependencies and handle caching in one go.
4449
# @link https://github.com/marketplace/actions/install-composer-dependencies
4550
- name: Install Composer dependencies - normal

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"psr-4": {"PHP_Parallel_Lint\\PhpConsoleColor\\Test\\": "tests/"}
1616
},
1717
"require": {
18-
"php": ">=5.4.0"
18+
"php": ">=5.3.2"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "^4.8.36 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /