305 Commits

Author SHA1 Message Date
Tomas Votruba
eb222877eb [StrictCodeQuality] Add freshly created node support to var inline assert 2019-10-08 18:30:32 +01:00
Tomas Votruba
01b4c78e47 skip required in delegating parent call method 2019-10-05 13:44:54 +02:00
Tomas Votruba
9271588573 [StrictCodeQuality] Add VarInlineAnnotationToAssertRector 2019-10-05 00:09:15 +02:00
Tomas Votruba
516505ea85 allow serialize type annotation for ClassMethod 2019-10-04 19:53:15 +02:00
Tomas Votruba
8f5ac69e2f make tag value matching more precise 2019-10-04 19:03:07 +02:00
Tomas Votruba
7fa3909acb decoupling 2019-10-02 20:29:57 +02:00
Tomas Votruba
598f228c6d decouple php doc ast node to factories 2019-09-27 14:40:09 +02:00
Tomas Votruba
de9baae58e [Php71] Add ListToArrayDestructRector 2019-09-26 01:58:16 +02:00
Tomas Votruba
419da7704b [Renaming] init new package 2019-09-23 16:36:58 +02:00
Tomas Votruba
ddba23034c [Refactoring] Add MoveAndRenameClassRector 2019-09-22 22:01:35 +02:00
Tomas Votruba
8e93626e32 [Doctrine] Add ChangeSetIdToUuidValueRector 2019-09-21 12:46:01 +02:00
Tomas Votruba
407c3dc7b3 add UseImportsRemover 2019-09-19 11:25:47 +02:00
Tomas Votruba
47e9f836ba fix miss-space in complex printer doc blocks 2019-09-19 00:58:01 +02:00
Tomas Votruba
e98965d982 decouple TableTagValueNodeFactory + add IndexTagValueNode 2019-09-18 13:59:59 +02:00
Tomas Votruba
e8991f0ae8 fix miss format on single line element 2019-09-17 11:17:59 +02:00
Tomas Votruba
a25282b266 relocate 2019-09-15 21:48:17 +02:00
Tomas Votruba
ce332b4e65 add AbstractFileSystemRectorTestCase + test 2019-09-15 18:07:16 +02:00
Tomas Votruba
056b0bbff9 fixing import rectors 2019-09-11 13:00:51 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
58f41a1eda separate uuid migration to 2 files 2019-09-10 15:14:36 +02:00
Tomas Votruba
6081373d39 [Doctrine] split id and relation migration to 2 steps 2019-09-10 11:49:01 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
9cc1c9909a remove CallableCollectorPopulator 2019-09-04 13:26:23 +02:00
Tomas Votruba
8b6331bc01 add AbstarctPriorityAwareTypeInferer 2019-09-02 10:47:09 +02:00
Tomas Votruba
e466a14616 add removeNodeFromStatements() method to remove statement by key easily 2019-08-31 10:44:41 +02:00
Tomas Votruba
e6de2a7d38 add Sensio TemplateTagValueNode 2019-08-30 09:56:56 +02:00
Tomas Votruba
93a71ce302 rename level to set to prevent confusion of duplicate 2019-08-29 22:50:37 +02:00
Tomas Votruba
a9931f2e7b [phpstan] remove extra errors 2019-08-28 12:04:33 +02:00
Tomas Votruba
51021de0a6 skip relation mirroring if target entity does not have uuid property 2019-08-28 12:02:33 +02:00
Tomas Votruba
bb73e893de [DoctrinePhpDocParser] Add relation tags and join column 2019-08-27 12:53:29 +02:00
Tomas Votruba
faaf605e19 update DoctrineColumnPropertyTypeInferer to work with doctrine annotation nodes 2019-08-26 21:58:01 +02:00
Tomas Votruba
42cbfd8905 [BetterPhpDocParser] Add support for parsing Doctrine annotations 2019-08-26 21:52:16 +02:00
Tomas Votruba
97db6114e7 cleanup phpstan errors 2019-08-19 16:52:02 +02:00
Tomas Votruba
03a5e8ae4e fix phpstan 0.11.14 compat 2019-08-17 15:33:45 +02:00
Tomas Votruba
70665ccad6 skip nested function returns 2019-08-17 14:59:10 +02:00
Tomas Votruba
1f9f5c7e0d add PHPUnitEnvironment 2019-08-10 13:11:22 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +02:00
Tomas Votruba
d22f3d009c trait resolving can work with missing vendor parent class 2019-08-05 14:57:29 +02:00
Tomas Votruba
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00
Tomas Votruba
02463d2bc3 cleanup phpstan errors 2019-08-04 20:49:03 +02:00
Tomas Votruba
9410c0039e add iterable return type for yield values in ReturnTypeDeclarationRector 2019-08-04 13:05:40 +02:00
Tomas Votruba
bc34d7895a set kernel and dummy id parameter to app symfony container 2019-07-30 13:27:08 +02:00
Tomas Votruba
4596d656b7 [CodingStyle] Add ManualJsonStringToJsonEncodeArrayRector 2019-07-24 16:28:32 +02:00
Tomas Votruba
dcb9c88e51 [SymfonyCodeQuality] Add EventListenerToEventSubscriberRector 2019-07-22 21:20:16 +02:00
Ravan Scafi
f33531b878
Fix tests according to review and a few typos 2019-07-09 11:27:55 -03:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Tomas Votruba
82a379dc2b fix InjectAnnotationClassRector for @var case 2019-07-02 17:07:11 +02:00
Tomas Votruba
6c0564a337 Add --rule option to process only single rule from set 2019-06-23 13:05:37 +02:00