Tomas Votruba
ff57c49662
[PHP 7.2] Add covariant param support for trait methods ( #6190 )
...
* [Downgrade PHP 7.2] Handle trait methods too
* move DowngradeParameterTypeWideningRector to Class_ namespace
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 00:02:38 +02:00
Abdul Malik Ikhsan
fa6fc49c59
[NodeAnalyzer] Use ClassAnalyzer for anonymous class check ( #6162 )
...
* use ClassAnalyzer in ParsedNodeCollector
* use ClassAnalyzer in BetterNodeFinder
* use Pin ParentClassToTraitsRector
* use in ChangeSingletonToServiceRector
* use in ValueObjectClassAnalyzer
* use in PropertyAddingPostRector
* use in fixture
* use isAnonymous() in ClassAnalyzer
2021-04-18 15:01:22 +02:00
Tomas Votruba
b8071fb7bc
Make use of inline parser over extreme node construction ( #6145 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 17:34:49 +00:00
Tomas Votruba
809d617708
Refactor OptionalParametersAfterRequiredRector to remove dependency from NodeRepository ( #6098 )
2021-04-11 10:27:20 +00:00
Tomas Votruba
b121d8e10a
Remove mapToDocString() and use describe() instead ( #6095 )
2021-04-10 23:28:08 +00:00
Tomas Votruba
26a5b86892
[Privatization] Remove MakeUnusedClassesWithChildrenAbstractRector as risky and full context is needed ( #6091 )
2021-04-10 20:18:49 +02:00
Tomas Votruba
9517556487
remove findClassMethodByTypeAndMethod() ( #6086 )
...
* remove findClassMethodByTypeAndMethod()
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-10 17:23:00 +02:00
Tomas Votruba
8e8446a909
remove METHOD_NAME attribute to promote single source of node ( #6063 )
2021-04-09 12:45:07 +02:00
Tomas Votruba
27e9ad030a
Remove buggy rules that depend on false condition of all class and calls analysis, to improve static reflection ( #5958 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-23 23:13:35 +01:00
Tomas Votruba
4f27f39e70
Remove dynamic type checks #3 ( #5942 )
2021-03-21 23:07:40 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks ( #5939 )
2021-03-21 19:41:17 +01:00
TomasVotruba
ef1e4b42c0
fix null name
2021-03-20 19:36:04 +01:00
kaizen-ci
d14630e1d2
[ci-review] Rector Rectify
2021-03-18 00:00:16 +01:00
TomasVotruba
de02a85e3f
remove parent class
2021-03-18 00:00:16 +01:00
Tomas Votruba
ea19540a73
[Downgrade 7.2] Fix downgrade from parent native type ( #5872 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 11:12:39 +01:00
Tomas Votruba
f92c18514a
[DX] Forbid @required annotation ( #5869 )
2021-03-16 00:49:31 +00:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory ( #5824 )
2021-03-12 01:21:29 +00:00