8031 Commits

Author SHA1 Message Date
TomasVotruba
9827f7ec07 refactoring 2020-03-25 13:50:03 +01:00
TomasVotruba
b113c38670 [PHP 5.5] Prevent error on non-string value in PregReplaceEModifierRector 2020-03-25 13:42:33 +01:00
Tomas Votruba
47a19ac620
Merge pull request #3062 from rectorphp/dead-function
[DeadCode] Add RemoveUnusedFunctionRector
2020-03-25 12:58:02 +01:00
TomasVotruba
6a0551f004 [DeadCode] Add RemoveUnusedFunctionRector 2020-03-25 12:50:51 +01:00
TomasVotruba
41f841c330 fix sonar paths 2020-03-25 00:05:03 +01:00
Tomas Votruba
172adf0c62
Merge pull request #3059 from rectorphp/php74-restoration-null-default-only
[PHP 7.4] Add restoration null default only
2020-03-24 23:56:15 +01:00
TomasVotruba
f5d8804c20 improve PhpVersionFeature autocomplete by PHPStorm 2020-03-24 23:49:19 +01:00
TomasVotruba
ff6a3d3140 [PHP 7.4] Add RestoreDefaultNullToNullableTypePropertyRector 2020-03-24 23:45:15 +01:00
TomasVotruba
d608507f2e rename PHP sets to comply with standard 2020-03-24 23:44:42 +01:00
Tomas Votruba
5d36458265
Merge pull request #3058 from rectorphp/php74-default-null
[PHP 7.4] Add default null type on properties
2020-03-24 23:12:59 +01:00
TomasVotruba
90044b30bc [PHP 7.4] Add default null type on properties 2020-03-24 23:07:33 +01:00
Tomas Votruba
d402217f74
Merge pull request #3057 from rectorphp/php74-doctrine-type
[PHP 7.4] Add id tag support + remove array on collection property
2020-03-24 22:58:59 +01:00
TomasVotruba
35ef3a0217 [PHP 7.4] Add id tag support + remove default array on collection 2020-03-24 22:49:41 +01:00
Tomas Votruba
1d11fa00b5
Merge pull request #3056 from rectorphp/php74-typed-properties
[PHP 7.4] Improve TypedPropertyRector for Doctrine collection
2020-03-24 21:58:24 +01:00
TomasVotruba
aa9588f261 [PHP 7.4] Improve TypedProeprtyRector for Doctrine collection 2020-03-24 21:41:19 +01:00
Tomas Votruba
5442bed2a0
Merge pull request #3054 from derflocki/ListSwapArrayOrderRector
skip if not used with the `array []` operator fixes #3053
2020-03-24 15:17:25 +01:00
Florian Dorn
f0aca87c6a skip if not used with the array [] operator 2020-03-24 09:54:03 +01:00
Tomas Votruba
5b1e1093a1
Merge pull request #3052 from rectorphp/tag-content
fix content resolving
2020-03-24 02:32:44 +01:00
TomasVotruba
85883c1e01 fix content resolving 2020-03-24 02:32:10 +01:00
Tomas Votruba
309ac935de
Merge pull request #3051 from rectorphp/improve-tag-generator
improve GeneratedValueTagValueNode
2020-03-24 00:24:18 +01:00
TomasVotruba
dcb4fe0562 improve GneratedValueTagValueNode 2020-03-24 00:17:40 +01:00
Tomas Votruba
28657282f1
Merge pull request #3050 from rectorphp/fix-annota-value-replace
Fix assert choice tag value node with class constant reference
2020-03-23 23:48:24 +01:00
TomasVotruba
868fe4e7be Fix assert choice tag value node with class constant reference 2020-03-23 20:25:06 +01:00
Tomas Votruba
11b4dd9c7a
Merge pull request #3049 from rectorphp/return-fix
fix union type on ReturnTypeDeclarationRector
2020-03-23 19:40:45 +01:00
TomasVotruba
070c41d7c9 fix union type on ReturnTypeDeclarationRector 2020-03-23 19:33:31 +01:00
Tomas Votruba
2c3f676191
Merge pull request #3047 from rectorphp/phpunit-create-stub
[PHPUnit] Add CreateMockToCreateStubRector
2020-03-23 18:09:06 +01:00
TomasVotruba
eb88378488 improve chain method call resolutuin 2020-03-23 17:33:04 +01:00
TomasVotruba
0c3359e217 add variable to method call traverser 2020-03-23 17:16:10 +01:00
TomasVotruba
44a1654b66 split fixture 2020-03-23 17:16:10 +01:00
Grégoire Paris
88f27689eb WIP add createMock to createStub rector 2020-03-23 17:16:10 +01:00
Tomas Votruba
2da2c94cd2
Merge pull request #3039 from greg0ire/proofread-readme
Proofread readme
2020-03-21 15:15:53 +01:00
Tomas Votruba
ae61817361
Merge pull request #3040 from greg0ire/proofread-docs
Proofread docs
2020-03-21 15:14:49 +01:00
Grégoire Paris
af04925815
Avoid long lines in code
This makes things easier to read: no horizontal scrolling
2020-03-21 14:23:09 +01:00
Grégoire Paris
e34a9b43cf
Move contributing guide to its own file
This file will be linked to when submitting a pull request on Github.
Also, Github will notify contributors when it changes. There might be
more features I do not know about.
2020-03-21 14:22:10 +01:00
Grégoire Paris
61722923e6
Improve english 2020-03-21 14:22:08 +01:00
Grégoire Paris
a5e72f5a3e
Remove extra line 2020-03-21 14:19:39 +01:00
Grégoire Paris
a8a26c0763
Improve english 2020-03-21 14:19:39 +01:00
TomasVotruba
38766ca800 make file path clickable 2020-03-21 12:20:04 +01:00
TomasVotruba
57d4ebe387 typo 2020-03-20 21:10:12 +01:00
Tomas Votruba
12c029742d
Merge pull request #3036 from rectorphp/run-cs-after-rector-ci
Run cs after rector ci
v0.7.7
2020-03-20 19:30:40 +01:00
Tomas Votruba
6668cfdb65
Merge pull request #3034 from rectorphp/checkstyle
Add checkstyle output format
2020-03-19 14:26:51 +01:00
TomasVotruba
d6aadd4ea3 add CurrentRectorProvider 2020-03-19 14:15:08 +01:00
TomasVotruba
ddf8de2e17 move AffectedFilesCollector to ChangesReporting 2020-03-19 13:56:38 +01:00
TomasVotruba
3b57181603 add NotifyingNodeRemover 2020-03-19 13:56:38 +01:00
TomasVotruba
11114def28 add remove* method 2020-03-19 13:56:33 +01:00
TomasVotruba
eca4d54f58 add PR annotate workflow 2020-03-19 13:56:23 +01:00
TomasVotruba
97f5ff545c decouple ChangesReporting package 2020-03-19 13:55:54 +01:00
rector-bot
dc21275dd6 fixup! [Rector CI] Fixed Rector issues 2020-03-19 11:38:35 +00:00
Jan Mikeš
c3d4ac40e0
Fix pipeline workflow 2020-03-19 12:35:33 +01:00
Jan Mikeš
0ab75a0b74
Dogfood 2020-03-19 11:37:51 +01:00