Skip to content

Commit

Permalink
cs(composer): bump version of coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
rela589n committed Dec 10, 2023
1 parent e8e1ccc commit 2cdb36b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions Tests/ClearCachePoolsExtensionTest.php
Expand Up @@ -69,7 +69,8 @@ public function testClearsCacheForKernelTestCases(): void
->willReturnMap([
['first', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $firstPool],
['second', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $secondPool],
]);
])
;

$this->extension->executeBeforeTest(implode('::', [ClearableKernelTestCaseStub::class, 'testTrue']));
}
Expand All @@ -80,7 +81,8 @@ public function testThrowsExceptionWhenServiceIsNotCachePool(): void

$this->container
->method('get')
->willReturnMap([['web', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $cachePool]]);
->willReturnMap([['web', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $cachePool]])
;

$this->expectException(UnexpectedValueException::class);
$this->expectExceptionMessage('Expected the service "web" to be instance of Psr\Cache\CacheItemPoolInterface');
Expand All @@ -95,7 +97,8 @@ public function testClearsWebTestCase(): void

$this->container
->method('get')
->willReturnMap([['web', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $cachePool]]);
->willReturnMap([['web', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $cachePool]])
;

$this->extension->executeBeforeTest(implode('::', [ClearableWebTestCaseStub::class, 'testTrue']));
self::assertFalse(KernelTestCaseStub::isKernelBooted());
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -27,7 +27,7 @@
"vimeo/psalm": "^5.15",
"psalm/plugin-phpunit": "^0.18.4",
"symplify/easy-coding-standard": "^12.0",
"phphd/coding-standard": "0.3.*",
"phphd/coding-standard": "0.4.*",
"phpstan/phpstan-phpunit": "^1.3"
},
"repositories": [
Expand Down

0 comments on commit 2cdb36b

Please sign in to comment.