Skip to content

Commit

Permalink
Upgrade rector to 0.17 (#8071)
Browse files Browse the repository at this point in the history
* Upgrade rector to 0.17

* Actualizar TabMenuTest.php
  • Loading branch information
jordisala1991 committed Jun 3, 2023
1 parent f5d5c18 commit adbe630
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -79,7 +79,7 @@
"psalm/plugin-phpunit": "^0.18",
"psalm/plugin-symfony": "^5.0",
"psr/event-dispatcher": "^1.0",
"rector/rector": "^0.16",
"rector/rector": "^0.17",
"symfony/browser-kit": "^5.4 || ^6.2",
"symfony/css-selector": "^5.4 || ^6.2",
"symfony/filesystem": "^5.4 || ^6.2",
Expand Down
6 changes: 1 addition & 5 deletions tests/Menu/Integration/TabMenuTest.php
Expand Up @@ -26,11 +26,7 @@ final class TabMenuTest extends BaseMenuTest

public function getTranslator(): TranslatorInterface
{
if (isset($this->translator)) {
return $this->translator;
}

return parent::getTranslator();
return $this->translator ?? parent::getTranslator();
}

public function testLabelTranslationNominalCase(): void
Expand Down

0 comments on commit adbe630

Please sign in to comment.