968 Commits

Author SHA1 Message Date
TomasVotruba
2452ce02be fix laravel set path 2020-07-21 10:02:50 +02:00
TomasVotruba
dc4d5adc9d correct path 2020-07-21 02:01:14 +02:00
TomasVotruba
2f927842a7 move sets to single /set directory 2020-07-21 00:46:53 +02:00
Jonathan Goode
287af13177 Create WrapVariableVariableNameInCurlyBracesRector 2020-07-20 18:23:19 +01:00
TomasVotruba
0a29fe0c0a fix scoper 2020-07-20 10:34:44 +02:00
TomasVotruba
46b3090e37 move symfony style to root config 2020-07-20 09:40:11 +02:00
TomasVotruba
aeb7937972 add set constants + command to generate them 2020-07-20 01:00:49 +02:00
TomasVotruba
6a4792abf4 apply new naming rule 2020-07-19 23:36:10 +02:00
TomasVotruba
9a3740a8eb enable rule 2020-07-19 19:20:29 +02:00
TomasVotruba
66b1902c80 decouple VariableAndCallAssignMatcher to resolve the node matching part 2020-07-19 19:05:46 +02:00
TomasVotruba
fc347413f3 cleanup 2020-07-19 17:23:37 +02:00
TomasVotruba
38fe69b8b7 remove failing docblock test case 2020-07-19 13:53:57 +02:00
TomasVotruba
039b871cbf remove failing docblock test case 2020-07-19 13:48:16 +02:00
TomasVotruba
b9a925a5cf re-use VariableRenamer in RenameVariableToMatchGetMethodNameRector 2020-07-19 13:29:18 +02:00
TomasVotruba
340b43c6ca move YML to PHP config 2020-07-19 11:35:10 +02:00
dobryy
3692798de6 [Naming] Name variable after get method 2020-07-19 10:23:32 +02:00
TomasVotruba
ebbd35bd2d manual fixes 2020-07-18 20:27:19 +02:00
TomasVotruba
0d3306250f [utils] switch YAML to PHP 2020-07-18 19:56:27 +02:00
TomasVotruba
bc0d9b3675 from YAML to PHP sets 2020-07-18 19:56:27 +02:00
TomasVotruba
7fc58e8da1 cleanup configs, not a docs 2020-07-18 19:56:27 +02:00
TomasVotruba
2b9cde7967 cleaning 2020-07-18 19:56:27 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
b5f698a463 use of constants 2020-07-17 01:15:46 +02:00
TomasVotruba
78f830a6f7 add PHP support to FileHashComputer 2020-07-17 00:59:52 +02:00
Jonathan Goode
cdb3e889cf Create new TernaryConditionVariableAssignmentRector
Ignore false positives in PHPStan
2020-07-16 16:40:04 +01:00
TomasVotruba
f8c50ee885 switch config.yaml to config.php 2020-07-16 13:45:20 +02:00
TomasVotruba
0c816d60f8 [config] switch rules config from YAML to PHP 2020-07-16 12:48:54 +02:00
TomasVotruba
b045b316e8 [config] switch packages config from YAML to PHP 2020-07-16 12:40:57 +02:00
Mark Story
5380409835 Add more refactorings for CakePHP 4.0
Refs cakephp/upgrade#143
2020-07-15 23:37:59 -04:00
othercorey
996d6c204a
Add Comparison to ComparisonExpression rename 2020-07-13 22:10:20 -05:00
TomasVotruba
ee6e44e952 use RenameMethodRector in configs over RenameMethodCallRector 2020-07-13 23:46:48 +02:00
TomasVotruba
86caa737f9 [Symfony] Add RemoveDefaultGetBlockPrefixRector 2020-07-13 19:06:24 +02:00
TomasVotruba
98ca70c00a [Symfony] Add ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector 2020-07-13 11:19:37 +02:00
TomasVotruba
1a8575096f [Symfony] Add ChangeCollectionTypeOptionTypeFromStringToClassReferenceRector 2020-07-13 01:56:35 +02:00
TomasVotruba
166ee211ec move StringFormTypeToClassRector to symfony30 set 2020-07-12 22:56:51 +02:00
TomasVotruba
268ecd92d1 order 2020-07-12 21:40:04 +02:00
dobryy
8df866b3ca [Downgrade] PHP 7.4 to 7.1 (Property Type) 2020-07-12 08:37:53 +02:00
dobryy
78e518c105 check minimal php version 2020-07-08 20:36:27 +02:00
dobryy
98045758dd Split into two rules and skip magically accessed property names 2020-07-05 21:48:23 +02:00
TomasVotruba
97571e6159 speedup DoctrineRepositoryAsService 2020-07-02 15:15:49 +02:00
TomasVotruba
7c62955a53 remove MethodBody to ClassMethod 2020-07-01 01:44:14 +02:00
TomasVotruba
547e15099d use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion 2020-06-30 01:34:19 +02:00
TomasVotruba
40a58dbf4c rename TemplateAnnotationRector to TemplateAnnotationToThisRender 2020-06-29 00:30:20 +02:00
TomasVotruba
bba3327993 merge template annotation rector version to 5 2020-06-28 23:26:45 +02:00
TomasVotruba
f1ee5065bc move ReturnThisRemoveRector to MagicDisclosure 2020-06-28 20:08:08 +02:00
TomasVotruba
ec99343c38 move MagicDisclosure rules to own package 2020-06-28 19:59:06 +02:00
TomasVotruba
c0cc31aa7e fix php parser factory name 2020-06-21 13:47:24 +02:00
Mark Story
ad615b4899 Expand CakePHP 4.1 standard
Add a newly deprecation method.
2020-06-17 21:53:00 -04:00
TomasVotruba
3744649dd9 [PHP 7.2] Add ReplaceEachAssignmentWithKeyCurrentRector 2020-06-17 14:23:12 +02:00
TomasVotruba
a593afb017 [PHP 7.4] Add safe_types option 2020-06-16 22:34:52 +02:00