731 Commits

Author SHA1 Message Date
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
kodiakhq[bot]
8a01bbd2f5
Merge pull request #3528 from rectorphp/coding-style-const-value-sort
[Order] Add OrderClassConstantsByIntegerValueRector
2020-06-15 15:12:30 +00:00
TomasVotruba
654d97c602 [Order] Add OrderClassConstantsByIntegerValueRector 2020-06-15 17:07:52 +02:00
TomasVotruba
8989b2da05 add PHPUnit 9.0 regex method name changes 2020-06-15 16:28:10 +02:00
Tomas Votruba
e5e8955d66
Merge pull request #3487 from garas/cakephp-fluent-options 2020-06-12 16:26:53 +02:00
TomasVotruba
57fc2ab344 [PHPUnit 6.0] add createMockBuilder() to getMockBuilder() rename 2020-06-12 14:28:14 +02:00
Edgaras Janušauskas
fafd401770 Add CakePHP set to convert array options to fluent method calls 2020-06-12 15:09:24 +03:00
TomasVotruba
ee863810df [PHPUnit] Extends namespace migration with exact class rename 2020-06-12 09:56:34 +02:00
Mark Story
282ad2bf28 Add rector rules for deprecated features in CakePHP 4.1 2020-06-10 22:04:38 -04:00
TomasVotruba
c17b38aa43 [CodeQuality] Add ArrayThisCallToThisMethodCallRector 2020-06-10 20:35:59 +02:00
TomasVotruba
f66e06a36c [NetteUtilsCodeQuality] Add ReplaceTimeNumberWithDateTimeConstantRector 2020-06-06 19:22:52 +02:00
TomasVotruba
72c627e1f9 [Sensio] Add RemoveServiceFromSensioRouteRector 2020-06-06 16:07:51 +02:00
TomasVotruba
b45549b7ab update docs 2020-06-06 15:36:54 +02:00
TomasVotruba
420fdef26f [Sensio] Add @route migration to Symfony 2020-06-06 15:07:44 +02:00
TomasVotruba
b4acc0fc43 quote more strings in configs to prevent prefixing 2020-06-05 13:05:09 +02:00
TomasVotruba
ba2886342e quote class-type names to prevent prefixing 2020-06-05 09:10:44 +02:00
TomasVotruba
7fdf332576 [phar] unprefix class strings 2020-06-04 12:29:25 +02:00
TomasVotruba
c694e26ab0 use constants over explicit values 2020-06-03 23:00:07 +02:00
TomasVotruba
7f0acb0fac Fix ArgumentDefaultValueReplacerRector to work with bool values 2020-06-03 22:45:59 +02:00
TomasVotruba
641016f129 [PHP 8.0] Add RemoveUnusedVariableInCatchRector 2020-06-03 09:31:06 +02:00
TomasVotruba
56e2449918 [PHP 8.0] Add TokenGetAllToObjectRector 2020-06-02 18:12:19 +02:00
TomasVotruba
4fb1f982f9 [CodingStyle] Add RemoveDoubleUnderscoreInMethodNameRector 2020-05-31 18:03:31 +02:00
TomasVotruba
6c428c4bd0 add new rules to PHP 5.3 set 2020-05-31 17:57:07 +02:00
TomasVotruba
d28e599bae Add RemoveFuncCallArgRector 2020-05-31 16:20:39 +02:00
TomasVotruba
ecd6ef7803 rename KdybyEventSubscriberToContributteEventSubscriberRector to ChangeNetteEventNamesInGetSubscribedEventsRector 2020-05-30 00:22:45 +02:00
TomasVotruba
9d4f70381e move KdybyEventSubscriberToContributteEventSubscriberRector to class method 2020-05-30 00:09:22 +02:00
TomasVotruba
c149389dfb add event subscriber and dispatcher class renames 2020-05-29 21:37:25 +02:00
TomasVotruba
f0a67edb7e [Nette Kdyby] Add ReplaceEventManagerWithEventSubscriberRector 2020-05-29 01:36:25 +02:00
TomasVotruba
de4477b0f9 rename class is not needed 2020-05-28 11:00:35 +02:00
TomasVotruba
a82cbeb93e fix event rector location 2020-05-27 23:24:38 +02:00
TomasVotruba
29d3d267b5 [NetteKdyby] Add ReplaceMagicEventPropertySubscriberWithEventClassSubscriberRector 2020-05-27 23:16:57 +02:00
TomasVotruba
bcc5055d48 [Privatization] Add PrivatizeFinalClassMethodRector 2020-05-27 09:33:56 +02:00
TomasVotruba
0a255f7758 refactor finish extension to event subscriber 2020-05-26 14:59:45 +02:00
Tomas Votruba
8c83b60aea
Merge pull request #3415 from rectorphp/coding-style-under 2020-05-25 17:38:33 +02:00
TomasVotruba
47e163dbe7 [NetteKdyby] Add ReplaceMagicPropertyEventWithEventClassRector 2020-05-25 13:05:22 +02:00
TomasVotruba
ec3b928c7d [CodingStyle] UnderscoreToCamelCaseVariableAndPropertyNameRector 2020-05-25 00:51:08 +02:00
TomasVotruba
f63f5b2790 [Privatization] Add property privatization rule 2020-05-24 22:16:53 +02:00
TomasVotruba
387ded5ecc [Kdyby to Contributte] Add Subscriber migration 2020-05-24 18:52:54 +02:00