8955 Commits

Author SHA1 Message Date
Tim Ward
559216cb0a
Don't type hint to traits 2020-06-11 11:45:06 -04:00
Tomas Votruba
1b2eeb177a
Merge pull request #3511 from markstory/cake-41
Add rector rules for deprecated features in CakePHP 4.1
2020-06-11 09:01:22 +02:00
Mark Story
282ad2bf28 Add rector rules for deprecated features in CakePHP 4.1 2020-06-10 22:04:38 -04:00
TomasVotruba
2a7b506db3 add segfault prevention 2020-06-10 22:19:18 +02:00
Tomas Votruba
04dc889333
Merge pull request #3509 from rectorphp/does-not-perform-assertion
Fix AddDoesNotPerformAssertionToNonAssertingTestRector for mockery
2020-06-10 21:51:53 +02:00
TomasVotruba
e16559faf7 Fix AddDoesNotPerformAssertionToNonAssertingTestRector for mockery 2020-06-10 21:47:21 +02:00
kodiakhq[bot]
8f995ca6b2
Merge pull request #3508 from UFTimmy/patch-2
Fix regex to account for windows.
2020-06-10 18:52:46 +00:00
TomasVotruba
2ad9dd97e4 skip non-existing method 2020-06-10 20:50:00 +02:00
Tim Ward
b38b14d9ef
Fix regex to account for windows.
The fixtures files are all \n, so when the tests were run from windows none matched with PHP_EOL.
The new regex will match line endings of either OS.
2020-06-10 14:47:40 -04:00
kodiakhq[bot]
5edcae8d69
Merge pull request #3507 from rectorphp/code-quality-call-array
[CodeQuality] Add ArrayThisCallToThisMethodCallRector
2020-06-10 18:39:30 +00:00
TomasVotruba
c17b38aa43 [CodeQuality] Add ArrayThisCallToThisMethodCallRector 2020-06-10 20:35:59 +02:00
kodiakhq[bot]
999296fd48
Merge pull request #3506 from rectorphp/skip-move-of-already
[Autodiscovery] Do not nest already correct name
2020-06-10 18:02:26 +00:00
TomasVotruba
aff10cf014 [Autodiscovery] Do not nest already correct name 2020-06-10 19:59:15 +02:00
TomasVotruba
630d17494b make property protected if used by child v0.7.33 2020-06-10 01:23:00 +02:00
TomasVotruba
f11fed5756 make injected variable protect, if used by children 2020-06-10 01:02:49 +02:00
Tomas Votruba
bd520cafd4
Merge pull request #3505 from rectorphp/inject-parent-construct
add parent::__construct() in case of existing empty ctor
v0.7.32
2020-06-10 00:22:53 +02:00
TomasVotruba
9230abdfe3 add parent::__construct() in case of existing empty ctor 2020-06-10 00:18:46 +02:00
kodiakhq[bot]
2ff01578e5
Merge pull request #3502 from rectorphp/inject-typed-property
[Architecture] Add typed property support for @inject to ctor rule
v0.7.31
2020-06-09 21:08:58 +00:00
TomasVotruba
c1ce340308 skip abstract class 2020-06-09 23:05:11 +02:00
TomasVotruba
5a2641f876 decouple skip_autowired test case 2020-06-09 22:56:42 +02:00
TomasVotruba
6e33fe0565 add typed property support 2020-06-09 22:43:28 +02:00
TomasVotruba
0f0f01f495 update namespace to fit standard 2020-06-09 22:39:09 +02:00
TomasVotruba
6fab6b166e make param name constistent v0.7.30 2020-06-09 14:15:19 +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
Tomas Votruba
cbbca8004a
Merge pull request #3499 from RusiPapazov/phprectorinterface-doc-update
Update documentation link in PhpRectorInterface
2020-06-09 11:46:54 +02:00
Rusi Papazov
e162f1cbe8 Update documentation link in PhpRectorInterface 2020-06-09 11:23:04 +03:00
Tomas Votruba
c96bcf0703
Merge pull request #3498 from rectorphp/return-type-array
Add return type replacement in TemplateAnnotationRector
2020-06-08 23:51:52 +02:00
TomasVotruba
5fe6684891 replace annotation type 2020-06-08 23:47:56 +02:00
Tomas Votruba
6200b970e3
Merge pull request #3494 from berezuev/patch-1
Fix typo in rector_rules_overview.md
2020-06-08 22:55:20 +02:00
Tomas Votruba
ffb673e12e
Merge pull request #3497 from rectorphp/template 2020-06-08 22:43:48 +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
Alexey Berezuev
5b37fee195 Fix typo in rector_rules_overview.md
Change classname in ReturnThisRemoveRector example
2020-06-08 23:04:54 +03:00
TomasVotruba
f39acbafb2 use private for local constant 2020-06-08 19:15:15 +02:00
Tomas Votruba
0c2a331f10
Merge pull request #3496 from rectorphp/constant-table-fix 2020-06-08 17:50:25 +02:00
TomasVotruba
1b746e72c3 add TableTagValueNode to standardized printing group 2020-06-08 17:43:51 +02:00
TomasVotruba
3a03f66ae9 add @ORM\Table constant name test 2020-06-08 17:37:11 +02:00
Tomas Votruba
6f2940baf6
Merge pull request #3495 from rectorphp/name-on-method-call-fix 2020-06-08 17:33:38 +02:00
TomasVotruba
fa5319bf74 add sensio tag to one with = instead of : 2020-06-08 17:16:16 +02:00
TomasVotruba
e35b506fd0 fix method call name 2020-06-08 17:01:11 +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
Tomas Votruba
2a11d78ade
Merge pull request #3491 from rectorphp/restoration-remove-sake-interface
[Restoration] Add RemoveUselessJustForSakeInterfaceRector
2020-06-08 10:36:28 +02:00
TomasVotruba
0774576a86 [Restoratoin] Add RemoveUselessJustForSakeInterfaceRector 2020-06-08 10:30:56 +02:00
Jan Mikeš
5c3e482755
Merge pull request #3460 from codereviewvideos/patch-1
Update docker commands to remove container on exit
2020-06-08 09:17:52 +02:00
TomasVotruba
690e2e9546 [scoper] exclude classes used in public 2020-06-08 01:55:51 +02:00
TomasVotruba
74c010651d event subscriber is part of code 2020-06-08 01:53:25 +02:00
TomasVotruba
2f8473a88d fix typo 2020-06-08 01:45:52 +02:00
Tomas Votruba
62d8a69fb6
Merge pull request #3488 from ondrejmirtes/fixes 2020-06-08 01:24:22 +02:00