140 Commits

Author SHA1 Message Date
TomasVotruba
0188d802d2 use SmartFileSystem over Nette FileSystem 2020-07-24 14:39:10 +02:00
TomasVotruba
3a9375007e decouple Set package 2020-07-21 01:39:24 +02:00
TomasVotruba
2f927842a7 move sets to single /set directory 2020-07-21 00:46:53 +02:00
TomasVotruba
ee9d0439cf make use of Set constants 2020-07-20 01:06:56 +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
9c7cbc65ad [rector] apply on the rest 2020-07-19 21:05:14 +02:00
TomasVotruba
0d3306250f [utils] switch YAML to PHP 2020-07-18 19:56:27 +02:00
TomasVotruba
9a5a8fe081 [Utils] Add RequireStringArgumentInMethodCallRule 2020-07-13 14:53:00 +02:00
rector-bot
642d42326f fixup! remove func call from methods calls 2020-07-06 00:04:12 +00:00
TomasVotruba
3c3c3a9530 remove func call from methods calls 2020-07-06 01:59:41 +02:00
TomasVotruba
dfd4458254 add StrictMixedTypeMapper 2020-07-05 23:37:07 +02:00
TomasVotruba
c16481e2f5 [CI] simlify jobs to matrix 2020-07-05 23:37:07 +02:00
TomasVotruba
78a97fb8bf typos, skip empty class 2020-07-01 22:28:58 +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
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
c504062ec2 add typed property if on PHP 7.4 2020-06-24 15:09:50 +02:00
TomasVotruba
da09614b2e Add @mixin support from PHPStan 2020-05-16 12:54:59 +02:00
TomasVotruba
6e9592e152 update sync-types with new param 2020-05-16 12:54:59 +02:00
TomasVotruba
97040249f1 use Symplify SeeAnnotationToTestRule 2020-05-09 20:44:14 +02:00
TomasVotruba
153da89118 add FindFirstInstanceOfReturnTypeExtension 2020-05-09 20:44:14 +02:00
TomasVotruba
c8111834b3 add builder types 2020-05-07 01:32:26 +02:00
TomasVotruba
1795cd538c run phpstan on utils 2020-05-07 01:10:51 +02:00
TomasVotruba
7b1813f00e fix lock to Rector named class only 2020-05-07 00:55:37 +02:00
TomasVotruba
0ca2340595 [utils] add schema for phpstan rules 2020-05-07 00:53:47 +02:00
TomasVotruba
4dc366bf93 make SeeAnnotationToTestRule more generic 2020-05-07 00:52:43 +02:00
TomasVotruba
b7d1789518 move phsptan rules one directory up 2020-05-07 00:45:05 +02:00
TomasVotruba
b0bd524e53 apply constant decouple 2020-05-06 23:40:31 +02:00
TomasVotruba
491a417842 various @todo resolved 2020-05-06 17:37:27 +02:00
TomasVotruba
ff8d50e93a remove preslash custom type 2020-05-05 22:33:00 +02:00
TomasVotruba
94160332e1 [utils] improve SeeAnnotationToTestRule to check reference to test case class 2020-05-05 22:09:56 +02:00
TomasVotruba
2bb5bb3418 make rule to check for see test case 2020-05-05 22:06:18 +02:00
TomasVotruba
8e0deaa2b4 handle Symplify 7.3 deprecations in CS 2020-05-03 21:10:05 +02:00
TomasVotruba
a952cac41c complete @see annotation, minor improvements 2020-05-03 16:07:56 +02:00
TomasVotruba
7f396171f9 [Utils] Add SeeAnnotationToTestRule 2020-05-03 15:41:50 +02:00
TomasVotruba
61aeeaeebd improve PHPStan rules for Rector 2020-05-03 15:02:18 +02:00
TomasVotruba
00b3184eb3 [Naming] Add RenamePropertyToMatchTypeRector 2020-05-02 22:36:11 +02:00
TomasVotruba
d30ae052a0 workaround constant resolving in doc parser to keep original constant values on print 2020-04-29 21:24:01 +02:00
TomasVotruba
1612ef2165 [PHP 8.0] Add attributes v2 2020-04-29 00:25:45 +02:00
TomasVotruba
93c033809a publish dump-rectors command with 3rd party install 2020-04-26 23:25:34 +02:00
TomasVotruba
d6a090a685 make DumpRectorsCommand accept argument - directory to Rector rules 2020-04-26 16:30:13 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
1cd6803847 [CodeQuality] Fix CompactToVariablesRector for unknown names 2020-04-24 23:53:29 +02:00
TomasVotruba
913d4f89b6 fix auto_import disabling 2020-04-24 23:47:59 +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
d865f69793 [DX] Add validate fixture suffix 2020-04-23 21:36:19 +02:00
TomasVotruba
1ecd30818a remove unused print method 2020-04-20 09:45:15 +02:00
TomasVotruba
5f4a2c1e3b Add changed files caching 2020-04-20 01:54:17 +02:00
TomasVotruba
4c4e56b168 make use of isStaticCallNamed() 2020-04-05 00:52:49 +02:00