122 Commits

Author SHA1 Message Date
Tomas Votruba
558fa593c3 Add RegexDashEscapeRector 2018-12-16 15:22:46 +01:00
Tomas Votruba
3ce2e41a03 remove unused configs 2018-12-16 02:39:26 +01:00
Tomas Votruba
605419a0d4 improve CreateFunctionToAnonymousFunctionRector 2018-12-16 02:05:31 +01:00
Tomas Votruba
6ed11cc2ef improve SimplifyForeachToCoalescingRector 2018-12-15 21:31:14 +01:00
Tomas Votruba
62dd290641 apply code-quality level 2018-12-15 21:08:00 +01:00
Tomas Votruba
2f92e5e111 add FunctionLikeNodeCollector, improve RemoveExtraParametersRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
3376254f77 Add CreateFunctionToAnonymousFunctionRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
daa8f01688 Add StringsAssertNakedRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8f57b231ba add getValue(), isValue() and areValues() to AbstractRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8b43393e6a Add TernaryToSpaceshipRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
e7e01659ef Add ParseStrWithResultArgumentRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
f3398e3acb Add ReduceMultipleDefaultSwitchRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8d783a68bd Add RemoveExtraParametersRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
cac89cbb9a add NullCoalescingOperatorRector 2018-12-14 22:45:07 +01:00
Tomas Votruba
f4e883f6f2 add IsObjectOnIncompleteClassRector 2018-12-14 22:31:21 +01:00
Tomas Votruba
321bc830f4 add GetClassOnNullRector 2018-12-14 22:17:56 +01:00
Tomas Votruba
e40dd5a962 clean 2018-12-14 20:52:16 +01:00
Tomas Votruba
d376e90319 add Mysql to Mysqli set 2018-12-13 12:16:39 +01:00
Tomas Votruba
45248dee04 Add AssertEqualsParameterToSpecificMethodsTypeRector 2018-12-11 13:02:28 +01:00
Tomas Votruba
26c190bdb4 add mixed and variadic cases to *ScalarTypehintRector 2018-12-09 15:26:26 +01:00
Tomas Votruba
baabc5937e add trait in child class support to ScalarTypehintRector 2018-12-08 21:59:56 +01:00
Tomas Votruba
5df19a36e3 correct support for applied rectors 2018-12-08 16:04:27 +01:00
Tomas Votruba
d8d76d72b4 move FilesToReprtingCollector to new cycle in RectorApplication 2018-12-08 15:33:38 +01:00
Tomas Votruba
a6d2d52eac temporary changes of AppliedRectorsCollector and re-runners 2018-12-08 13:30:32 +01:00
Tomas Votruba
fd9d66110f extend tests 2018-12-08 00:37:48 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
47ad07d4b0 improve child type resolving with nullable and different namespace 2018-12-07 21:22:11 +01:00
Tomas Votruba
43874f6aa7 merge IntegrationRectorTestCaseTrait to Abstract test case 2018-12-07 20:47:55 +01:00
Tomas Votruba
a00ae17ab9 cleanup 2018-12-07 19:09:09 +01:00
Tomas Votruba
86ed54d316 add findClassesAndInterfacesByType() 2018-12-07 19:06:27 +01:00
Tomas Votruba
d60e21c0a0 add support for override of already checked file 2018-12-07 19:01:51 +01:00
Tomas Votruba
cc2d9b7c73 prevent override of parent missing param 2018-12-07 19:01:51 +01:00
Tomas Votruba
19f4478f74 update Integration to Fixture namespace in tests 2018-12-07 13:48:40 +01:00
Tomas Votruba
036d7b9940 add support for false/true 2018-12-07 13:48:40 +01:00
Tomas Votruba
cf5129c10b add return support 2018-12-06 17:35:29 +01:00
Tomas Votruba
f52cc58dae add check for interface vendor-lock-in in AbstractScalarTypehintRector 2018-12-06 17:00:53 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
9475576257 fix preg_match made array type [closes #786]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:48:53 +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
3e74cf4c85 tests cleanup
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
14580c07e7 add old way to IntegrationRectorTestCaseTrait
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:50:16 +01:00
Tomas Votruba
beccd42e42 use integration tests
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:13:43 +01:00
Tomas Votruba
14d9b9a3aa remove unused traits
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:00:41 +01:00
Tomas Votruba
ac909ace06 CountOnNullRectorTest - change to integration
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:57:37 +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
c16e48974c resolve anonymous assert name phpstan vs php-parser incompatbility
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 19:35:45 +01:00