TomasVotruba
58034ac5fa
decouple ClassMethodVisibilityVendorLockResolver
2020-03-29 00:58:12 +01:00
TomasVotruba
15945fc1bc
move Legacy to rules
2020-03-29 00:58:12 +01:00
TomasVotruba
fea734ab61
composer: update complete-check
2020-03-29 00:35:40 +01:00
TomasVotruba
13d9e5665e
cleanup
2020-03-29 00:35:40 +01:00
Tomas Votruba
e9b6a8f58a
Merge pull request #3084 from rectorphp/privatize-methods
...
[Privatization] Privatize methods that are used only locally
2020-03-29 00:11:33 +01:00
TomasVotruba
626287ec76
apply privatization
2020-03-29 00:06:05 +01:00
TomasVotruba
91d1a1e397
[Privatization] Add PrivatizeLocalOnlyMethodRector
2020-03-29 00:06:01 +01:00
Tomas Votruba
23b08fc2b1
Merge pull request #3087 from paslandau/fix_array_key_exists_rector
...
Fix ArrayKeysAndInArrayToArrayKeyExistsRectorTest
2020-03-28 17:40:03 +01:00
Pascal Landau
1513ee16cd
Fix ArrayKeysAndInArrayToArrayKeyExistsRectorTest
...
- fixed typo in RectorDefinition code sample
- fixed argument order of array_key_exists
- renamed test folder from ArrayKeysAndInArrayToIssetRector
to ArrayKeysAndInArrayToArrayKeyExistsRector
2020-03-28 17:35:14 +01:00
Tomas Votruba
4f3256e569
Merge pull request #3083 from rectorphp/printing
...
use just one type of printing
2020-03-28 16:36:58 +01:00
TomasVotruba
7474518b96
use just one type of printing
2020-03-28 16:27:26 +01:00
Tomas Votruba
a89785df64
Merge pull request #3081 from rectorphp/param-return-by-property
...
[TypeDeclaration] Add class method param type resolving by property
2020-03-28 16:24:01 +01:00
TomasVotruba
5df24b4087
decouple ChildParamPopulator
2020-03-28 16:16:29 +01:00
TomasVotruba
442e2abac5
[TypeDeclaratoin] Add class method param type resolving by property
2020-03-28 16:16:04 +01:00
Tomas Votruba
d0ca8a63f0
Merge pull request #3082 from rectorphp/array-keys-better
...
[CodeQuality] use array_key_exists instead of isset
2020-03-28 15:31:04 +01:00
TomasVotruba
74416461bb
use array_key_exists instead of isset
2020-03-28 15:12:29 +01:00
Tomas Votruba
ac29fa42ed
Merge pull request #3080 from rectorphp/array-keys-in-arra
...
[CodeQuality] Add ArrayKeysAndInArrayToIssetRector
2020-03-28 00:35:37 +01:00
TomasVotruba
22487811b3
[CodeQuality] Add ArrayKeysAndInArrayToIssetRector
2020-03-28 00:26:41 +01:00
Tomas Votruba
cdd04a9270
Merge pull request #3079 from rectorphp/fix-annota
...
Fix annotation in requirements of @Route
2020-03-27 22:59:13 +01:00
TomasVotruba
8338004d4e
test =
2020-03-27 22:53:40 +01:00
TomasVotruba
c00b8d4b75
fix bracket mallform in annotations
2020-03-27 22:51:44 +01:00
Tomas Votruba
062c323802
Merge pull request #3078 from rectorphp/safe
...
Add Safe 0.7 set
2020-03-27 16:54:21 +01:00
TomasVotruba
ee15a89095
add safe 07 set
2020-03-27 16:51:44 +01:00
Tomas Votruba
0899c2527f
Merge pull request #3077 from rectorphp/fix-auto-import
...
Fix auto import
2020-03-27 16:49:00 +01:00
TomasVotruba
6521583a40
fix importing of non-existing classes
2020-03-27 16:43:42 +01:00
TomasVotruba
31023ee27b
# This is a combination of 2 commits.
...
# This is the 1st commit message:
fix importing of non-existing classes
# The commit message #2 will be skipped:
# fixup! fix importing of non-existing classes
2020-03-27 16:42:50 +01:00
TomasVotruba
557c2521df
unused import is responsibility of coding standard
2020-03-27 16:40:52 +01:00
TomasVotruba
6fba2c610c
cannot work with non-existing class
2020-03-27 16:40:52 +01:00
Tomas Votruba
8220e5ce12
Merge pull request #3076 from rectorphp/php80-less-regex
...
[PHP 8.0] drop preg_match support from StrContains, too vague
2020-03-27 15:24:28 +01:00
TomasVotruba
8f1208d18b
drop preg_match support from StrContains, too vague
2020-03-27 15:20:20 +01:00
Tomas Votruba
2e9c303447
Merge pull request #3074 from Great-Antique/fix_auto_import_names
...
Fix 'auto_import_names' tests fixtures path
2020-03-27 14:18:55 +01:00
Den Girnyk
30c337e82c
Fix 'auto_import_names' tests fixtures path
2020-03-27 14:47:52 +02:00
Tomas Votruba
f9a42a2f75
Merge pull request #3072 from rectorphp/php80-str-contains
...
[PHP 8.0] Add StrContainsRector
2020-03-27 00:02:41 +01:00
TomasVotruba
3c3aa39f14
[PHP 80] Add StrContainsRector
2020-03-26 23:57:53 +01:00
Tomas Votruba
7087a55630
Merge pull request #3071 from rectorphp/fix-ctor
...
remove ctor dependency on property/assign removal
2020-03-26 23:04:13 +01:00
TomasVotruba
9d4be977c4
remove ctor dependency on property/assign removal
2020-03-26 22:58:28 +01:00
Tomas Votruba
47c8666088
Merge pull request #2836 from Great-Antique/2753_fix_auto_import_names
...
WIP: #2753 Fix Auto Import Names
2020-03-26 22:27:57 +01:00
Tomas Votruba
32ce46eed2
Merge pull request #3070 from rectorphp/fix-foreach
...
[DeadCode] Add empty() + count($values) > 0 checks to RemoveUnusedNonEmptyArrayBeforeForeachRector
2020-03-26 22:25:39 +01:00
TomasVotruba
5995db8262
add else case
2020-03-26 22:14:10 +01:00
TomasVotruba
6a8aa9b017
add count() > 0 case
2020-03-26 22:09:35 +01:00
TomasVotruba
0fe761f8ff
Add empty() check to RemoveUnusedNonEmptyArrayBeforeForeachRector
2020-03-26 21:37:37 +01:00
Tomas Votruba
df9f2e471c
Fix Route separating key ( #3069 )
2020-03-26 00:03:28 +01:00
Tomas Votruba
8406192dca
[DeadCode] Add RemoveAssignOfVoidReturnFunctionRector ( #3068 )
2020-03-25 22:51:12 +01:00
Tomas Votruba
5204ce1523
[DeadCode] Add RemoveUnusedNonEmptyArrayBeforeForeachRector ( #3066 )
2020-03-25 19:00:26 +01:00
Tomas Votruba
6cd9aa70cc
Fix multiple annotation reading of same type at class method ( #3065 )
2020-03-25 18:38:02 +01:00
Tomas Votruba
8492af2af1
[PHP 7.4] Fix ChangeReflectionTypeToStringToGetNameRector ( #3064 )
...
* [PHP 7.4] Fix ChangeReflectionTypeToStringToGetNameRector
* fixup! [Rector CI] Fixed Rector issues
* fixup! [Rector CI] Fixed CS issues
Co-authored-by: rector-bot <tomas@getrector.org>
2020-03-25 15:53:26 +01:00
Tomas Votruba
dee6fd82ca
Merge pull request #3063 from rectorphp/fix-preg
...
[PHP 5.5] Prevent error on non-string value in PregReplaceEModifierRector
2020-03-25 14:26:07 +01:00
TomasVotruba
e9cf6e1544
Add basic concat support to PregReplaceEModifierRector
2020-03-25 14:19:37 +01:00
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