Skip to content

Commit

Permalink
Bump rector
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jan 8, 2023
1 parent 92334f1 commit 0f990b0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -48,7 +48,7 @@
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.16",
"psalm/plugin-symfony": "^3.0",
"rector/rector": "^0.14",
"rector/rector": "^0.15",
"symfony/config": "^4.4 || ^5.4 || ^6.0",
"symfony/dependency-injection": "^4.4 || ^5.4 || ^6.0",
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/Type/BasePickerTypeTest.php
Expand Up @@ -32,7 +32,7 @@ final class BasePickerTypeTest extends TestCase
/**
* @var Stub&TranslatorInterface
*/
private $translator;
private TranslatorInterface $translator;

private MomentFormatConverter $momentFormatConverter;

Expand Down
2 changes: 1 addition & 1 deletion tests/Type/DatePickerTypeTest.php
Expand Up @@ -30,7 +30,7 @@ final class DatePickerTypeTest extends TypeTestCase
/**
* @var Stub&TranslatorInterface
*/
private $translator;
private TranslatorInterface $translator;

protected function setUp(): void
{
Expand Down
2 changes: 1 addition & 1 deletion tests/Type/DateTimePickerTypeTest.php
Expand Up @@ -30,7 +30,7 @@ final class DateTimePickerTypeTest extends TypeTestCase
/**
* @var Stub&TranslatorInterface
*/
private $translator;
private TranslatorInterface $translator;

protected function setUp(): void
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Validator/ErrorElementTest.php
Expand Up @@ -34,12 +34,12 @@ final class ErrorElementTest extends TestCase
/**
* @var ExecutionContextInterface&MockObject
*/
private $context;
private ExecutionContextInterface $context;

/**
* @var ContextualValidatorInterface&MockObject
*/
private $contextualValidator;
private ContextualValidatorInterface $contextualValidator;

private Foo $subject;

Expand Down
6 changes: 3 additions & 3 deletions tests/Validator/InlineValidatorTest.php
Expand Up @@ -32,17 +32,17 @@ final class InlineValidatorTest extends TestCase
/**
* @var ContainerInterface&MockObject
*/
private $container;
private ContainerInterface $container;

/**
* @var ConstraintValidatorFactoryInterface&MockObject
*/
private $constraintValidatorFactory;
private ConstraintValidatorFactoryInterface $constraintValidatorFactory;

/**
* @var ExecutionContextInterface&MockObject
*/
private $context;
private ExecutionContextInterface $context;

protected function setUp(): void
{
Expand Down

0 comments on commit 0f990b0

Please sign in to comment.