48 Commits

Author SHA1 Message Date
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
447c2ead87 naming conventions for test fixtures 2020-02-02 18:37:04 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
6ef6f073b6 [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
661d2c8e54 fix array indent 2019-05-28 18:27:38 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
220038d215 improve GetAndSetToMethodCallRector 2019-04-02 23:21:18 +02:00
Tomas Votruba
c5f51e5cb1 [MagicDisclosure] Fix property assign magic call [closes #1190] 2019-04-02 16:31:58 +02:00
Tomas Votruba
6ac2397583 fix cs 2019-03-08 19:41:43 +00:00
Tomáš Votruba
a642c048ec
Merge pull request #1149 from shyim/fix-get-and-set-method-rector
Fix GetAndSetToMethodCallRector in class itself
2019-03-08 19:35:13 +00:00
Tomáš Votruba
48bef01e7e
fix tests 2019-03-08 19:34:23 +00:00
Shyim
09712e553e
Update fixture3.php.inc 2019-03-05 08:04:34 +01:00
Shyim
58d1232840
Update fixture3.php.inc 2019-03-05 08:03:43 +01:00
Soner Sayakci
9bec6b96d0 Fix GetAndSetToMethodCallRector on if conditions 2019-03-04 23:55:07 +01:00
Soner Sayakci
79d2faf5a6 Fix GetAndSetToMethodCallRector in class itself 2019-03-04 23:17:34 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +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
7ac6f10039 refactor /tests by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3eeaaa7625 run test
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 14:15:39 +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
9e58fda70f Remove active from ToStringMethodCallRector 2018-10-31 20:57:26 +01:00
Tomas Votruba
650d7a4547 Remove active from GetAndSetToMethodCallRector 2018-10-31 20:57:26 +01:00
Tomas Votruba
fedb932115 add missing @see references to Rector tests 2018-10-21 19:39:54 +02:00
Tomas Votruba
3660362e32 apply simple config on levels 2018-10-06 09:26:35 +08:00
Tomas Votruba
3bcc6e5e9d remove unused MethodReflector, PropertyReflector, slim SmartClassReflector 2018-08-06 12:35:26 +02:00
Tomas Votruba
962495cda3 [GetAndSetToMethodCallRector] decouple dependency on specific class 2018-05-31 19:47:56 +02:00
Tomas Votruba
dc3fca8729 apply ArrayToYieldDataProviderRector 2018-04-14 23:43:58 +02:00
TomasVotruba
0ea3040021 MagicDisclosureRector tests: add arguments 2018-03-03 21:06:27 +01:00
TomasVotruba
7687929d1d use services instead of rectors as key 2018-03-03 21:06:27 +01:00
TomasVotruba
55964b9497 unite config location 2018-02-24 18:33:21 +01:00
TomasVotruba
295dff559f cleanup getRectorClasses() and fix AbstractConfigurableRectorTestCase 2018-02-24 18:25:30 +01:00
TomasVotruba
37e3f851f9 cleanup 2018-02-24 16:18:14 +01:00
TomasVotruba
fde6ede9bc fix dir rename 2017-12-25 17:05:12 +01:00
TomasVotruba
5cdfd61a9f use @dataProvider test format 2017-12-25 17:01:02 +01:00
TomasVotruba
68c35b8055 use @dataProvider test format 2017-12-25 16:54:50 +01:00
TomasVotruba
36b0e6a6ad [tests] rename generic Test.php names to specific ones 2017-12-25 16:48:34 +01:00
TomasVotruba
6787673953 [MagicDisclosure] add ToStringToMethodCallRector [closes #123] 2017-11-18 15:39:10 +01:00
TomasVotruba
73d7b76c1a merge Get and Set Rector 2017-10-17 23:04:38 +02:00
TomasVotruba
8fec7aff34 Merge Isset and Unset Rectors to one 2017-10-17 22:46:19 +02:00
TomasVotruba
ed747a4044 [MagicDisclosure] IssetToMethodCallRector init 2017-10-17 19:08:12 +02:00
TomasVotruba
b89abf1d09 fix conflicts 2017-10-17 18:50:55 +02:00
TomasVotruba
32842400dd [MagicDisclosure] add SetToMethodCallRector 2017-10-17 18:45:50 +02:00
TomasVotruba
7c6346dc90 [MagicDisclosure] GetToMethodCallRector init 2017-10-17 16:20:15 +02:00