Skip to content

Commit 2ba2aab

Browse files
DevKit updates for 4.x branch (#913)
* DevKit updates * Fix rector --------- Co-authored-by: Jordi Sala Morales <jordism91@gmail.com>
1 parent 3eec092 commit 2ba2aab

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

phpstan.neon.dist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@ parameters:
2020
checkMissingVarTagTypehint: true
2121
checkMissingTypehints: true
2222
checkUninitializedProperties: true
23+
featureToggles:
24+
skipCheckGenericClasses:
25+
- Symfony\Component\Form\AbstractType
26+
- Symfony\Component\Form\FormInterface
27+
- Symfony\Component\Form\FormTypeExtensionInterface
28+
- Symfony\Component\Form\FormTypeInterface

tests/Functional/Admin/CategoryAdminTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private function countCategories(): int
147147
{
148148
// TODO: Simplify this when dropping support for Symfony 4.
149149
// @phpstan-ignore-next-line
150-
$container = method_exists(static::class, 'getContainer') ? static::getContainer() : static::$container;
150+
$container = method_exists(self::class, 'getContainer') ? static::getContainer() : static::$container;
151151
$manager = $container->get('doctrine.orm.entity_manager');
152152
\assert($manager instanceof EntityManagerInterface);
153153

0 commit comments

Comments
 (0)