8964 Commits

Author SHA1 Message Date
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
0f0fc8e8b8 remove replaceNode() method 2020-06-13 12:52:53 +02: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
TomasVotruba
57fc2ab344 [PHPUnit 6.0] add createMockBuilder() to getMockBuilder() rename 2020-06-12 14:28:14 +02:00
Edgaras Janušauskas
fafd401770 Add CakePHP set to convert array options to fluent method calls 2020-06-12 15:09:24 +03:00
Edgaras Janušauskas
bfcf17c0fc Add ArrayToFluentCallRector 2020-06-12 15:09:24 +03:00
TomasVotruba
ee863810df [PHPUnit] Extends namespace migration with exact class rename 2020-06-12 09:56:34 +02:00
TomasVotruba
b5c5ae0f34 prevent exception on class duplicate rename, just skip 2020-06-11 18:22:28 +02: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