Skip to content

Commit

Permalink
Bump rector (#885)
Browse files Browse the repository at this point in the history
* Bump rector

* Fix
  • Loading branch information
VincentLanglet committed Dec 23, 2022
1 parent 87adc04 commit b9fa5d7
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -58,7 +58,7 @@
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.17",
"psalm/plugin-symfony": "^3.0",
"rector/rector": "^0.14",
"rector/rector": "^0.15",
"sonata-project/admin-bundle": "^4.9",
"sonata-project/block-bundle": "^4.11",
"sonata-project/doctrine-orm-admin-bundle": "^4.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/Admin/Filter/CategoryFilterTest.php
Expand Up @@ -26,7 +26,7 @@ final class CategoryFilterTest extends TestCase
/**
* @var Stub&CategoryManagerInterface
*/
private $categoryManager;
private CategoryManagerInterface $categoryManager;

protected function setUp(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Admin/Filter/CollectionFilterTest.php
Expand Up @@ -24,7 +24,7 @@ final class CollectionFilterTest extends TestCase
/**
* @var Stub&CollectionManagerInterface
*/
private $collectionManager;
private CollectionManagerInterface $collectionManager;

protected function setUp(): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Block/Service/AbstractCategoriesBlockServiceTest.php
Expand Up @@ -31,12 +31,12 @@ final class AbstractCategoriesBlockServiceTest extends BlockServiceTestCase
/**
* @var ContextManagerInterface&MockObject
*/
private $contextManager;
private ContextManagerInterface $contextManager;

/**
* @var CategoryManagerInterface&MockObject
*/
private $categoryManager;
private CategoryManagerInterface $categoryManager;

private CategoryAdmin $categoryAdmin;

Expand Down
4 changes: 2 additions & 2 deletions tests/Block/Service/AbstractCollectionsBlockServiceTest.php
Expand Up @@ -31,12 +31,12 @@ final class AbstractCollectionsBlockServiceTest extends BlockServiceTestCase
/**
* @var ContextManagerInterface&MockObject
*/
private $contextManager;
private ContextManagerInterface $contextManager;

/**
* @var CollectionManagerInterface&MockObject
*/
private $collectionManager;
private CollectionManagerInterface $collectionManager;

private CollectionAdmin $collectionAdmin;

Expand Down
4 changes: 2 additions & 2 deletions tests/Block/Service/AbstractTagsBlockServiceTest.php
Expand Up @@ -31,12 +31,12 @@ final class AbstractTagsBlockServiceTest extends BlockServiceTestCase
/**
* @var ContextManagerInterface&MockObject
*/
private $contextManager;
private ContextManagerInterface $contextManager;

/**
* @var TagManagerInterface&MockObject
*/
private $tagManager;
private TagManagerInterface $tagManager;

private TagAdmin $tagAdmin;

Expand Down
8 changes: 4 additions & 4 deletions tests/Controller/CategoryAdminControllerTest.php
Expand Up @@ -51,7 +51,7 @@ final class CategoryAdminControllerTest extends TestCase
/**
* @var AdminInterface<CategoryInterface>&MockObject
*/
private $admin;
private AdminInterface $admin;

private Pool $pool;

Expand All @@ -60,19 +60,19 @@ final class CategoryAdminControllerTest extends TestCase
/**
* @var CsrfTokenManagerInterface&MockObject
*/
private $csrfProvider;
private CsrfTokenManagerInterface $csrfProvider;

private CategoryAdminController $controller;

/**
* @var CategoryManagerInterface&MockObject
*/
private $categoryManager;
private CategoryManagerInterface $categoryManager;

/**
* @var ContextManagerInterface&MockObject
*/
private $contextManager;
private ContextManagerInterface $contextManager;

/**
* Based on Sonata\AdminBundle\Tests\Controller\CRUDControllerTest.
Expand Down

0 comments on commit b9fa5d7

Please sign in to comment.