1871 Commits

Author SHA1 Message Date
Tomas Votruba
0964e8c3d7
[Doctrine] Decopule to own package (#5943)
* [Doctrine] Decopule to own package

* move Doctrine outside
2021-03-22 01:53:42 +01:00
Tomas Votruba
4f27f39e70
Remove dynamic type checks #3 (#5942) 2021-03-21 23:07:40 +00:00
Tomas Votruba
ae1c6b90f7
Remove dynamic type checks #2 (#5941) 2021-03-21 21:31:18 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks (#5939) 2021-03-21 19:41:17 +01:00
Tomas Votruba
4d760ddf44
[PHPStan] Add NoIsAStaticReflectionRule (#5937)
* [PHPStan] Add NoIsAStaticReflectionRule

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-21 15:12:38 +01:00
Tomas Votruba
89a7afb5a4
Merge DeadDocBlock to DeadCode (#5936) 2021-03-21 12:57:56 +00:00
Abdul Malik Ikhsan
747104df6b
Refactor is_a (#5907)
* Change is_a to UnionType()->isSuperTypeOf()->yes in NetteControlFactoryInterfaceAnalyzer

* fix with check ShortenedObjectType

* change is_a in ThrowWithPreviousExceptionRector
2021-03-21 13:12:35 +01:00
TomasVotruba
0693fff578 update to rector-symfony phpdoc nodesfs 2021-03-21 12:35:41 +01:00
Abdul Malik Ikhsan
7e16399ddb
[DeadCode] Skip RemoveUnusedPrivateMethodRector when class has magic __call (#5932) 2021-03-21 10:52:15 +01:00
TomasVotruba
94fd5af4f8 make use of external symfony doc nodes 2021-03-21 01:38:09 +01:00
Tomas Votruba
68026636bf
[PHP 8.0] Refactor attributes from magic interface to explicit list (#5926) 2021-03-20 23:16:21 +00:00
Tomas Votruba
44375f6637
Post Nette tags split cleanup (#5925)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 21:47:40 +00:00
Tomas Votruba
b28b8742fc
use rector-nette with tags (#5924)
* use rector-nette with tags

* redirect Kdyby sets

* use local ParamAnalyzer
2021-03-20 22:16:54 +01:00
TomasVotruba
b3536831fa move nette tags to own package 2021-03-20 21:16:07 +01:00
TomasVotruba
e13c2ecfd5 update decoupled tags 2021-03-20 21:10:34 +01:00
TomasVotruba
655d5f93a8 fix 2021-03-20 16:28:30 +01:00
TomasVotruba
628837c08f rename AttributeAwareParamTagValueNode to VariadicAwareParamTagValueNode 2021-03-20 16:27:30 +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
c9df17990b
[CakePHP] Decouple to own package (#5918) 2021-03-20 10:40:50 +01:00
Tomas Votruba
57cf573e69
remove moved ReturnTypeDeclarationUpdater (#5916) 2021-03-20 01:54:33 +01:00
Tomas Votruba
081e240640
[DX] Remove isInClassNamed() (#5914) 2021-03-20 01:37:33 +01:00
Tomas Votruba
9d101f6e30
[DX] remove isStaticCallNamed() (#5913)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-20 01:06:12 +01:00
Tomas Votruba
c01d9699b5
Remove type-hiding name methods (#5912)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 23:11:36 +00: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
16b2b0376c
[PHPUnit] Decouple to own package (#5905) 2021-03-19 10:52:08 +01:00
Tomas Votruba
3aa1f86778
[Laravel] Decouple to own package (#5904) 2021-03-19 02:09:51 +01:00
Tomas Votruba
21db1e9e38
[Nette] Decouple to own package (#5903)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-19 01:33:30 +01:00
Tomas Votruba
8304d70f67
[Symfony] Decouple to own package (#5900) 2021-03-18 22:03:54 +00:00
Laurent Clouet
3e6dcf42d6
Fix for PhpSpec method shouldEqual (#5899) 2021-03-18 18:00:06 +01:00
Tomas Votruba
1bdc6e588a
widening - skip if no method is present (#5898) 2021-03-18 14:48:00 +01:00
Tomas Votruba
33daf1de2e
fixup (#5897) 2021-03-18 14:29:32 +01:00
TomasVotruba
8685a44ed0 BetterNodeFinder improvements 2021-03-18 12:27:34 +01:00
TomasVotruba
e61f80bd21 cleanup 2021-03-18 12:21:20 +01:00
TomasVotruba
6e955b9d80 skip missing scope 2021-03-18 11:59:01 +01:00
Tomas Votruba
1abe1f8c1b
Improve static reflection speed (#5895) 2021-03-18 11:29:23 +01:00
Tomas Votruba
a389839c5c
[CI] Downgrade Rector to PHP 7.1 + prefix it (#5880)
* [downgrade] simplify to 2 configs

* rename downgrade_packages.sh to downgrade_rector_to_php71.sh

* add test case stub

* [CI] add linter for php code

* [CI] update tagged workflow

* update for covariance

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-18 02:48:44 +01:00
TomasVotruba
940ed63d54 static fixe 2021-03-18 02:46:42 +01:00
Tomas Votruba
0f3d07f1f8
[DeadCode] Removing method/property entity Doctrine remover, too vague (#5892) 2021-03-18 02:44:36 +01:00
TomasVotruba
08f9c545a1 remove FirstLevelNodeVisitor 2021-03-18 02:24:39 +01:00
Tomas Votruba
37eb07af6e
move stubs to composer-autoload (#5890)
* move stubs to composer-autoload

* remove duplicate classes

* apply Rector
2021-03-18 02:10:01 +01:00
Tomas Votruba
c815334bed
[DeadCode] Remove RemoveUnusedParameterRector (#5888) 2021-03-18 01:10:37 +01:00
TomasVotruba
8e95384268 fix cs 2021-03-18 00:21:24 +01:00
Dominik Peters
dc94477d54
Migrate at to with consecutive and will return on consecutive calls (#5822) 2021-03-18 00:11:23 +01:00
kaizen-ci
d14630e1d2 [ci-review] Rector Rectify 2021-03-18 00:00:16 +01:00
TomasVotruba
3746f24cf4 remove FUNCTION_NODE attribute 2021-03-18 00:00:16 +01:00
TomasVotruba
de02a85e3f remove parent class 2021-03-18 00:00:16 +01:00
TomasVotruba
7df115b051 make use of reflection 2021-03-18 00:00:16 +01:00
Tomas Votruba
6ad6bdc2d7
Fix type widening command (#5883)
* skip parent type for construtc

* skip magic method
2021-03-17 23:56:45 +01:00
Tomas Votruba
0e383192ae
misc fixes (#5886) 2021-03-17 23:36:05 +01:00