Skip to content

Commit dd9d689

Browse files
committed
Fix CS
1 parent 39675ae commit dd9d689

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Exception/EntityNotFound.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class EntityNotFound extends RuntimeException implements SonataAutoConfigu
2222
*/
2323
public function __construct(string $name, array $namespaces)
2424
{
25-
parent::__construct(sprintf(
25+
parent::__construct(\sprintf(
2626
'Entity "%s" not found, looked in "%s" namespaces.',
2727
$name,
2828
implode(', ', array_column($namespaces, 'namespace'))

tests/DependencyInjection/Compiler/AutoConfigureAdminClassesCompilerPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function testProcess(
100100
/**
101101
* @return mixed[]
102102
*/
103-
public function provideProcessCases(): iterable
103+
public static function provideProcessCases(): iterable
104104
{
105105
yield [
106106
CategoryAdmin::class,

tests/DependencyInjection/Compiler/AutoConfigureExtensionsCompilerPassTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function testProcess(string $extensionServiceId, array $expectedTags = []
6666
/**
6767
* @return mixed[]
6868
*/
69-
public function provideProcessCases(): iterable
69+
public static function provideProcessCases(): iterable
7070
{
7171
yield [ExtensionWithoutOptions::class];
7272

0 commit comments

Comments
 (0)