23 Commits

Author SHA1 Message Date
Tomas Votruba
45248dee04 Add AssertEqualsParameterToSpecificMethodsTypeRector 2018-12-11 13:02:28 +01:00
Tomas Votruba
ba3d0707e6 remove unused configs 2018-12-10 16:40:09 +01:00
Tomas Votruba
a59e35678c Add SpecificAssertInternalTypeRector 2018-12-10 16:01:14 +01:00
Tomas Votruba
e1a386054b [PHPUnit] Add SpecificAssertContainsRector 2018-12-10 16:01:14 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
837606ab50 add assertNot* cases to AssertTrueFalseToSpecificMethodRector 2018-12-06 02:30:36 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +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
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Gabriel Caruso
3ba2759970
[PHPUnit] Convert iterator_count into assertCount 2018-11-18 13:19:15 -02:00
Gabriel Caruso
5d304b3aee
[PHPUnit] Fix AssertCompareToSpecificMethodRector false positives
When a property, method or variable has one of the names to be
refactored, e.g. `count`, it gets wrong refactored
2018-10-21 14:00:00 -03:00
Tomas Votruba
486f7f4b64 [PHPUnit] Add SimplifyForeachInstanceOfRector 2018-10-21 13:17:20 +02:00
Tomas Votruba
5c3067c95d fix StringFormTypeToClassRector 2018-09-21 07:50:14 +02:00
Tomas Votruba
d3a8f76acb make AdditionalAutoloader tolerant 2018-09-21 07:50:14 +02:00
Tomas Votruba
f4fb5a2529 surround string with # 2018-08-31 14:45:57 +02:00
Tomas Votruba
a11f9f98e1 add expectExceptionMessageRegExp support 2018-08-31 14:45:57 +02:00
Tomas Votruba
6b4c049b3a add test cases for exception code and multiple lines in try 2018-08-31 14:17:49 +02:00
Tomas Votruba
f2cfaa8c96 init TryCatchToExpectExceptionRector 2018-08-31 01:41:32 +02:00
Tomas Votruba
0bed1c2711 fix PHPUnit Rectors 2018-08-06 12:35:26 +02:00
Tomas Votruba
bb4340e855 fix class autoloading 2018-06-02 16:48:46 +02:00
Tomas Votruba
efe9aab684 move ArrayToYieldDataProvider to PHPUnit group 2018-06-02 16:28:34 +02:00
Tomas Votruba
1202dae5e3 move PHPUnit Rectors to own package 2018-06-02 13:29:48 +02:00