Skip to content

Commit

Permalink
DevKit updates for 3.x branch (#749)
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent Langlet <vincentlanglet@hotmail.fr>
  • Loading branch information
SonataCI and VincentLanglet committed Apr 3, 2024
1 parent dc90733 commit f43a126
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Expand Up @@ -45,7 +45,7 @@
'no_useless_return' => true,
'no_superfluous_elseif' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true],
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true],
'nullable_type_declaration_for_default_null_value' => true,
'ordered_class_elements' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']],
'phpdoc_order' => ['order' => ['var', 'param', 'throws', 'return', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return']],
Expand Down
4 changes: 2 additions & 2 deletions tests/Twig/Extension/SeoExtensionTest.php
Expand Up @@ -134,8 +134,8 @@ public function testLangAlternates(): void
{
$page = $this->createMock(SeoPageInterface::class);
$page->expects(static::once())->method('getLangAlternates')->willReturn([
'http://example.com/' => 'x-default',
]);
'http://example.com/' => 'x-default',
]);

$extension = new SeoExtension($page, 'UTF-8');

Expand Down

0 comments on commit f43a126

Please sign in to comment.