Skip to content

Commit baa2698

Browse files
authored
Remove AnnotatedPropertyInjectToConstructorInjectionRector by splitting to Nette and Symfony packages (#6250)
1 parent a7097d3 commit baa2698

27 files changed

+0
-695
lines changed

phpstan.neon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,6 @@ parameters:
394394
message: '#Property with protected modifier is not allowed\. Use interface contract method instead#'
395395
path: 'packages/BetterPhpDocParser/ValueObject/PhpDoc/DoctrineAnnotation/AbstractValuesAwareNode.php'
396396

397-
- '#Cognitive complexity for "Rector\\DependencyInjection\\Rector\\Property\\AnnotatedPropertyInjectToConstructorInjectionRector\:\:refactor\(\)" is \d+, keep it under 9#'
398-
399397
-
400398
message: '#Do not inherit from abstract class, better use composition#'
401399
paths:

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/AnnotatedPropertyInjectToConstructorInjectionRectorTest.php

Lines changed: 0 additions & 33 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/fixture.php.inc

Lines changed: 0 additions & 39 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/injected_interface.php.inc

Lines changed: 0 additions & 31 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/parent_constructor_with_middle_class.php.inc

Lines changed: 0 additions & 52 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/parent_constructor_with_own_inject.php.inc

Lines changed: 0 additions & 48 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/skip_abstract_class.php.inc

Lines changed: 0 additions & 14 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/skip_autowired.php.inc

Lines changed: 0 additions & 15 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/skip_if_has_parent_with_constructor.php.inc

Lines changed: 0 additions & 19 deletions
This file was deleted.

rules-tests/DependencyInjection/Rector/Property/AnnotatedPropertyInjectToConstructorInjectionRector/Fixture/skip_property_without_doc.php.inc

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)