101 Commits

Author SHA1 Message Date
TomasVotruba
f823903560 move run_all_sets to ValidateSetsCommand 2020-03-29 15:37:46 +02:00
TomasVotruba
ff6a3d3140 [PHP 7.4] Add RestoreDefaultNullToNullableTypePropertyRector 2020-03-24 23:45:15 +01:00
TomasVotruba
37eaf518db improve RemoveUnusedAliasRector complexity 2020-03-01 00:38:46 +01:00
TomasVotruba
903483bf96 decouple ClassInsertManipulator 2020-02-29 22:10:06 +01:00
TomasVotruba
7eb2ac0e36 decopule class dependency manipulator methods 2020-02-29 21:22:00 +01:00
TomasVotruba
7bc1703859 improve class cognitive complexity 2020-02-29 19:14:40 +01:00
TomasVotruba
67104fdca3 remove unused methods from ClassManipulator 2020-02-29 17:00:19 +01:00
TomasVotruba
06de6d708a bump Symplify to 7.2.3 2020-02-29 15:45:17 +01:00
TomasVotruba
eeb43d2b01 rector ci: enable solid + fix class const privatization for using parent 2020-02-23 16:03:39 +01:00
TomasVotruba
5318f7c8d1 Fix incorrect regexes to preserve doc tags spacing 2020-02-21 14:49:50 +01:00
TomasVotruba
1ad8f08ccd [SOLID] Add ChangeReadOnlyVariableWithDefaultValueToConstantRector 2020-02-18 23:59:07 +01:00
TomasVotruba
0d21a466da Add ClassInCorrectNamespaceRector 2020-02-13 23:44:04 +01:00
TomasVotruba
a06ac12e04 [Compiler] Decouple ComposerJsonManipulator, allow dev deps for phpstan robot loader 2020-02-13 11:48:34 +01:00
TomasVotruba
bc5eefdb76 improve AddSeeTestAnnotationRector 2020-02-11 14:40:59 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00
TomasVotruba
c52f03a019 [ECS] Remove cognitive complexity ignores 2020-02-09 23:13:12 +01:00
TomasVotruba
f5f992b0b3 decouple function node finder and collector from ParsedNodesByType 2020-02-09 12:09:29 +01:00
TomasVotruba
b1df495b85 fix protected parent constant override 2020-02-09 01:28:32 +01:00
TomasVotruba
7f2b0afd7d rename package to use lowercased standard, prevent confusion with PSR-4 autoloaded 2020-02-07 16:11:43 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
1dda9804f5 apply property and method order 2020-02-02 12:14:43 +01:00
TomasVotruba
ab89f4b780 [CakePHPToSymfony] Add CakePHPImplicitRouteToExplicitRouteAnnotationRector 2020-02-02 11:36:39 +01:00
TomasVotruba
cdd2febe75 remove getTagByName() 2020-01-31 10:00:57 +01:00
TomasVotruba
f0de6724b6 use php doc info node 2020-01-31 07:53:22 +01:00
TomasVotruba
3c2683f13c cover list with multiple arguments 2020-01-23 01:00:49 +01:00
TomasVotruba
a63038b95c [CakePHPToSymfony] Add CakePHPModelToDoctrineRepositoryRector 2020-01-22 22:52:27 +01:00
Tomas Votruba
80df8d0030
Merge pull request #2672 from jeroensmit/RemoveDelegatingParentCallDefault
Remove delegating parent call
2020-01-16 01:03:13 +01:00
TomasVotruba
e64f787cde [PHPStanStaticTypeMapper] Decouple new services to handle PHPStan type mapping 2020-01-14 15:26:36 +01:00
Jeroen Smit
ce0bf6d5e3 Code style 2020-01-13 20:37:48 +01:00
TomasVotruba
a94dcb9f2a [Polyfill] Add UnwrapFutureCompatibleIfPhpVersionRector 2020-01-13 02:45:54 +01:00
TomasVotruba
464eb22030 Add PHPStanAttributeTypeSyncer 2020-01-12 21:42:19 +01:00
TomasVotruba
3159da6712 use explicit null in yaml 2020-01-05 20:00:32 +01:00
TomasVotruba
9e157a04f3 prevent variable scope changing 2020-01-04 16:03:30 +01:00
TomasVotruba
83aebb7f77 [DeadCode] Add RemoveUnusedElseAfterThrowRector 2019-12-30 11:57:16 +01:00
TomasVotruba
5bdc59187d decopule PhpParserTypeAnalyzer 2019-12-27 00:09:19 +01:00
TomasVotruba
0a6cc9676f decouple VendorLockResolver 2019-12-27 00:09:19 +01:00
Tomas Votruba
1205416200 init MoveValueObjectsToValueObjectDirectoryRector 2019-12-25 12:14:53 +01:00
TomasVotruba
f23c170fba ecs: use sets parameter 2019-12-18 10:02:20 +01:00
TomasVotruba
290d0b4ee5 fixup! Merge pull request #2409 from rectorphp/phalcon-round-2 2019-12-08 18:01:29 +01:00
TomasVotruba
01455aff38 travis: drop PHP 7.1 2019-11-23 19:02:56 +01:00
TomasVotruba
53eda0bb8e use new Symplify 7 2019-11-23 18:49:27 +01:00
TomasVotruba
8d4ec5152b Fix parent interface, extends, implements same name as short name 2019-11-14 17:59:37 +01:00
Jeroen Smit
db3525920d Several RemoveSetterOnlyPropertyAndMethodRector and UnusedPrivatePropertyRector fixes. 2019-11-08 21:03:29 +01:00
orklah
d1cd4b9ee1 adding line_ending parameter to enforce standard behavious on windows 2019-11-07 18:34:44 +01:00
Tomáš Votruba
6968f8172a
Merge pull request #2250 from jeroensmit/removeDeadStmtRector
Fixed edge cases of RemoveDeadStmtRector
2019-11-04 23:48:35 +01:00
Jeroen Smit
de8334e8a3 Fixed edge cases of RemoveDeadStmtRector
Covered all nodes that could be considered dead statement
2019-11-04 21:57:49 +01:00
Jeroen Smit
da8878bbf6 Better anonymous class handling
Added test for nodeVisitors
2019-11-03 21:49:08 +01:00
Tomas Votruba
7850a0d1f6 [cs] remove NoClassInstantiationSniff 2019-10-30 10:55:04 +01:00
Tomas Votruba
40c49710e9 [cs] reoder private methods by call order 2019-10-30 10:49:07 +01:00
Tomas Votruba
e5194fecc2 add --xdebug option 2019-10-29 17:58:44 +01:00