1849 Commits

Author SHA1 Message Date
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
Tomas Votruba
09a3adb696
Less attributes (#5884)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-17 23:03:49 +01:00
Tomas Votruba
69e66cbf1f
Replace StaticRectorStrings with Stringy class, remove CamelCaseFunctionNamingToUnderscoreRector to avoid naming rules (#5882) 2021-03-17 19:59:18 +00: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
0ac0e54b02
[Naming] Removing underscore rules, rather handle with coding standards (#5868) 2021-03-15 23:24:43 +00:00
Tomas Votruba
683f8319a8
[CI] simplify php linter (#5867)
* [CI] simplify php linter

* [CI] merge code analysis to one

* [docs] remove nodes overview, already in external repository

* remove unused ci job

* [CI] check annotation parser + sync

* [DeadCode] Remove RemoveEmptyAbstractClassRector, not reliable with static-reflection, opionated

* [CI] remove set validation, PHPStan handles this better with PHP

* remove dead-code-strict [skip ci]
2021-03-15 23:44:28 +01:00
TomasVotruba
c27b9e8338 drop symfony-autowire set, used just once internally 2021-03-15 21:04:20 +01:00
Tomas Votruba
d897902ccf
[Downgrade] Keep better phpdoc type (#5862) 2021-03-15 18:58:04 +01:00
Fonata
b84f76e4e4
Bugfix for SimplifyForeachToArrayFilterRector (#5859) 2021-03-15 17:52:02 +01:00
Tomas Votruba
c1c6c9aaf2
[downgrade] remove extra configs, unite parameters (#5861) 2021-03-15 13:19:57 +00:00
Fonata
e0158925cd
Bugfix for AbsolutizeRequireAndIncludePathRector (#5858) 2021-03-14 23:17:49 +01:00
Abdul Malik Ikhsan
a65d5de82f
[CodeQuality] Fixes #5844 Skip ChangeArrayPushToArrayAssignRector on not in expression (#5845) 2021-03-14 17:15:38 +01:00
Abdul Malik Ikhsan
fb8b9c1e75
[Php80] Handle Identical false in StrContainsRector (#5848)
* [Php80] Fixes #5847 Handle Identical false in StrContainsRector

* clean up

* more fixtures

* phpstan

* final touch
2021-03-14 17:14:49 +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
634bc0eab8
cleanup (#5839) 2021-03-14 00:59:52 +01:00
TomasVotruba
051a06cbcb remove uuid left-overs 2021-03-14 00:49:58 +01:00
Tomas Votruba
d7cb28e37a
[Symfony 5.1] Add RouteCollectionBuilderToRoutingConfiguratorRector (#5835)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-13 16:11:49 +00:00
Tomas Votruba
da12199150
cleanup return docs (#5834) 2021-03-13 16:15:10 +01:00
Abdul Malik Ikhsan
417ef19a23
[TypeDeclaration] Skip null type on non-private property and not used on CompleteVarDocTypePropertyRector (#5833) 2021-03-13 15:19:09 +01:00
Tomas Votruba
9beb1da3c0
Move fixture requirement from command line to a test case (#5832) 2021-03-13 15:07:31 +01:00
Tomas Votruba
0acc05cc6e
remove runnable interface, to lower complexity (#5829) 2021-03-13 01:23:22 +00:00
Tomas Votruba
721f619a1d
Post moving cleanup (#5827) 2021-03-12 23:52:38 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00