Skip to content

Commit

Permalink
added php8.1 for autodetecting php version for matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-butti committed Apr 17, 2022
1 parent bc877f5 commit a7a5f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Objects/WorkflowGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ public function generate(array $data)
/**
* @return string[]
*
* @psalm-return list<'7.3'|'7.4'|'8.0'>
* @psalm-return list<'7.3'|'7.4'|'8.0'|'8.1'>
*/
public function detectPhpVersion(string $phpversion): array
{
$listPhpVersions = [ "7.3", "7.4", "8.0"];
$listPhpVersions = [ "7.3", "7.4", "8.0","8.1"];
$stepPhp = [];
foreach ($listPhpVersions as $php) {
if (Semver::satisfies($php, $phpversion)) {
Expand Down

0 comments on commit a7a5f36

Please sign in to comment.