9011 Commits

Author SHA1 Message Date
TomasVotruba
ba8fb649a4 add isSilentKeyAndImplicit() 2020-06-16 11:55:59 +02:00
TomasVotruba
0af401c91a decouple ArrayPartPhpDocTagPrinterTrait 2020-06-16 11:37:43 +02:00
TomasVotruba
cde3eda53c fix quoting of value in phpdocp 2020-06-16 10:06:37 +02:00
TomasVotruba
1777d3a444 decouple replaceColonWithEqualInSymfonyAndDoctrine() 2020-06-16 10:04:11 +02:00
Tomas Votruba
5664b58aee
Merge pull request #3426 from bitgandtter/master 2020-06-16 10:01:42 +02:00
Tomas Votruba
20dba21b8e
Merge pull request #3529 from rectorphp/excel-set-shared-style
Add test case for #3514
2020-06-16 09:44:32 +02:00
TomasVotruba
1dd4c70483 Add test case for #3514 2020-06-15 17:44:25 +02:00
kodiakhq[bot]
8a01bbd2f5
Merge pull request #3528 from rectorphp/coding-style-const-value-sort
[Order] Add OrderClassConstantsByIntegerValueRector
2020-06-15 15:12:30 +00:00
TomasVotruba
654d97c602 [Order] Add OrderClassConstantsByIntegerValueRector 2020-06-15 17:07:52 +02:00
kodiakhq[bot]
5290aaddd5
Merge pull request #3527 from rectorphp/phpunit90
Add PHPUnit 9.0 regex method name changes
2020-06-15 14:33:13 +00:00
TomasVotruba
8989b2da05 add PHPUnit 9.0 regex method name changes 2020-06-15 16:28:10 +02:00
kodiakhq[bot]
375f30db22
Merge pull request #3526 from rectorphp/callable-array
Fix for array of callable print in phpdoc
2020-06-15 14:24:15 +00:00
TomasVotruba
b4c88a04a7 remove spaces after quote, as convention 2020-06-15 16:19:55 +02:00
TomasVotruba
9135bff8eb add brackets in case of array of callables in php doc 2020-06-15 16:19:01 +02:00
TomasVotruba
508954fc74 add test case for array/callable 2020-06-15 16:11:34 +02:00
kodiakhq[bot]
5d4c004dae
Merge pull request #3525 from rectorphp/fix-spready-int-only
[PHP 7.4] Make array spread work only for integer keys
2020-06-15 13:40:16 +00:00
TomasVotruba
b7ef016f7d [PHP 7.4] Make spready work only for integer keys 2020-06-15 15:35:54 +02:00
kodiakhq[bot]
b001b36590
Merge pull request #3524 from rectorphp/repeated-expr
skip encapsed string from constant extraction
2020-06-15 13:27:31 +00:00
TomasVotruba
5b8bf939a6 skip encapsed string from constant extraction 2020-06-15 15:23:23 +02:00
kodiakhq[bot]
e9ebf725d4
Merge pull request #3523 from rectorphp/nullable
add NullableTypeMapper
2020-06-15 13:20:42 +00:00
TomasVotruba
9335397123 add NullableTypeMapper 2020-06-15 15:16:05 +02:00
kodiakhq[bot]
5938f63c00
Merge pull request #3522 from rectorphp/fix-template-tag
fix @template tag preposition
2020-06-15 10:29:33 +00:00
TomasVotruba
26b00c7b13 fix of/as 2020-06-15 12:25:37 +02:00
TomasVotruba
4132d9d885 add test case for as/of template tag 2020-06-15 12:25:37 +02:00
TomasVotruba
abb11dcdcf relocate slug under Gedmo namespace 2020-06-15 12:08:42 +02:00
kodiakhq[bot]
e1dd00ed9f
Merge pull request #3521 from rectorphp/fix-comment
fix nested comment in nested foreach to if
2020-06-15 10:03:23 +00:00
TomasVotruba
d1e5990531 fix nested comment in nested foreach to if 2020-06-15 11:58:12 +02:00
Tomas Votruba
363483fe1f
Merge pull request #3503 from derrickschoen/EarlyContinueBugWhenThereIsACommentInsideIfStatement
I found a bug with the ChangeNestedForeachIfsToEarlyContinueRector
2020-06-15 11:56:02 +02:00
Tomas Votruba
1aa2356e28
Merge pull request #3520 from rectorphp/fix-multi-assign
skip multi assign ChangeReadOnlyVariableWithDefaultValueToConstantRector
2020-06-15 11:24:18 +02:00
TomasVotruba
43da75f2e1 skip multi assign ChangeReadOnlyVariableWithDefaultValueToConstantRector 2020-06-15 11:18:24 +02:00
TomasVotruba
710a23ccea update phpstan 2020-06-15 11:00:25 +02:00
Tim Ward
9ef5dc3e26 Update rules/dead-code/tests/Rector/Property/RemoveNullPropertyInitializationRector/TypedPropertiesRemoveNullPropertyInitializationRectorTest.php
Require at least php 7.4

Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-06-15 11:00:25 +02:00
Tim Ward
96cfe58a5b Create TypedPropertiesRemoveNullPropertyInitializationRectorTest.php 2020-06-15 11:00:25 +02:00
Tim Ward
f54fd18b98 Delete typed_properties.php.inc 2020-06-15 11:00:25 +02:00
Tim Ward
58aa6bf001 Move TypedPropertyClass
To its own fixture folder
2020-06-15 11:00:25 +02:00
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
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
Tim Ward
199dc90679
Fix code style 2020-06-11 12:15:58 -04:00