Commit Graph

50 Commits

Author SHA1 Message Date
TomasVotruba
81954f8f66 [CodingStyle] Fix extra new-line for EncapsedString 2019-11-08 01:09:55 +01:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +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
Tomas Votruba
8d1b732d0f use ->name on method call 2019-10-24 11:54:47 +02:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
9ef3801b41 cleanup 2019-09-28 13:18:11 +02:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
d6d48ea44b make ShouldNotHappenException smarter 2019-09-21 13:30:03 +02:00
Tomas Votruba
ca7d0cba15 use PHP highlight for herenow doc 2019-09-18 09:14:06 +02:00
Tomas Votruba
87458fa45a regex improvements 2019-09-17 13:40:34 +02:00
Tomas Votruba
2e5ddcbc54 improve InlineValidationRulesToArrayDefinitionRector 2019-09-17 13:34:18 +02:00
Tomas Votruba
07708261d2 fix cs 2019-09-17 13:21:29 +02:00
sashabeton
5f93c58bcc Add some cases in fixture 2019-09-17 11:14:42 +03:00
sashabeton
274f58301d Create stub for FormRequest 2019-09-16 15:29:08 +03:00
sashabeton
0d24f71e1a Fix phpstan error 2019-09-16 14:43:01 +03:00
sashabeton
eb1ba48ad9 Create fixes after pulling changes 2019-09-16 14:39:38 +03:00
sashabeton
49d4077139 Merge branch 'master' into inline-validation-rules-to-array-definition-rector 2019-09-16 14:36:36 +03:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
sashabeton
e222ea36c8 Merge branch 'master' into inline-validation-rules-to-array-definition-rector 2019-09-10 16:24:38 +03:00
sashabeton
4d81457623 Beautify methods' namings 2019-09-10 11:20:10 +03:00
sashabeton
3f53e60b71 Extend NodeFactory, beautify code 2019-09-10 11:14:54 +03:00
Tomas Votruba
82efb89940 use object types over strings 2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b add @see annotations 2019-09-03 14:05:21 +02:00
sashabeton
e192c2f284 Fix phpstan warnings 2019-08-28 18:16:22 +03:00
sashabeton
88b5fa0b7c Create rector for transforming validation rules to a prettier format 2019-08-28 17:49:04 +03:00
Tomas Votruba
fbe425746e [dx] make should not happen more informative 2019-08-26 18:47:46 +02:00
sashabeton
c316d0a2d9 Add missed key in config definition, add test case for it 2019-08-12 15:31:19 +03:00
sashabeton
5719cdaab2 No need to pass args on empty args 2019-08-12 15:18:46 +03:00
sashabeton
9806f6c564 Create new parameter method_if_no_args, fix transforming back() function, add back file to test cases
https://github.com/rectorphp/rector/issues/1824
2019-08-12 14:49:34 +03:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +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
92bed77b05 [Laravel] Fix MinutesToSecondsInCacheRector DateTimeInterface argument 2019-04-26 00:33:24 +02:00
Tomas Votruba
7c9df2cefe rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project 2019-04-13 14:21:36 +02:00
Tomas Votruba
bbad5b83ae bump phpstan to 0.11.5 2019-03-27 17:46:25 +01:00
Tomas Votruba
130be71958 fix name type 2019-03-11 00:01:26 +00:00
Tomas Votruba
3048ef0d70 add Request class support 2019-03-10 20:12:31 +00:00
Tomas Votruba
994adbb4c6 add support for input() call 2019-03-10 19:51:13 +00:00
Anton Zdanov
52e2b62f32 test(RequestStaticValidateToInjectRector): add test case for function 2019-03-10 19:51:06 +00:00
Tomas Votruba
399a8ad549 [Laravel] Add request() to injection 2019-03-10 19:50:44 +00:00
Anton Zdanov
a77daa3ede
test(RequestStaticValidateToInjectRector): add alias test case 2019-03-10 19:36:16 +02:00
Tomas Votruba
b22d8921d7 [Laravel] Add HelperFunctionToConstructorInjectionRector 2019-03-10 15:16:55 +00:00
Tomas Votruba
4a27d61ccd [Laravel] Add Redirect301ToPermanentRedirect 2019-03-08 23:30:29 +00:00
Tomas Votruba
708029e7a3 [Laravel] Add RequestStaticValidateToInjectRector 2019-03-04 13:13:31 +01:00
Tomas Votruba
37868819b8 make MinutesToSecondsInCacheRector vendor code independent 2019-03-04 09:41:24 +01:00
Tomas Votruba
2769f7a25d [Laravel] Add MinutesToSecondsInCacheRector 2019-03-04 09:35:40 +01:00
Tomas Votruba
22c833e302 add Laravel 58 set 2019-03-04 00:08:52 +01:00
Tomas Votruba
ca7780dfda [Laravel] Add FacadeStaticCallToConstructorInjectionRector 2019-03-03 23:34:53 +01:00