115 Commits

Author SHA1 Message Date
TomasVotruba
234b3ea8f5 add support for single array item magic in tag value nodes 2020-06-06 13:41:16 +02:00
TomasVotruba
8f6731932e use string for classes in doc node factory 2020-06-04 16:22:11 +02:00
TomasVotruba
56e2449918 [PHP 8.0] Add TokenGetAllToObjectRector 2020-06-02 18:12:19 +02:00
TomasVotruba
0c67709fd0 [Legacy] Add FunctionToStaticMethodRector 2020-05-13 15:50:30 +02:00
TomasVotruba
1be9176f75 add console-color-diff 2020-05-05 16:49:29 +02:00
TomasVotruba
82f48f5d84 cs: remove removed file 2020-05-03 23:41:04 +02:00
TomasVotruba
ef5501d06c various cs cleanup 2020-05-03 21:33:36 +02:00
TomasVotruba
f64f468ac1 apply cs 2020-05-03 21:23:58 +02:00
TomasVotruba
8e0deaa2b4 handle Symplify 7.3 deprecations in CS 2020-05-03 21:10:05 +02:00
TomasVotruba
5fb73c2309 TagValueNode refactoring 2020-04-29 12:54:26 +02:00
TomasVotruba
1612ef2165 [PHP 8.0] Add attributes v2 2020-04-29 00:25:45 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
d29c4ede57 Add DoctrineAnnotationParserSyncer 2020-04-04 22:01:47 +02:00
TomasVotruba
cd493d0b49 Complete SlugTagValueNode 2020-04-03 14:47:05 +02:00
TomasVotruba
629042eeb4 move NodeRemovingRector to collector 2020-03-31 19:34:56 +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