Tomas Votruba
c83ac3683e
Decouple specific rules from NonPhpFileProcessor to NonPhpRectorInterface contract ( #6285 )
2021-05-02 11:50:34 +00:00
Tomas Votruba
1d0ba2a439
Add AbstractTestCase ( #6205 )
2021-04-22 21:36:50 +00:00
Tomas Votruba
268b32ff7e
[DeadCode] Remove duplicated RemoveUnusedPrivateConstantRector ( #6151 )
...
* [DeadCode] Remove duplicated RemoveUnusedPrivateConstantRector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 23:38:44 +02:00
Tomas Votruba
9c147eb846
make use of file rector errors ( #6131 )
2021-04-14 04:35:28 +02:00
Tomas Votruba
1e24618a9e
File reports ( #6130 )
2021-04-14 02:15:10 +00:00
Tomas Votruba
b03fa60c52
Fix empty docblocks ( #6128 )
...
* working prototype for nested arrays
* add data provider
2021-04-13 20:58:34 +02:00
Tomas Votruba
5bde10c181
Various doc parser fixes ( #6125 )
2021-04-13 18:51:41 +00:00
Tomas Votruba
f82a8dc995
Refactor AnnotationExtractor fomr FileDiff value object to standalone RectorsChangelogResolver service ( #6088 )
2021-04-10 16:22:25 +00:00
TomasVotruba
00a3e43117
fix string match return type
2021-04-10 17:29:36 +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
Sebastian Schreiber
2b671a27d5
[FEATURE] Output changelog url in OutputFormatterInterface ( #6073 )
2021-04-10 16:54:24 +02:00
Tomas Votruba
31566dc869
Traverse phpdoc with use of PhpDocNodeVisitor ( #6045 )
...
* make use of new simple-php-doc-parser
* add ParamPhpDocNodeVisitor
* remove uneeded contracts
* skip bool instanceof
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-06 19:33:09 +02:00
Tomas Votruba
006785559e
Add annotation re-print with colon and equal ( #6042 )
2021-04-05 17:32:51 +00:00
Tomas Votruba
0eec24e342
add reprint test ( #6038 )
...
* add failing test case for extended first node
* fix reprint of first node start
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-05 15:25:08 +02:00
Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser ( #5974 )
...
* remove doctrine/annotations
* Refactor doctrine/annotation parser to static reflection with phpdoc-parser
* remove doctirne-annotation-parser-syncer
* remove annotation stubs
* use nodes
* almost there
* [ci-review] Rector Rectify
* skip temporary
* phpstan: remove fixed messages
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Tomas Votruba
1224a69c8a
remove unused containsArrayType() method ( #6022 )
2021-03-31 11:41:32 +00:00
Tomas Votruba
9e34d0b6cf
remove unused map ( #6018 )
2021-03-30 15:06:25 +00:00
Tomas Votruba
03c3a6310b
[BetterPhpDocParser] Improve TagValueNodeReprintTest ( #6016 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-30 14:24:16 +00: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
6ba046ef2b
add Doctrine configs ( #5945 )
2021-03-22 02:55:01 +01:00
TomasVotruba
e7117092bf
update to doctrine package
2021-03-22 02:31:22 +01:00
Tomas Votruba
89a7afb5a4
Merge DeadDocBlock to DeadCode ( #5936 )
2021-03-21 12:57:56 +00:00
Tomas Votruba
0d972b206e
trigger ( #5931 )
2021-03-21 02:09:17 +00:00
TomasVotruba
94fd5af4f8
make use of external symfony doc nodes
2021-03-21 01:38:09 +01:00
Tomas Votruba
cfa61bc2dd
remove PhpDocNodeTransformerInterface overly abstraction; merge AttributeAwarePhpDoc to BetterPhpDocParser ( #5920 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 16:27:18 +01:00
Tomas Votruba
163b37a30a
[Testing] Use single config-based testing to isolate scope unite testing for core + community packages ( #5837 )
2021-03-19 21:29:10 +01:00
Tomas Votruba
025e6ed571
[PhpDocParser] Make use of native attributes ( #5841 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 14:33:58 +00:00
Tomas Votruba
33daf1de2e
fixup ( #5897 )
2021-03-18 14:29:32 +01:00
TomasVotruba
08f9c545a1
remove FirstLevelNodeVisitor
2021-03-18 02:24:39 +01:00
TomasVotruba
00014cbb39
[cs] apply on coding standard
2021-03-18 02:24:29 +01:00
Tomas Votruba
751a7453dd
Apply new PHPStan rules from Symplify ( #5843 )
...
* apply new PHPStan rules from Symplify
* less directories to speedup CI
2021-03-14 14:11:24 +01:00
Tomas Votruba
da12199150
cleanup return docs ( #5834 )
2021-03-13 16:15:10 +01:00
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package ( #5825 )
2021-03-12 20:13:27 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory ( #5824 )
2021-03-12 01:21:29 +00:00