Skip to content

Commit d113b26

Browse files
committed
Limit support to PHP 7.4, 8.0 and 8.1
1 parent 2f46968 commit d113b26

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ on:
99
jobs:
1010
unitTests:
1111
strategy:
12-
max-parallel: 6
12+
max-parallel: 4
1313
matrix:
1414
operatingSystem: [ubuntu-latest, windows-latest]
15-
phpVersion: ['7.2', '7.3', '7.4', '8.0']
15+
phpVersion: ['7.4', '8.0', '8.1']
1616
fail-fast: false
1717
runs-on: ${{ matrix.operatingSystem }}
1818
name: ${{ matrix.operatingSystem }} / PHP ${{ matrix.phpVersion }}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"coverage": "XDEBUG_MODE=coverage phpunit --testdox --colors=\"auto\" --coverage-html=\"coverage\""
2323
},
2424
"require": {
25-
"php": "^7.2.9 || ^8.0",
25+
"php": "^7.4.0 || ^8.0 || ^8.1",
2626
"ext-openssl": "*",
2727
"ext-zip": "*",
2828
"ext-zlib": "*",

src/Commands/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function handle(string $detail = 'version'): void
4343
*
4444
* @return array<string, string>|string
4545
*/
46-
public function execute(): array|string
46+
public function execute()
4747
{
4848
$output = $this->runComposerCommand();
4949

0 commit comments

Comments
 (0)