Skip to content

Commit 9d5cd18

Browse files
authored
Merge pull request #2 from 123inkt/Housik-feature/add-php-7-4-compatibility
Housik feature/add php 7 4 compatibility
2 parents 5d8fa77 + bfe55ad commit 9d5cd18

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
php-versions: ['8.0', '8.1']
15+
php-versions: ['7.4', '8.0', '8.1']
1616
composer-flags: ['', '--prefer-lowest']
1717
steps:
1818
- uses: actions/checkout@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.0-8892BF)](https://php.net/)
1+
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.4-8892BA)](https://php.net/)
22
![Run tests](https://github.com/123inkt/php-codesniffer-baseline/workflows/Run%20checks/badge.svg)
33

44
# PHP_Codesniffer baseline

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
}
1313
},
1414
"require": {
15-
"php": ">=8.0",
15+
"php": ">=7.4",
1616
"composer-plugin-api": "^1.0 || ^2.0",
17-
"squizlabs/php_codesniffer": "^3.6"
17+
"squizlabs/php_codesniffer": "^3.6",
18+
"symfony/polyfill-php80": "^1.15"
1819
},
1920
"require-dev": {
2021
"composer/composer": "^2.0",

0 commit comments

Comments
 (0)