35 Commits

Author SHA1 Message Date
TomasVotruba
7ed4cb19c4 simplify config globs 2020-07-25 20:14:28 +02:00
TomasVotruba
44040eba97 [Nette] Add external form factory support 2020-07-24 17:16:37 +02:00
Jonathan Goode
7da3310cf6 Move existing Rector from the coding-style set to the php70 set 2020-07-21 10:23:25 +01:00
TomasVotruba
3a9375007e decouple Set package 2020-07-21 01:39:24 +02:00
TomasVotruba
c2c1066374 [rector] apply on rules 2020-07-19 20:52:42 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02: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
19685f35e3 apply cs 2020-07-08 01:48:44 +02:00
TomasVotruba
3c3c3a9530 remove func call from methods calls 2020-07-06 01:59:41 +02:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
3d0d42dcc1 fixup! code style 2020-06-21 12:08:41 +02:00
TomasVotruba
6a53e7014f code style 2020-06-21 12:03:35 +02:00
Derrick Schoen
7fc8036946 Fix syntax
Remove unused variable
2020-06-20 19:48:52 -04:00
derrickschoen
ba657c6fe1
Update rules/php70/tests/Rector/MethodCall/ThisCallOnStaticMethodToStaticCallRector/Fixture/fixture.php.inc
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-20 19:41:06 -04:00
derrickschoen
a3a039a0c0
Update rules/php70/tests/Rector/MethodCall/ThisCallOnStaticMethodToStaticCallRector/Fixture/fixture.php.inc
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-20 19:40:50 -04:00
Derrick Schoen
7cbf77f952 Make the test use RunnableInterface 2020-06-20 19:20:12 -04:00
Derrick Schoen
c2da307e2d If a class could be inherited, "$this->"" needs to become "static::" instead of "self::" 2020-06-19 09:09:46 -04:00
TomasVotruba
9922ba600b make Rector description required for dumping documentation 2020-06-16 13:47:57 +02:00
TomasVotruba
0c67709fd0 [Legacy] Add FunctionToStaticMethodRector 2020-05-13 15:50:30 +02:00
TomasVotruba
28c18eb663 make use of isLocalMethodCallNamed() 2020-05-09 22:37:22 +02:00
TomasVotruba
b0bd524e53 apply constant decouple 2020-05-06 23:40:31 +02:00
TomasVotruba
8e0deaa2b4 handle Symplify 7.3 deprecations in CS 2020-05-03 21:10:05 +02:00
TomasVotruba
00b3184eb3 [Naming] Add RenamePropertyToMatchTypeRector 2020-05-02 22:36:11 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
8082b3a2f2 [PHP 8.0] Add str_starts_with 2020-04-23 23:06:36 +02:00
TomasVotruba
98b1277549 various suffix fixes 2020-04-23 22:31:58 +02:00
TomasVotruba
00797bbce3 [CodeQuality] Add SplitListScalarAssignToSeparateLineRector 2020-04-19 16:20:08 +02:00
TomasVotruba
dd3db1d28b fix ThisCallOnStaticMethodToStaticCallRector in prefixed rector 2020-04-08 17:33:08 +02:00
TomasVotruba
c68b31f636 fix generics 2020-04-03 00:48:44 +02:00
TomasVotruba
a1e5ecd7c2 generics 2020-04-03 00:38:36 +02:00
TomasVotruba
626287ec76 apply privatization 2020-03-29 00:06:05 +01:00
TomasVotruba
d608507f2e rename PHP sets to comply with standard 2020-03-24 23:44:42 +01:00