323 Commits

Author SHA1 Message Date
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
b4c9c3419f improve ArrayTypeMapper with TypeNormalizer 2020-05-05 17:22:54 +02:00
TomasVotruba
ccd2760a77 make use of getProperty() method 2020-05-05 16:51:12 +02:00
TomasVotruba
73991b3153 add DataProviderTagValueNode 2020-05-05 16:37:29 +02:00
TomasVotruba
73a5c61a92 drop FixDataProviderAnnotationTypoRector, fixing typos in single docblock annotation is too narrow 2020-05-05 15:43:55 +02:00
TomasVotruba
25e142ec59 decopule AbstractWithFunctionToNetteUtilsStringsRector 2020-05-05 14:24:56 +02:00
TomasVotruba
ec3a84e8d3 decouple IsAbleRector for is_countable and is_iterable abstraction 2020-05-05 14:24:56 +02:00
TomasVotruba
e8ac877527 remove @todo from fixtures 2020-05-05 14:24:56 +02:00
TomasVotruba
8e51ff8ead decouple CommentCombiner 2020-05-05 14:24:56 +02:00
TomasVotruba
69dfe3cf96 Fix multi-comment malforming 2020-05-05 00:19:45 +02:00
TomasVotruba
05ac65ac83 add = for @Route options separator 2020-05-04 19:53:36 +02:00
TomasVotruba
e15003ad21 [Order] Add OrderPropertyByComplexityRector 2020-05-04 02:48:48 +02:00
TomasVotruba
68680a3cdb [Order] Add OrderPublicInterfaceMethodRector 2020-05-04 00:10:46 +02:00
TomasVotruba
cc794711ad [CakePHP to Symfony] Deprecate unfinished set 2020-05-03 23:30:59 +02:00
TomasVotruba
c3e82579e4 [Order] Add OrderPrivateMethodsByUseRector 2020-05-03 23:03:03 +02:00
TomasVotruba
ef5501d06c various cs cleanup 2020-05-03 21:33:36 +02:00
TomasVotruba
f64f468ac1 apply cs 2020-05-03 21:23:58 +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
ab4fe09dc3 [cs] update variable names 2020-05-03 13:38:00 +02:00
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