Tomas Votruba
8c4e6a32f9
[PHPStanExtensions] Drop RectorRuleAndValueObjectHaveSameStartsRule ( #5452 )
2021-02-07 21:57:07 +00:00
Tomas Votruba
fd8fc59ce1
[PHPStanExtensions] Move decoupled KeepRectorNamespaceForRectorRule ( #5451 )
2021-02-07 21:22:03 +00:00
Abdul Malik Ikhsan
4aea155212
[PHPStan] PHPStan ignore errors clean up ( #5446 )
2021-02-07 19:24:50 +01:00
Abdul Malik Ikhsan
9d78eb02dc
[Symfony 5.2] Rename AbstractRememberMeServices providerKey to firewallName property ( #5448 )
2021-02-07 18:57:35 +01:00
Tomas Votruba
4cb16f7406
[DeadCode] Fix RemoveSetterOnlyPropertyAndMethodCallRector for no-read, no-write expression ( #5445 )
2021-02-07 11:24:53 +01:00
github-actions[bot]
4c5190ba53
[automated] Re-Generate CHANGELOG.md ( #5442 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-07 11:12:04 +01:00
github-actions[bot]
8ef96f2166
[automated] Re-Generate Nodes/Rectors Documentation ( #5443 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-07 11:11:42 +01:00
Tomas Votruba
ccd7b3d992
Add failing test fixture for MoveVariableDeclarationNearReferenceRector ( #5441 )
...
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
2021-02-07 11:07:59 +01:00
TomasVotruba
f0cf127eac
README: repo link is good enough
0.9.19
2021-02-06 23:40:09 +01:00
TomasVotruba
ce1621b422
space
2021-02-06 23:32:49 +01:00
TomasVotruba
61de43f7c8
space
2021-02-06 23:32:26 +01:00
Tomas Votruba
ec5ed49020
[README] Add Typo3 and its repository ( #5440 )
2021-02-06 23:30:59 +01:00
Tomas Votruba
0c830ab123
misc ( #5439 )
2021-02-06 22:20:57 +00:00
Tomas Votruba
d402f52238
[TypeDeclaratoin] Add ReturnTypeFromStrictTypedPropertyRector ( #5438 )
2021-02-06 23:09:45 +01:00
Abdul Malik Ikhsan
946b1ac84b
[Privatization] Register MakeOnlyUsedByChildrenProtectedRector to privatization config set ( #5434 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-06 20:41:44 +01:00
Ruud Kamphuis
ec66688a8c
Ignore special class names when using Option::AUTO_IMPORT_NAMES ( #5427 )
...
This makes sure that special class names like `self, parent, static` are not automatically imported.
Without this fix, it would return an error like:
```
PHPStan\Broker\ClassNotFoundException : Class Rector\Naming\Tests\Rector\ClassMethod\RenameVariableToMatchNewTypeRector\Fixture\AnonymousClassd69b28143ae1ad396a5d30a3fc41b247 was not found while trying to analyse it - discovering symbols is probably not configured properly.
```
2021-02-06 17:12:59 +01:00
Tomas Votruba
e4e4f73fba
[CodeQuality] Add compact override protection ( #5428 )
2021-02-06 14:20:09 +00:00
Abdul Malik Ikhsan
cd28fa4e3c
[Privatization] Add MakeOnlyUsedByChildrenProtectedRector ( #5432 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-06 13:44:11 +00:00
Abdul Malik Ikhsan
ac3611698b
[EasyCI] Using symplify/easy-ci for validate-file-length ( #5431 )
2021-02-06 12:34:59 +01:00
Jan Mikeš
f2804a5474
Added Docker image for blackfire profiling ( #5430 )
2021-02-06 00:48:58 +01:00
Tomas Votruba
2085291ae9
[CodeQuality] extract CompactFuncCallAnalyzer ( #5425 )
2021-02-05 15:15:51 +01:00
Tomas Votruba
e04d820bc5
[CodeQuality] Improve CompactToVariablesRector to cover previously defined array ( #5424 )
2021-02-05 12:40:28 +00:00
Abdul Malik Ikhsan
aa284fe870
[CodeQuality] Reduce ForToForeachRector complexity ( #5421 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-05 12:36:42 +01:00
Abdul Malik Ikhsan
760facb75b
[Symfony 5.2] Change Param type declaration for Chat/Email/Sms NotificationInterface ( #5420 )
2021-02-04 23:46:27 +01:00
Abdul Malik Ikhsan
3784552b70
[CodeQuality] Add "single" prefix for value var of Foreach on ForToForeachRector when singularize() got same name ( #5419 )
2021-02-04 15:11:16 +00:00
Abdul Malik Ikhsan
2c8e1ed4b9
[Symfony] Skip construct with param Property Promotion on MakeCommandLazyRector in php 8 ( #5417 )
2021-02-04 15:45:42 +01:00
Abdul Malik Ikhsan
51a14cc28f
[Renaming] Do not update target new namespace exists on RenameClassRector ( #5416 )
2021-02-03 22:30:40 +01:00
Abdul Malik Ikhsan
2ace2b4410
[EarlyReturn] Skip ChangeAndIfToEarlyReturnRector when parent if has next statement ( #5415 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-03 22:22:11 +01:00
Abdul Malik Ikhsan
0e557a5d11
[Symfony 5.2] Change Param type declaration for Notifier and Channel ( #5414 )
2021-02-03 15:27:12 +01:00
Abdul Malik Ikhsan
9d1765c45d
[TypeDeclaration] Typo fix parameter_typehintgs -> parameter_typehints ( #5413 )
2021-02-03 15:26:19 +01:00
Abdul Malik Ikhsan
484676325a
[DeadDocBlock] Rollback other_comment_before_var.php.inc for RemoveNonExistingVarAnnotationRector ( #5412 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-03 15:22:50 +01:00
Abdul Malik Ikhsan
cd4cf538fb
[Renaming] Handle RenameClassRector to avoid duplicate interface definition ( #5407 )
...
* [TASK] Create failing test
Relates: #5389
* Close #5401
* clean up
* failing fixture
* fix duplication on process printing
* ensure remove duplication definition statement only on ClassLike and FunctionLike
* reduce complexity
* reduce complexity
Co-authored-by: Sebastian Schreiber <breakpoint@schreibersebastian.de>
2021-02-02 16:11:31 +01:00
Abdul Malik Ikhsan
b76c2d3014
[CodeQuality] improve ForToForeachRector: mirror the comments ( #5405 )
...
* [CodeQuality] improve ForToForeachRectorr: mirror the comments
* fixture
* fixture fix
2021-02-02 16:10:17 +01:00
Abdul Malik Ikhsan
94c51e648d
[VendorLocker] improve ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() with skip the class method has no return with Expr ( #5406 )
...
* [VendorLocker] improve ClassMethodReturnTypeOverrideGuard::shouldSkipClassMethod() with skip the class has children and current has no return with Expr
* fixture
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-02 16:09:34 +01:00
Abdul Malik Ikhsan
44222174b1
[TypeDeclaration] Handle alias usage on FormerNullableArgumentToScalarTypedRector ( #5408 )
...
* Failing test case for Aliased class not found #5259
* Use existing class as aliased
* Close #5397 Fixes #5259
* clean up
* clean up
* non-namespaced patch
* use use name on method call/static call
* use use name on method call/static call
* phpstan
* phpstan
Co-authored-by: Michal Lulco <lulco@efabrica.sk>
2021-02-02 15:17:04 +01:00
Tomas Votruba
931e233012
[Nette 3.1] Add CallableInMethodCallToVariableRector ( #5409 )
2021-02-02 14:06:48 +00:00
Abdul Malik Ikhsan
5ac925c812
[TypeDeclaration] Skip ReturnTypeDeclarationRector on has child with no return statement ( #5404 )
...
Co-authored-by: Martin <admin@phpcode.eu>
2021-02-02 00:06:48 +01:00
Michal Lulco
17cb30f5c7
Removed duplicit package sebastian/diff from composer.json ( #5399 )
2021-02-01 18:05:25 +01:00
Abdul Malik Ikhsan
c5f26f5de9
[CodeQualityStrict] Improve MoveVariableDeclarationNearReferenceRector: Skip Usage next is method call ( #5400 )
2021-02-01 11:30:09 +01:00
Pierre du Plessis
ebaf2cda77
Support string tags for Symfony ServiceMapProvider ( #5255 )
2021-02-01 11:23:40 +01:00
Tomas Votruba
9a8cce6545
remove deprecated console differ, to use symplify ( #5402 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-01 11:22:22 +01:00
TomasVotruba
5ff1d911a3
fix typo in phsptan.neon
2021-02-01 00:31:33 +01:00
TomasVotruba
7929f252ab
misc
2021-01-31 21:08:43 +01:00
TomasVotruba
9b3c4fca20
use constants fix
2021-01-31 21:06:14 +01:00
Tomas Votruba
128e340646
[PHP 7.3] Remove compact checks of unused variable, better migrate in type-safe way ( #5396 )
2021-01-31 20:39:41 +01:00
TomasVotruba
e9b9d789b5
[ci] use united bot name
0.9.18
2021-01-31 15:26:44 +01:00
Tomas Votruba
b2423f1f56
skip double template assigN ( #5394 )
2021-01-31 11:56:53 +00:00
Tomas Votruba
491cef11b9
allow another render names ( #5393 )
2021-01-31 11:16:51 +00:00
Tomas Votruba
f70a75f797
skip presenter ( #5391 )
2021-01-31 10:24:36 +00:00
Tomas Votruba
ad320cf63b
[Nette] Skip public method in template control ( #5390 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-31 08:35:44 +00:00