Skip to content

Commit

Permalink
Remove unneeded test, run static analysis on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Mar 2, 2023
1 parent 5b2dd60 commit 2f4a532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: extcache
uses: shivammathur/cache-extensions@v1
with:
php-version: '8.0'
php-version: '8.1'
extensions: ${{ env.extensions }}
key: ${{ env.key }}

Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.1'
extensions: ${{ env.extensions }}
coverage: none

Expand Down
8 changes: 0 additions & 8 deletions tests/Extension/ExtendableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,6 @@ public function testAccessingProtectedStaticMethod()
echo ExtendableTestExampleExtendableClass::protectedMars();
}

public function testInvalidImplementValue()
{
$this->expectException(Exception::class);
$this->expectExceptionMessage('Class ExtendableTestInvalidExtendableClass contains an invalid $implement value');

$result = new ExtendableTestInvalidExtendableClass;
}

public function testSoftImplementFake()
{
$result = $this->mockClassLoader(ExtendableTestExampleExtendableSoftImplementFakeClass::class);
Expand Down

0 comments on commit 2f4a532

Please sign in to comment.