Skip to content

Commit

Permalink
Limit support to PHP 7.4, 8.0 and 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Jul 27, 2022
1 parent 2f46968 commit d113b26
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
unitTests:
strategy:
max-parallel: 6
max-parallel: 4
matrix:
operatingSystem: [ubuntu-latest, windows-latest]
phpVersion: ['7.2', '7.3', '7.4', '8.0']
phpVersion: ['7.4', '8.0', '8.1']
fail-fast: false
runs-on: ${{ matrix.operatingSystem }}
name: ${{ matrix.operatingSystem }} / PHP ${{ matrix.phpVersion }}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"coverage": "XDEBUG_MODE=coverage phpunit --testdox --colors=\"auto\" --coverage-html=\"coverage\""
},
"require": {
"php": "^7.2.9 || ^8.0",
"php": "^7.4.0 || ^8.0 || ^8.1",
"ext-openssl": "*",
"ext-zip": "*",
"ext-zlib": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function handle(string $detail = 'version'): void
*
* @return array<string, string>|string
*/
public function execute(): array|string
public function execute()
{
$output = $this->runComposerCommand();

Expand Down

0 comments on commit d113b26

Please sign in to comment.