153 Commits

Author SHA1 Message Date
TomasVotruba
da7e38528f uniquate test classes 2019-12-21 13:23:13 +01:00
TomasVotruba
b6fb373a56 [PHPUnit] Add get_class double sided to AssertCompareToSpecificMethodRector 2019-12-16 14:56:51 +01:00
TomasVotruba
e5972f2a45 fix cs 2019-12-15 19:35:48 +01:00
TomasVotruba
53eda0bb8e use new Symplify 7 2019-11-23 18:49:27 +01:00
TomasVotruba
a3693df310 use exclude as list 2019-11-22 20:10:39 +01:00
TomasVotruba
5f523b5727 [PHPUnit][Symfony] Add jakzal-injetor Rector 2019-11-18 16:21:11 +01:00
TomasVotruba
8d4ec5152b Fix parent interface, extends, implements same name as short name 2019-11-14 17:59:37 +01:00
TomasVotruba
14acb884cd [PHPUnit 8.0] Add ReplaceAssertArraySubsetWithDmsPolyfillRector 2019-11-14 17:08:10 +01:00
TomasVotruba
6384f729e6 [PHPUnit] Fix #2279 2019-11-14 16:12:48 +01:00
TomasVotruba
bb7125361e [Nette] Add SetClassWithArgumentToSetFactoryRector 2019-11-14 13:01:23 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
e4bf0e923c add coding-style set + apply 2019-11-05 13:05:14 +01:00
Tomas Votruba
ced5f813aa add dead-code set to CI, make NameResolver exception on method call more verbose 2019-10-30 23:33:11 +01:00
Tomas Votruba
cbe41dc497 apply 2019-10-30 21:46:36 +01:00
Tomas Votruba
617f2cd5d7 simplify isName() 2019-10-30 21:46:36 +01:00
Tomas Votruba
1620cf0211 apply code-quality 2019-10-30 15:38:30 +01:00
Tomas Votruba
40c49710e9 [cs] reoder private methods by call order 2019-10-30 10:49:07 +01:00
Dave Liddament
d61d175178 FIX AddDoesNotPerformAssertionToNonAssertingTest
Fix bug where rector added @doesNotPerformAssertion when using
2019-10-29 16:18:13 +00:00
Tomas Votruba
848c43dc6d [PHPUnit] Add WithConsecutiveArgToArrayRector 2019-10-27 14:29:28 +01:00
Tomas Votruba
340e38e5f6 optimize AssertComparisonToSpecificMethodRector 2019-10-26 12:14:39 +02:00
Tomas Votruba
8d1b732d0f use ->name on method call 2019-10-24 11:54:47 +02:00
Tomas Votruba
160601c294 fix method case name [skip ci] 2019-10-17 18:51:08 +02:00
Tomas Votruba
495ace61c6 apply on self 2019-10-17 18:48:03 +02:00
Tomas Votruba
042e1c45e0 [PHPUnit 6] Add AddDoesNotPerformAssertionToNonAssertingTestRector 2019-10-13 17:01:38 +02:00
Tomas Votruba
9f3f49437e [PHPUnit] [Doc] Add FixDataProviderAnnotationTypoRector 2019-10-13 08:32:06 +02:00
Tomas Votruba
d1118c1ab4 [PHPUnit] [Doc] Add EnsureDataProviderInDocBlockRector 2019-10-13 08:21:10 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
8246bcb38a [PHPUnit] Add RemoveDataProviderTestPrefixRector 2019-10-11 12:03:07 +01:00
Jonas Elfering
f2bf84a9d4 Add fixture for phpunit x>y to greaterThan refactoring
Fixes: https://github.com/rectorphp/rector/issues/1726
2019-10-04 15:15:11 +02:00
Tomas Votruba
b4dcb809af fix @TODO malfforms 2019-10-02 20:45:51 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
HypeMC
6cc4c56bba Fix various typos is code samples 2019-09-22 00:13:26 +02:00
Tomas Votruba
d6d48ea44b make ShouldNotHappenException smarter 2019-09-21 13:30:03 +02:00
Tomas Votruba
3f6fddee71 make DocBlockManipulator protected in AbstractRector + add ColumnGenerator annotatoin parsing 2019-09-19 17:30:31 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
07708261d2 fix cs 2019-09-17 13:21:29 +02:00
Tomas Votruba
2244dad326 [tests] add PhpVersionFeature value object + fix public of protected function 2019-09-15 16:37:38 +02:00
Tomas Votruba
fe3152e817 add AssignManipulator + misc 2019-09-14 17:51:14 +02:00
Tomas Votruba
aa5bfc4921 fix array to provider rule 2019-09-13 08:32:33 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
b700e2f9ad add variable_name to ArrayArgumentInTestToDataProviderRector and fix array nesting 2019-09-12 10:18:26 +02:00
Tomas Votruba
2c3d2616c6 improve class rename in doc blocks 2019-09-11 16:02:35 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
c040e15fb5 add @see why to data providers 2019-09-10 15:20:07 +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
84f72f7c4a [PHPUnit] Add array call to data provider 2019-09-04 10:51:54 +02:00
Tomas Votruba
f94d567f38 decouple ComposerAutoloadedDirectoryProvider 2019-09-03 14:46:47 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00