Skip to content

Commit 210da75

Browse files
authored
feat: no longer supports PHP 7.4 (#29)
1 parent b49461d commit 210da75

File tree

4 files changed

+3
-47
lines changed

4 files changed

+3
-47
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-20.04
88
strategy:
99
matrix:
10-
php-version: [ '7.4', '8.0', '8.1' ]
10+
php-version: [ '8.0', '8.1', '8.2', '8.3' ]
1111
steps:
1212
- uses: actions/checkout@master
1313
- uses: shivammathur/setup-php@v2

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^7.4 || ^8.0",
15+
"php": "^8.0",
1616
"friendsofphp/php-cs-fixer": "^3.57"
1717
},
1818
"autoload": {

src/BedrockStreaming.php

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function getRules(): array
4242
'phpdoc_summary' => false,
4343
'single_line_throw' => false,
4444
'yoda_style' => false,
45+
'trailing_comma_in_multiline' => ['elements' => ['arguments', 'arrays', 'match', 'parameters']],
4546
];
4647

4748
return $rules;

src/Php74.php

-45
This file was deleted.

0 commit comments

Comments
 (0)