TomasVotruba
833435037a
[PHP 8] Add str_ends_with
2020-04-24 00:54:57 +02:00
TomasVotruba
8082b3a2f2
[PHP 8.0] Add str_starts_with
2020-04-23 23:06:36 +02:00
TomasVotruba
88efee5774
move checkstyle from ci to docs
2020-04-23 23:01:20 +02:00
TomasVotruba
5f8354527f
update docs
2020-04-23 22:35:01 +02:00
TomasVotruba
9d83fb64c3
[Restoration] Add RemoveFinalFromEntityRector
2020-04-22 22:49:07 +02:00
TomasVotruba
00797bbce3
[CodeQuality] Add SplitListScalarAssignToSeparateLineRector
2020-04-19 16:20:08 +02:00
TomasVotruba
c6bc133cb3
[PHPUnit] Add strict param to ReplaceAssertArraySubsetRector
2020-04-19 01:16:27 +02:00
TomasVotruba
512c4f4d8f
[PHPOffice] Add IncreaseColumnIndexRector
2020-04-16 10:14:21 +02:00
TomasVotruba
296de13121
[PHPOffice] Init migration to PHPSpreadSheets
2020-04-15 18:48:58 +02:00
TomasVotruba
a7f5abe2f1
[DeadCode] Add RemoveUnusedAssignVariableRector
2020-04-14 10:45:04 +02:00
TomasVotruba
68e18d83d6
change order of props and code
2020-04-02 15:21:12 +02:00
TomasVotruba
1f74373795
remove non-markdown nodes dumper + add public property list + types
2020-04-02 14:17:06 +02:00
TomasVotruba
b3fde24ab1
[PHPUnit] Add AddProphecyTraitRector
2020-04-01 02:37:21 +02:00
TomasVotruba
5600cf8d4d
move node adding to PostRector
2020-04-01 01:41:56 +02:00
TomasVotruba
18feee456e
move node-replacing to PostRector
2020-03-31 20:31:19 +02:00
TomasVotruba
629042eeb4
move NodeRemovingRector to collector
2020-03-31 19:34:56 +02:00
TomasVotruba
9a9f777513
[DeadCode] Add RemoveDeadRecursiveClassMethodRector
2020-03-31 15:17:42 +02:00
TomasVotruba
9466680a6d
move constant privatization to privatization set
2020-03-29 20:02:47 +02:00
TomasVotruba
cbb50de280
[Privatization] Add PrivatizeLocalPropertyToPrivatePropertyRector
2020-03-29 19:07:26 +02:00
TomasVotruba
058f1c7932
[Privatization] Add PrivatizeLocalGetterToPropertyRector
2020-03-29 03:58:00 +02:00
TomasVotruba
15945fc1bc
move Legacy to rules
2020-03-29 00:58:12 +01:00
TomasVotruba
626287ec76
apply privatization
2020-03-29 00:06:05 +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
TomasVotruba
74416461bb
use array_key_exists instead of isset
2020-03-28 15:12:29 +01:00
TomasVotruba
22487811b3
[CodeQuality] Add ArrayKeysAndInArrayToIssetRector
2020-03-28 00:26:41 +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
3c3aa39f14
[PHP 80] Add StrContainsRector
2020-03-26 23:57:53 +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
TomasVotruba
6a0551f004
[DeadCode] Add RemoveUnusedFunctionRector
2020-03-25 12:50:51 +01:00
TomasVotruba
ff6a3d3140
[PHP 7.4] Add RestoreDefaultNullToNullableTypePropertyRector
2020-03-24 23:45:15 +01:00
TomasVotruba
eb88378488
improve chain method call resolutuin
2020-03-23 17:33:04 +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
d6aadd4ea3
add CurrentRectorProvider
2020-03-19 14:15:08 +01:00
nightlinus
e2b5ff1df2
SpecificAssertContainsWithoutIdentityRector: add phpunit 9 compatibility rector
...
As of https://github.com/sebastianbergmann/phpunit/issues/3426 assertContains() and assertNotContains() will perform strict comparisons starting with PHPUnit 9 where non-strict comparisons were performed in PHPUnit 8 and earlier; assertContainsEqual() and assertNotContainsEqual() should be used instead if needed non-strict comparison
2020-03-15 12:16:55 +03:00
TomasVotruba
903483bf96
decouple ClassInsertManipulator
2020-02-29 22:10:06 +01:00
TomasVotruba
e29f8fafab
[DeadCode] Add RemoveDuplicatedIfReturnRector
2020-02-28 00:08:53 +01:00
TomasVotruba
25aca8b774
[MysqlToMysqli] Add MysqlQueryMysqlErrorWithLinkRector
2020-02-23 23:13:49 +01:00
TomasVotruba
f7aefc68b8
[DeadCode] Add RemoveUnusedVariableAssignRector
2020-02-23 22:36:23 +01:00
TomasVotruba
c2b89700a3
[DeadCode] Add RemoveUnusedClassConstantRector
2020-02-23 22:07:19 +01:00
TomasVotruba
671fa8a547
[Phalcon] Add DecoupleSaveMethodCallWithArgumentToAssignRector
2020-02-23 20:16:45 +01:00
TomasVotruba
8347a4c784
[JMS] Add RemoveJmsInjectParamsAnnotationRector and RemoveJmsServiceAnnotationRector
2020-02-23 18:44:19 +01:00
TomasVotruba
735be73800
[SOLID] Add ChangeNestedForeachIfsToEarlyContinueRector
2020-02-22 16:04:15 +01:00
TomasVotruba
93633a4c04
[CodeQuality] Add InlineIfToExplicitIfRector
2020-02-22 13:07:36 +01:00
TomasVotruba
d0afc945e0
add links to each rule and test fixture in docs
2020-02-21 15:24:17 +01:00
TomasVotruba
0e61d7e96f
[CodingStyle] Add CamelCaseFunctionNamingToUnderscoreRector
2020-02-21 02:50:54 +01:00
TomasVotruba
8040aa8613
bump to phpstan 0.12.11
2020-02-19 00:18:08 +01:00
TomasVotruba
1ad8f08ccd
[SOLID] Add ChangeReadOnlyVariableWithDefaultValueToConstantRector
2020-02-18 23:59:07 +01:00
alfredbez
2cd3761661
added rector to replace oxid backwards-compatability classes
2020-02-18 12:10:03 +01:00