302 Commits

Author SHA1 Message Date
TomasVotruba
163b7831cb add support for nullable type 2020-05-03 13:26:26 +02:00
TomasVotruba
d539160980 make few rules silent on no change to prevent false positive reports on changed nodes 2020-05-03 13:18:59 +02:00
TomasVotruba
e2240a0eca fix suffix renamer 2020-05-03 13:12:38 +02:00
TomasVotruba
3d5c07f191 add support for alias in PropertyNaming 2020-05-03 13:00:29 +02:00
TomasVotruba
8d1b254715 [Naming] Fix duplicate name on already existing 2020-05-03 12:53:25 +02:00
TomasVotruba
012fe62736 [Naming] Decopule ConflictingNameResolver and ExpectedNameResolver 2020-05-02 23:36:39 +02:00
TomasVotruba
00b3184eb3 [Naming] Add RenamePropertyToMatchTypeRector 2020-05-02 22:36:11 +02:00
TomasVotruba
653e5353bb [SOLID] Add AddFalseDefaultToBoolPropertyRector 2020-05-02 12:03:03 +02:00
TomasVotruba
cae1c0a727 break line of long example 2020-05-02 11:51:01 +02:00
TomasVotruba
f5b40ed6ca [Performance] Add PreslashSimpleFunctionRector 2020-05-01 18:22:02 +02:00
TomasVotruba
e59db0f400 add first multi type node factory - MultiPhpDocNodeFactory 2020-04-30 13:18:11 +02:00
TomasVotruba
34ebf58020 cleanup 2020-04-30 10:03:28 +02:00
TomasVotruba
d818fe21dc moving to generic tag node 2020-04-30 09:38:17 +02:00
TomasVotruba
993550c9e9 [PHP 8.0] Add get_debug_type 2020-04-29 23:36:13 +02:00
TomasVotruba
70de9d742b [PHP 8.0] Add static type 2020-04-29 23:06:38 +02:00
TomasVotruba
a6b85af2cb [Php80] Add ClassOnObjectRector 2020-04-29 22:02:09 +02:00
TomasVotruba
b0836bde3c use propety over property property 2020-04-29 13:53:06 +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
8507cec9a1 [Nette] Fix preg_match_all() to Nette\Utils migrations 2020-04-25 19:11:54 +02:00
TomasVotruba
c64a71ecad phsptan fixes 2020-04-25 16:45:36 +02:00
TomasVotruba
81f00b2366 add IS_REGULAR_PATTERN constant 2020-04-25 16:41:02 +02:00
TomasVotruba
90bb9cb05b make dotrine inferer skip non doc 2020-04-25 01:23:55 +02:00
TomasVotruba
1cd6803847 [CodeQuality] Fix CompactToVariablesRector for unknown names 2020-04-24 23:53:29 +02:00
TomasVotruba
298df2dae1 [CodeQuality] Add UnusedForeachValueToArrayKeysRector 2020-04-24 19:14:30 +02:00
TomasVotruba
93dffbea56 [PHP 8.0] Add Stringable 2020-04-24 14:09:25 +02:00
TomasVotruba
bf4265cd2c rename FunctionReflectionHelper to FunctionAnnotationResolver, cover with test 2020-04-24 14:07:55 +02:00
TomasVotruba
c84f5c171b simplify throws class resolving 2020-04-24 01:21:05 +02:00
TomasVotruba
833435037a [PHP 8] Add str_ends_with 2020-04-24 00:54:57 +02:00
TomasVotruba
55a122d205 StrStartWith refactoring 2020-04-24 00:22:46 +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
9d83fb64c3 [Restoration] Add RemoveFinalFromEntityRector 2020-04-22 22:49:07 +02:00
TomasVotruba
a5c8afa805 add generic quote support for tag value nodes 2020-04-22 12:25:22 +02:00
Tomas Votruba
915faa886b
Merge pull request #3118 from rectorphp/caching-result
Add cache for un-changed files
2020-04-20 09:51:47 +02:00
TomasVotruba
1ecd30818a remove unused print method 2020-04-20 09:45:15 +02:00
TomasVotruba
440e4af280 [PHPUnit] Fix ExceptionAnnotationRector for null phpdoc 2020-04-20 09:40:21 +02:00
TomasVotruba
5f4a2c1e3b Add changed files caching 2020-04-20 01:54:17 +02:00
TomasVotruba
0939387553 use getProperty() 2020-04-19 23:27:37 +02:00
TomasVotruba
192c4464ec various improvements 2020-04-19 23:17:01 +02:00
TomasVotruba
00797bbce3 [CodeQuality] Add SplitListScalarAssignToSeparateLineRector 2020-04-19 16:20:08 +02:00
TomasVotruba
c6bc133cb3 [PHPUnit] Add strict param to ReplaceAssertArraySubsetRector 2020-04-19 01:16:27 +02:00
TomasVotruba
b30eccb246 [PHP 7.3] Fix regex slash escaping 2020-04-18 20:57:50 +02:00
TomasVotruba
4384712663 [Privatization] Make PrivatizeLocalOnlyMethodRector skip entities 2020-04-17 15:52:53 +02:00
TomasVotruba
925f117825 fix mixed false postive 2020-04-16 15:53:10 +02:00
TomasVotruba
814e6a1d5c add typed property test with mixed and PHP 7.4 2020-04-16 15:44:36 +02:00
TomasVotruba
7b8b482a96 fix RemoveCodeAfterReturnRector for arrow function 2020-04-16 15:32:58 +02:00
TomasVotruba
9d28884f99 Type and Choice fixes 2020-04-16 15:01:31 +02:00