184 Commits

Author SHA1 Message Date
Agata
fa242fec31 Fixed third argument in VarDumperTestTrait. 2019-10-01 22:07:51 +02:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
89e21ea68b merge NodeToStringTypeResolver, StaticTypeToStringResolver, PHPStan\StaticTypeToStringResolver to StaticTypeMapper 2019-09-04 12:23:03 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
Tomas Votruba
2a0d0d7ac1 from helper methods to isStaticType() with PHPStan object typing 2019-09-03 10:06:04 +02:00
Tomas Votruba
04d01ffdfe add Symfony Validator annotations 2019-08-30 23:08:03 +02:00
Tomas Votruba
596986120d fix doctine removal compat 2019-08-30 16:40:56 +02:00
Tomas Votruba
e6de2a7d38 add Sensio TemplateTagValueNode 2019-08-30 09:56:56 +02:00
Tomas Votruba
8811c900ea use AST for Symfony annotations 2019-08-30 00:55:23 +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
fbe425746e [dx] make should not happen more informative 2019-08-26 18:47:46 +02:00
Tomas Votruba
bc34d7895a set kernel and dummy id parameter to app symfony container 2019-07-30 13:27:08 +02:00
Joseph Bielawski
f5aee66f2f
[Symfony] Use Symfony bridge interface for doctrine service
Autowire is using `Symfony\Bridge\Doctrine\RegistryInterface` not the Doctrine one.
2019-07-25 12:12:29 +02:00
Tomas Votruba
2b1e07399d make SymfonyContainer factory configurable with kernel_environment 2019-07-21 10:06:53 +02:00
Joseph Bielawski
6d23c758a4 [Symfony] Set few default common service names for Symfony App Analyzer
Allow to set custom ones via configuration
2019-07-04 13:55:37 +02:00
Tomas Votruba
154a4e4012 Fix ContainerGetToConstructorInjectionRector to add parent::__construct() to commands 2019-07-04 12:37:01 +03:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Joseph Bielawski
7f3f6bb0af
[MakeCommandLazyRector] Remove duplicated check 2019-07-03 16:31:37 +02:00
Tomas Votruba
da0b9658e6 [Symfony] Make set symfony42 refactor get(...) in former container aware commands 2019-07-02 22:08:45 +02:00
Tomas Votruba
27a824d9c2 [Symfony] Fix GetRequestRector overlap to non-controllers 2019-06-15 15:40:50 +02:00
Tomas Votruba
eecfdbf2d1 add Musement sponsor 2019-06-14 12:01:49 +02:00
Tomas Votruba
7c60f52450 skip analysis of new anonymous classes in method call [closes #1574] 2019-06-07 14:07:48 +02:00
Tomas Votruba
b91749477f add MagicEventeDispatcher test case for RemoveExtraParametersRector 2019-06-05 18:06:07 +02:00
Tomas Votruba
4a3fee7223 make test Symfony back and forth compatible 2019-06-05 17:48:40 +02:00
Tomas Votruba
f046ed6457 remove redundant class constant in MakeDispatchFirstArgumentEventRector 2019-06-05 17:48:40 +02:00
Tomas Votruba
c3c4574266 Fix reporting of changed nodes [close #1534] 2019-06-05 16:37:54 +02:00
Tomas Votruba
f02b639549 fix cs 2019-06-05 16:37:54 +02:00
Tomas Votruba
bdabc78cf5 remove redundant class constant in MakeDispatchFirstArgumentEventRector 2019-06-05 16:37:54 +02:00
Tomas Votruba
f4cefb18d3 add CallableNodeTraverserTrait 2019-06-04 23:39:57 +03:00
Tomas Votruba
590c98cf52 [Symfony] Add MakeCommandLazyRector 2019-06-04 13:54:44 +03:00
Tomas Votruba
068329b141 [Symfony] Add MakeCommandLazyRector 2019-06-02 18:06:51 +03:00
PéCé
40e8d794ef Fix source doc file 2019-05-29 15:27:35 +02:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +02:00
Tomas Votruba
83d2219ca7 [TypeDeclaration] Add AddFunctionReturnTypeRector 2019-05-10 14:55:55 +02:00
Tomas Votruba
3ab113cf53 [Symfony] Add MakeDispatchFirstArgumentEventRector 2019-05-09 11:58:44 +02:00
Tomas Votruba
25258e1028 fix cs 2019-05-01 00:49:59 +02:00
Tomas Votruba
faa737fe42 [Symfony] Fix GetRequestRector for get non method calls [closes #1356] 2019-04-29 12:58:29 +02:00
Tomas Votruba
c616a0698f restore test case 2019-04-29 12:58:29 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
d86c440572 fix cs 2019-04-21 20:02:14 +03:00
Tim Bernhard
1825bcbeb5 use as Symfony default env to fix issue #1319 2019-04-21 13:15:37 +02:00
Tomas Votruba
0973ceb8be apply import on packages 2019-04-17 22:28:45 +02:00
Tomas Votruba
998f10bf26 move node adding responsibility from NodeCollectorNodeVisitor to ParsedNodesByType 2019-04-14 00:20:05 +02:00
Tomas Votruba
b986e2fc00 fix code-quality 2019-04-14 00:20:05 +02:00
Tomas Votruba
30536957e0 merge collected nodes to ParsedNodesByType 2019-04-14 00:20:05 +02:00
Tomas Votruba
18b09f1aef [Symfony 4.3] Add SimplifyWebTestCaseAssertionsRector 2019-04-13 15:00:04 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
e34a29ad15 Add BuilderFactory to AbstractRector 2019-04-13 01:32:50 +02:00