504 Commits

Author SHA1 Message Date
Tim Ward
bc037a0002 Add new fixture to test new feature
Verifies that null isn't removed as a default value for properties that are typed to nullable.
2020-06-15 11:00:25 +02:00
Tim Ward
3bea6c8341 Don't remove null if the property is type hinted to nullable 2020-06-15 11:00:25 +02:00
kodiakhq[bot]
7329e4c25d
Merge pull request #3519 from rectorphp/filesytem-name
[Rector] Add UpdateFileNameByClassNameFileSystemRector
2020-06-14 22:54:41 +00:00
Tomas Votruba
39919f66a9
Merge pull request #3512 from UFTimmy/patch-2 2020-06-15 00:49:38 +02:00
TomasVotruba
ccc44f5b2e [Rector] Add UpdateFileNameByClassNameFileSystemRector 2020-06-15 00:48:40 +02:00
kodiakhq[bot]
1810e117c9
Merge pull request #3518 from rectorphp/replace-cleanup
Simplify ExplicitPhpErrorApiRector and remove replaceNode() use
2020-06-13 10:56:36 +00:00
TomasVotruba
407fb91e99 Simplify ExplicitPhpErrorApiRector 2020-06-13 12:45:38 +02:00
Tomas Votruba
e5e8955d66
Merge pull request #3487 from garas/cakephp-fluent-options 2020-06-12 16:26:53 +02:00
Edgaras Janušauskas
bfcf17c0fc Add ArrayToFluentCallRector 2020-06-12 15:09:24 +03:00
TomasVotruba
b5c5ae0f34 prevent exception on class duplicate rename, just skip 2020-06-11 18:22:28 +02:00
Tim Ward
199dc90679
Fix code style 2020-06-11 12:15:58 -04:00
Tim Ward
9e802ad8c4
Added fixture to test trait param type fix 2020-06-11 12:08:03 -04:00
Tim Ward
559216cb0a
Don't type hint to traits 2020-06-11 11:45:06 -04:00
TomasVotruba
2a7b506db3 add segfault prevention 2020-06-10 22:19:18 +02:00
TomasVotruba
e16559faf7 Fix AddDoesNotPerformAssertionToNonAssertingTestRector for mockery 2020-06-10 21:47:21 +02:00
TomasVotruba
2ad9dd97e4 skip non-existing method 2020-06-10 20:50:00 +02:00
TomasVotruba
c17b38aa43 [CodeQuality] Add ArrayThisCallToThisMethodCallRector 2020-06-10 20:35:59 +02:00
TomasVotruba
aff10cf014 [Autodiscovery] Do not nest already correct name 2020-06-10 19:59:15 +02:00
TomasVotruba
77dfc368d1 make sure pre-slashed is handled in prefixed 2020-06-09 11:59:41 +02:00
TomasVotruba
f47408af33 add array|RedirectResponse test to Template Rector 2020-06-09 11:55:12 +02:00
TomasVotruba
5fe6684891 replace annotation type 2020-06-08 23:47:56 +02:00
TomasVotruba
f29deb626f add compact support 2020-06-08 22:42:38 +02:00
TomasVotruba
90e09c1ca9 skip non-public method 2020-06-08 22:05:54 +02:00
kodiakhq[bot]
7124f074eb
Merge pull request #3492 from rectorphp/rename-property-read
Add support for rename of @property
2020-06-08 09:01:55 +00:00
TomasVotruba
f115fd6da6 Add support for rename of @property 2020-06-08 10:57:30 +02:00
TomasVotruba
0774576a86 [Restoratoin] Add RemoveUselessJustForSakeInterfaceRector 2020-06-08 10:30:56 +02:00
TomasVotruba
b98d937ffb fix child blocked property type 2020-06-07 17:08:11 +02:00
TomasVotruba
ff655f3360 add inject property test case 2020-06-07 16:44:16 +02:00
TomasVotruba
9016ebcfd9 add test case for nullable array in typed properties 2020-06-07 16:15:12 +02:00
TomasVotruba
2781a713cf fix skip non-class for nullable types 2020-06-07 13:47:37 +02:00
TomasVotruba
12e7e39b67 [PHP 7.4] Allow run typed properties on class-like types only 2020-06-07 13:08:18 +02:00
TomasVotruba
8c5deddea8 [Restoration] Add MakeTypedPropertyNullableIfCheckedRector 2020-06-07 11:19:28 +02:00
TomasVotruba
64215c43e6 [PHP 7.4] Prevent already used property name 2020-06-07 01:18:09 +02:00
TomasVotruba
53e9cc6c06 [PHP 7.4] Prevent child typed property override by abstract 2020-06-07 00:18:49 +02:00
TomasVotruba
f66e06a36c [NetteUtilsCodeQuality] Add ReplaceTimeNumberWithDateTimeConstantRector 2020-06-06 19:22:52 +02:00
TomasVotruba
2064255340 fix prefixed GetToConstructorInjectionRector classes 2020-06-06 18:31:09 +02:00
TomasVotruba
212cbd209e [PHP 7.4] Add conflicting short import typed property fix 2020-06-06 18:20:00 +02:00
TomasVotruba
72c627e1f9 [Sensio] Add RemoveServiceFromSensioRouteRector 2020-06-06 16:07:51 +02:00
TomasVotruba
420fdef26f [Sensio] Add @route migration to Symfony 2020-06-06 15:07:44 +02:00
TomasVotruba
2e78850f69 allow non-suffix dependency and fix no-route tag 2020-06-06 13:16:19 +02:00
TomasVotruba
68170d3ba5 inline UuidInterface class 2020-06-04 16:22:11 +02:00
TomasVotruba
c4595c7b69 update to php-parser 4.5 2020-06-03 11:39:18 +02:00
TomasVotruba
641016f129 [PHP 8.0] Add RemoveUnusedVariableInCatchRector 2020-06-03 09:31:06 +02:00
TomasVotruba
bd23afd28c fix import list annotatoin 2020-06-03 00:45:32 +02:00
TomasVotruba
129260805f use typo in rector argument 2020-06-03 00:38:28 +02:00
TomasVotruba
f5c9450478 correct ExceptionAnnotationRector description 2020-06-03 00:07:15 +02:00
TomasVotruba
b0daf5e50e fix directory name 2020-06-02 18:20:07 +02:00
TomasVotruba
56e2449918 [PHP 8.0] Add TokenGetAllToObjectRector 2020-06-02 18:12:19 +02:00
TomasVotruba
b717da698b split ListEachRector and WhileEachToForeachRector test cases 2020-05-31 19:22:44 +02:00
TomasVotruba
ecc0971bf7 improve WhileEachToForeachRector 2020-05-31 19:19:16 +02:00