750 Commits

Author SHA1 Message Date
Tomas Votruba
86614bba3a [Architecture] Add failing test for #700 2018-10-16 20:53:22 +08:00
Tomas Votruba
120dc7c538 Expand SimplifyConditionsRector by Identical comparisons 2018-10-15 21:04:55 +08:00
Tomas Votruba
0e33b525fe Remove unused methods 2018-10-15 14:36:25 +08:00
Tomas Votruba
a3ab7916d2 Make MethodCallToAnotherMethodCallWithArgumentsRector many-configurable 2018-10-14 18:23:41 +08:00
Tomas Votruba
5f98af9333 Make PropertyAssignToMethodCallRector many-configurable 2018-10-14 18:23:41 +08:00
Tomas Votruba
f3654b1719 Make PropertyAssignToMethodCallRector many-configurable 2018-10-14 18:23:41 +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
461b5f3e3c [CodeQuality] Add SimplifyStrposLowerRector 2018-10-13 18:01:33 +08:00
Tomas Votruba
336623c70b [CodeQuality] Add SimplifyFuncGetArgsCountRector 2018-10-13 17:46:46 +08:00
Tomas Votruba
48b75e9ad6 [CodeQuality] Add SimplifyArraySearchRector 2018-10-13 17:35:23 +08:00
Tomáš Votruba
ccf4fd02e3
Merge pull request #677 from rectorphp/cq-get-class
[CodeQuality] Add GetClassToInstanceOfRector
2018-10-13 12:51:44 +08:00
Tomas Votruba
aee1866dee [CodeQuality] Add GetClassToInstanceOfRector 2018-10-13 12:46:52 +08:00
Gabriel Caruso
ad3df19eb0
Create SimplifyConditionsRector 2018-10-12 20:12:47 -03:00
Tomas Votruba
a7ac28679a [CodeQuality] Add CombinedAssignRector 2018-10-13 00:51:39 +08:00
Tomas Votruba
a8ef98e2b5 Apply FinderSanitizer to make sure all files exists and have content [closes #655] 2018-10-12 10:24:07 +08:00
Tomas Votruba
3660362e32 apply simple config on levels 2018-10-06 09:26:35 +08:00
Tomas Votruba
c64cbcbcb7 tests: silent deprecations, since they are in tests 2018-10-05 19:16:11 +08:00
Tomas Votruba
5b65bb52fa tests: fix conflicting validating by autoloading only Wrong files in tests 2018-10-04 15:24:53 +08:00
Tomas Votruba
488ef3b40a init MultipleClassFileToPsr4ClassesRector 2018-09-29 00:12:35 +08:00
Tomas Votruba
75f2611722 use symplify/phpstan-extensions 2018-09-28 01:29:27 +08:00
Tomas Votruba
06865fb2af tests: delegate spaces to CS tool 2018-09-28 00:12:10 +08:00
Tomas Votruba
4b4547d3cc use FQN in tests, delegate to coding standard tool 2018-09-27 22:33:15 +08:00
Ben Davies
f0ddbbec97 add a few test to highlight issues with AnnotatedPropertyInjectToConstructorInjectionRector 2018-09-27 14:49:47 +01:00
Tomas Votruba
81d1697d14 init NormalToFluentRector 2018-09-26 19:34:51 +08:00
Tomas Votruba
b30fa8a047 bump to php-parser 4.0.4 2018-09-21 14:09:32 +02:00
Tomas Votruba
73c663b711 fix paths 2018-09-21 13:44:52 +02:00
Tomas Votruba
db385652c8 add SplFileInfo->getRealPath() custom type provider for PHPStan to save many irelevant reports 2018-09-21 07:50:14 +02:00
Tomas Votruba
bff2dfb805 Make PropertyToMethodRector work with getter with arg 2018-09-21 07:50:14 +02:00
Tomas Votruba
316830f50c MethodNameReplacerRector - fix variable type of identifier 2018-09-16 19:30:17 +02:00
Tomas Votruba
b0652d0f65 fix get request for GetRequestRector [closes #594] 2018-09-11 20:46:11 +02:00
Tomas Votruba
1c51f5d9bf allow loading --config and --level together [closes #613] 2018-08-30 22:23:51 +02:00
Tomas Votruba
8c41f00ac7 cleanups 2018-08-29 23:05:49 +02:00
Tomas Votruba
5817e17234 Add 'exclude_paths' option to exclude files or directories [closes #609] 2018-08-29 23:05:49 +02:00
Tomas Votruba
caf75e1810 add BetterStandardPrinterTest 2018-08-29 19:45:02 +02:00
Tomas Votruba
b9c9005d78 manual update 2018-08-15 11:11:15 +02:00
Tomas Votruba
44e5cf4adf fix cs 2018-08-14 13:44:33 +02:00
Tomas Votruba
87a5cf6ed7 fix tests - remove .inc 2018-08-14 13:32:40 +02:00
Tomas Votruba
d8b430ff72 split ValueObjectRemoverDocBlockRector 2018-08-14 13:29:14 +02:00
Tomas Votruba
af316e4918 merge MetadataAttribute, TypeAttribute and Attribute to single Attribute 2018-08-14 13:29:14 +02:00
Tomas Votruba
45ca92729d symplify PropertyTypeResolver 2018-08-14 13:28:46 +02:00
Tomas Votruba
e12b99318d remove ClearedFluentMethodCollector 2018-08-13 12:25:11 +02:00
Tomas Votruba
930b7ba089 decouple FluentReplaceRector test and cleanup usage 2018-08-13 12:18:27 +02:00
Tomas Votruba
7e3f1bc273 Remove @return annotation as well 2018-08-13 11:54:31 +02:00
Tomas Votruba
4cbcded68e make ReturnThisRemoveRector configurable 2018-08-13 11:54:31 +02:00
Tomas Votruba
4c4aeaa29a decouple ReturnThisRemoveRector 2018-08-12 20:54:08 +02:00
Tomas Votruba
e917735190 Add FunctionReplacerRector [closes #571] 2018-08-12 13:06:07 +02:00
Tomas Votruba
39d3d37b3a Add StaticCallToFunctionRector [closes #555] 2018-08-11 12:22:29 +02:00
Tomas Votruba
e398014a97 add guzzle50 init set 2018-08-11 11:57:24 +02:00
Tomas Votruba
2783013a5b Add namespaced function call test 2018-08-11 11:09:44 +02:00
Tomas Votruba
1db0b88115 Add FunctionToStaticCallRector [closes #556] 2018-08-11 11:05:46 +02:00