Skip to content

Commit

Permalink
run tests on PHP-8.1
Browse files Browse the repository at this point in the history
some documentation code samples cover `enum` which requires PHP-8.1 for
checking
  • Loading branch information
pilif committed Dec 21, 2021
1 parent 3ed05c9 commit 05e12df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -78,7 +78,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
tools: composer:v2
coverage: none
extensions: decimal
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-ci.yml
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
tools: composer:v2
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion tests/DocumentationTest.php
Expand Up @@ -141,7 +141,7 @@ public function setUp(): void
)
);

$this->project_analyzer->setPhpVersion('8.0', 'tests');
$this->project_analyzer->setPhpVersion('8.1', 'tests');
}

public function testAllIssuesCoveredInConfigSchema(): void
Expand Down

0 comments on commit 05e12df

Please sign in to comment.