3066 Commits

Author SHA1 Message Date
TomasVotruba
99f15621be fix docs space test 2020-02-25 01:24:10 +01:00
TomasVotruba
d074d5169a Fix FinalizeClassesWithoutChildrenRector for embedable 2020-02-23 23:25:58 +01:00
TomasVotruba
4f86ccc349 remove dead constants 2020-02-23 22:22:12 +01:00
TomasVotruba
8347a4c784 [JMS] Add RemoveJmsInjectParamsAnnotationRector and RemoveJmsServiceAnnotationRector 2020-02-23 18:44:19 +01:00
TomasVotruba
18b96e61f5 replace SHORT_NAME with short name interface 2020-02-23 17:11:51 +01:00
TomasVotruba
cef900323f add add ShortNameAwareTagInterface 2020-02-23 16:14:23 +01:00
TomasVotruba
eeb43d2b01 rector ci: enable solid + fix class const privatization for using parent 2020-02-23 16:03:39 +01:00
TomasVotruba
bc24bb12ff prevent getName() on StaticCall or MethodCall 2020-02-21 16:41:33 +01:00
TomasVotruba
5318f7c8d1 Fix incorrect regexes to preserve doc tags spacing 2020-02-21 14:49:50 +01:00
TomasVotruba
99eeeabee2 fix nested array dim fetch resolving type 2020-02-21 01:52:45 +01:00
TomasVotruba
bf97e8767f fix tab indent 2020-02-20 03:29:46 +01:00
TomasVotruba
3dd1e7ca69 make callable print closest as possible 2020-02-19 01:28:25 +01:00
TomasVotruba
466b69b897 improve callable type 2020-02-19 00:54:28 +01:00
Tomas Votruba
f5e5906ee8
Merge pull request #2881 from snapshotpl/callable_type
Callable type falling tests
2020-02-19 00:25:23 +01:00
TomasVotruba
1ad8f08ccd [SOLID] Add ChangeReadOnlyVariableWithDefaultValueToConstantRector 2020-02-18 23:59:07 +01:00
Witold Wasiczko
d907822a35
Callable type falling tests 2020-02-18 10:58:11 +01:00
TomasVotruba
868a56ad5a fix test location 2020-02-17 01:52:05 +01:00
Tomas Votruba
dba5604685
Merge pull request #2697 from Aerendir/failing-test-case-for-2696
Failing test case for #2696.
2020-02-17 01:28:17 +01:00
TomasVotruba
1498108d95 fix single line comment 2020-02-17 00:03:28 +01:00
TomasVotruba
6d0e77fe1a skip traits in CountOnNullRector 2020-02-16 19:07:37 +01:00
TomasVotruba
895f09b150 fix paths 2020-02-16 18:42:57 +01:00
Tomas Votruba
b8c730dc5c
Merge pull request #2631 from gnutix/AddArrayReturnDocTypeRector/skip-parent-phpdoc
[AddArrayReturnDocTypeRector] sets a less specific type in child method (mixed[]) than is defined in parent method (SomeObject[])
2020-02-16 18:29:16 +01:00
TomasVotruba
8cd2cfee5b fix callable print [closes #2841] 2020-02-16 18:13:52 +01:00
Tomas Votruba
58df5c5f31
Merge pull request #2859 from rectorphp/const-property
Apply properties to constants rule from SOLID
2020-02-16 17:51:17 +01:00
Tomas Votruba
49eb6ef5f7
Merge pull request #2650 from gnutix/CountOnNullRector/should-understand-variables-in-trait-methods
[CountOnNullRector] Should understand array/countable variable in trait method
2020-02-16 17:50:30 +01:00
TomasVotruba
d1b4779889 apply properties to constants rule from SOLID 2020-02-16 17:47:00 +01:00
TomasVotruba
401d0aeaf6 fix namespaces, fixtures, add getThrowsTypes() 2020-02-14 23:35:40 +01:00
TomasVotruba
3bb87fcc1c correct location 2020-02-14 21:20:46 +01:00
Tomas Votruba
5113d23776
Merge branch 'master' into 2824-annotate-throwables 2020-02-14 20:34:43 +01:00
Aerendir
f3449d886f Prepare to manage the other cases. 2020-02-14 17:29:16 +01:00
TomasVotruba
d4a32b4e1b improve create command 2020-02-14 15:48:45 +01:00
TomasVotruba
bf722ad9b5 move nette to rules 2020-02-14 10:51:33 +01:00
Aerendir
bd691a6dc5 Improve namings. 2020-02-14 03:04:20 +01:00
TomasVotruba
42c5141d70 [Renaming] Add RenameFuncCallToStaticCallRector 2020-02-13 17:12:38 +01:00
TomasVotruba
2a779b86c2 rename generator to rules 2020-02-13 17:10:07 +01:00
TomasVotruba
daba8df475 improve original format in CallableTypeNode 2020-02-13 15:39:15 +01:00
TomasVotruba
6072707458 decouple RegexPatternDetector 2020-02-13 11:09:51 +01:00
TomasVotruba
11f401daf9 fix ChangeQuerySetParametersMethodParameterFromArrayToArrayCollection location 2020-02-13 11:09:07 +01:00
Tomas Votruba
6d944620b4
Merge pull request #2821 from vladyslavstartsev/setParameters-to-ArrayCollection
rector for doctrine setParameters method
2020-02-12 10:48:37 +01:00
Aerendir
9fa8812571 Fix a partial import. 2020-02-12 01:52:47 +01:00
Aerendir
d4d733c1fa #2824: Improve names of variables. 2020-02-12 01:23:24 +01:00
Aerendir
d2460d4cec #2824: Support functions. 2020-02-12 01:15:05 +01:00
Aerendir
12670ed9df #2824: Automatically add to DocBlock comments the thrown \Throwables. 2020-02-12 00:57:48 +01:00
TomasVotruba
bc5eefdb76 improve AddSeeTestAnnotationRector 2020-02-11 14:40:59 +01:00
TomasVotruba
4aac338d20 improve ParamTypeDeclarationRector complexity 2020-02-11 14:11:47 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00
Vladyslav Startsev
118cfd282e implemented basic of moving from array to ArrayCollection in setParameters method.
Only works in if you extend basic EntityRepository, but for all types
(Doctrine\ORM\Query, Doctrine\ORM\NativeQuery, Doctrine\ORM\QueryBuilder)
2020-02-11 00:12:01 +02:00
TomasVotruba
1abb9835e5 fix missing attribute aware 2020-02-10 10:56:32 +01:00
TomasVotruba
8d47291c96 decouple PhpParser mappers to StaticTypeMapper 2020-02-10 10:30:13 +01:00
TomasVotruba
2a930f893d decopule StaticTypeMapper, NameScopeFactory and StirngTypeToPhpParserNodeMapper 2020-02-10 10:17:05 +01:00