108 Commits

Author SHA1 Message Date
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
880b74cf46 Resolve sprintf pre-assign case for StringToArrayArgumentProcessRector 2018-12-06 15:26:42 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
68b7076fd0 remove YamlRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:13:36 +01:00
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
54d13ece1d refactor with JoinWrongAndCorrectRector 2018-12-04 16:48:11 +01:00
Tomas Votruba
8dba0bd34f refactor /packages by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
7c6a8be85e simlify tests by SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:53:11 +01:00
Tomas Votruba
bef084c11c drop manual rebuilds, fast enough
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:19:21 +01:00
Tomas Votruba
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Tomas Votruba
9faa7fbd4b [PHP] Add *ScalarTypehintRector + *TypeInfo
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 15:55:46 +01:00
Ben Davies
7cbe2a3620 add support for class names as service ids 2018-11-13 10:20:31 +00:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
7deeab99ec merge ClassLikeMaintainer + ClassDependencyMaintaienr to ClassMaintainer 2018-11-04 20:13:03 +01:00
Tomas Votruba
1d56621757 move Builder under PhpParser\Node namespace 2018-11-04 19:06:27 +01:00
Tomas Votruba
aaf409eed2 move php-parser related code under PhpParser namespace, add Maintainer type for services reading/writing to nodes 2018-11-04 02:17:02 +01:00
Tomas Votruba
058c7d8c56 move PropertyFetchNodeFactory to NodeFactoryTrait 2018-11-03 23:05:29 +01:00
Tomas Votruba
67eebbc0fe move MethodCallNodeFactory to NodeFactoryTrait 2018-11-03 22:39:44 +01:00
Tomas Votruba
d71d6a1f12 make use of NodeFactoryTrait 2018-11-03 21:53:08 +01:00
Tomas Votruba
c3558f65c4 [CodingStyle] Add NullableCompareToNullRector + add NodeFactoryTrait + cleanup 2018-11-03 18:01:19 +01:00
Tomas Votruba
37c1301c5e [Symfony] Add RootNodeTreeBuilderRector 2018-11-02 16:43:06 +01:00
Tomas Votruba
c4aa54142f [Symfony] Add ArrayArgumentProcessRector 2018-11-02 10:31:09 +01:00
Tomas Votruba
a33074bdf5 remove rename identifier helper method, too overdetailed 2018-10-31 21:43:43 +01:00
Tomas Votruba
218366f762 [cs] apply private method order 2018-10-31 16:35:15 +01:00
Tomas Votruba
05e5df7406 [cs] apply property sort 2018-10-31 16:35:15 +01:00
Tomas Votruba
2125e24e1f normalize printer to keep 1 single line in the end + apply to code 2018-10-27 14:57:53 +02:00
Tomas Votruba
075707447a [Symfony] Add FormTypeInstanceToClassConstRector 2018-10-24 12:06:35 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
a9ce1c8e4c Add ArrayAnalyzer and CascadeValidationFormBuilderRector 2018-10-22 14:12:53 +02:00
Tomas Votruba
d2bde9f3d4 [Symfony] Add /ReadOnlyOptionToAttributeRector [closes #595] 2018-10-21 19:19:15 +02:00
Tomas Votruba
a65faf7597 [Symfony] Refactor OptionNameRector to typed checks 2018-10-21 18:50:52 +02:00
Tomas Votruba
4cee626ee4 Remove MethodArgumentAnalyzer 2018-10-21 15:38:21 +02:00
Tomas Votruba
79910b73c6 make GetRequest use unique names [closes #610] 2018-10-21 14:27:50 +02:00
Tomas Votruba
7dcde279f9 make use of NameResolver in Rector 2018-10-21 14:03:20 +02:00
Tomas Votruba
3233316053 Make ConstructorMethodBuilder respect parent constructor 2018-10-20 09:38:49 +02:00
Tomas Votruba
70ea05352d [JMS] Add JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
c1901ba9c0 Add ClassPropertyCollectorTrait 2018-10-18 17:31:32 +02:00
Tomas Votruba
966882e489 GetToConstructorInjectionRector - merge type args 2018-10-17 12:19:11 +02:00
Tomas Votruba
ba0c3eea95 apply this Rector to code 2018-10-15 21:49:45 +08:00
Tomas Votruba
5745eab201 apply this Rector to code 2018-10-15 21:04:55 +08:00
Tomas Votruba
da570b7205 make use of BetterStandardPrinterTrait in Rectors 2018-10-15 18:09:27 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
d4009b3888 Add NameAnalyzerTrait 2018-10-15 14:36:25 +08:00
Tomas Votruba
3cb093f87f init getTypes() remove in other analyzers 2018-10-15 10:35:45 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
0934960e6d make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names 2018-10-13 23:13:13 +08:00
Tomas Votruba
70985f695c Fix GetRequestRector method name resolving of non-string name [closes #646] 2018-10-12 10:41:35 +08:00
Tomas Votruba
f435da5a77 fix Symfony Bridge 2018-09-27 13:56:47 +08:00
Tomas Votruba
3cf4bf9563 drop METHOD_CALL_NAME, use Analyzer instead 2018-09-21 07:52:12 +02:00