10444 Commits

Author SHA1 Message Date
github-actions[bot]
943eb55d65
[automated] Re-Generate Nodes/Rectors Documentation (#4638)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-18 02:11:35 +01:00
github-actions[bot]
e971beb777
[automated] Re-Generate CHANGELOG.md (#4639)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-18 02:10:15 +01:00
Tomas Votruba
a6bec3d07e
remove RequireClassTypeInClassMethodByTypeRule (#4634) 2020-11-17 12:22:53 +01:00
Norbert Orzechowicz
05688bd36b
[Downgrade PHP 7.1] Class constant visibility (#4633) 2020-11-17 11:45:31 +01:00
Tomas Votruba
eeec7d8cb9
rename to RequireClassTypeInClassMethodByTypeRule (#4632) 2020-11-17 02:24:39 +01:00
github-actions[bot]
c1fb6f00b1
[automated] Re-Generate CHANGELOG.md (#4630)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-17 01:57:56 +01:00
github-actions[bot]
a1f6027821
[automated] Apply Coding Standard (#4631)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-17 01:57:48 +01:00
Tomas Votruba
e618d3d74f propagate deps in packages 2020-11-16 23:39:58 +00:00
Tomas Votruba
661b2f0a65
[Symplify 9] Follow up + phpstan rules tidying (#4625)
* improve static

* improve phpstan rules

* [PHPStanExtensions] Drop CheckCodeSampleBeforeAfterAlwaysDifferentRule, already part of domain in CodeSample

* cleanup
2020-11-16 23:32:24 +00:00
Tomas Votruba
3b1e31ef8c
[docs] add 10 more relevant node construction examples (#4615) 2020-11-16 20:48:06 +01:00
Tomas Votruba
a7705ed0a5
[Symplify 9] First update + switch to RuleDocGenerator (#4616)
* [composer] bump to Symplify 9

* [Symplify 9] Update phpstan rules

* bump to Symplify 9 BETA2

* update AbstractKernel from Tests to Testing namespace

* decoupling removing node trait

* remove fluent calls

* removing variadic

* [CodingStyle] Improve AnnotateThrowablesRector

* bump deps

* Make use of RuleDocGenerator

* first short

* [DocumentationGenerator] Drop deprecated package, RuleSetGenerator now handles it

* import namespace

* update docs
2020-11-16 17:50:38 +00:00
Abdul Malik Ikhsan
7b0cfd56da
[BetterStandardPrinter] Fixes #4620 Do not change valid Annotation Route Option (#4622) 2020-11-16 13:04:59 +01:00
Abdul Malik Ikhsan
4c243e1c9c
[Naming] Fixes #4621 : Skip rename when after rename has numeric in first char (#4623) 2020-11-16 13:04:32 +01:00
github-actions[bot]
765862ce7a
[automated] Re-Generate CHANGELOG.md (#4617)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-16 01:40:48 +01:00
github-actions[bot]
e704af3dd7
[automated] Re-Generate Nodes/Rectors Documentation (#4618)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-16 01:40:38 +01:00
Abdul Malik Ikhsan
7fcbac3230
[CodeQuality] ForToForeachRector improvement on ArrayDimFetch handling (#4613)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-15 17:12:48 +01:00
Tomas Votruba
03e6aa474b update class name 0.8.56 2020-11-15 15:57:03 +00:00
Tomas Votruba
615f0c4ee4 [composer] allow 8.3.* Symplify deps 0.8.54 0.8.55 2020-11-15 15:16:14 +00:00
Tomas Votruba
0c45b6f569 [CI] move ci-review to daily PRs 2020-11-15 15:14:49 +00:00
Tomas Votruba
5e344c7920
[PHPUnit] Add AssertSameTrueFalseToAssertTrueFalseRector (#4614) 2020-11-15 15:09:24 +00:00
Tomas Votruba
aef5b580a6
[PHPUnit 8.0] Replace confusing ReplaceAssertArraySubsetRector with doms plug and play approach (#4611) 2020-11-15 13:30:43 +00:00
github-actions[bot]
3cf8a632e7
[automated] Re-Generate CHANGELOG.md (#4609)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-15 03:48:37 +01:00
Tomas Votruba
d7d4603218
improve SpecificAssertContainsRector for union type (#4610) 0.8.53 2020-11-15 02:41:46 +01:00
Tomas Votruba
e7f1963d67 [CI] do not build rector.phar, only scoped 2020-11-14 21:10:09 +00:00
Tomas Votruba
9d7fa63bf8 [CI] use monorepo-split action to split packages 0.8.52 2020-11-14 20:25:20 +00:00
Tomas Votruba
2ea43de66d composer: use migrify 0.4 0.8.51 2020-11-14 20:19:55 +00:00
Abdul Malik Ikhsan
978087e846
[CodeQuality] Skip ForToForeachRector on assign count is used inside for statements (#4607)
* Failing fixture for to foreach assign count is used inside for

* Fix skip assign count used inside for statements

* cs fix

* use areNodesEqual()

* phpstan

* method naming

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-14 14:07:38 +00:00
github-actions[bot]
f612b2b6a5
[automated] Re-Generate CHANGELOG.md (#4605)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-14 02:29:28 +01:00
github-actions[bot]
514cf0d88b
[automated] Re-Generate Nodes/Rectors Documentation (#4604)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-14 02:27:55 +01:00
Tomas Votruba
82c9f47447
[Carbon] Add ChangeCarbonSingularMethodCallToPluralRector (#4596) 2020-11-14 01:00:35 +01:00
Tomas Votruba
2a2c49d4ae
[PHPUnit] Add ConstructClassMethodToSetUpTestCaseRector (#4603)
* [CI] enable automated changelog regenerate

* [CI] drop generate docs, already part of PRs

* [PHPUnit] Add ConstructClassMethodToSetUpTestCaseRector

* make use of SetUpClassMethodFactory
2020-11-13 20:32:18 +00:00
Tomas Votruba
cf298105f0
[PHPUnit] Add class constant reference to ExceptionAnnotationRector (#4602)
* [PHPUnit] Add class constant reference to ExceptionAnnotationRector

* [ci-review] Rector Rectify

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
0.8.50
2020-11-13 17:37:01 +00:00
Tomas Votruba
feccfdad63
[PHPUnit] Add maybe string check to SpecificAssertContainsRector (#4601) 2020-11-13 16:55:15 +00:00
Abdul Malik Ikhsan
2562a2dcee
[CodingStyle] Fixes #4453 Add RemoveParamReturnDocblockRector (#4600)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-13 14:58:17 +01:00
Abdul Malik Ikhsan
7203ff0770
[DX] Fixes #4588 Enable PreferThisOrSelfMethodCallRector in rector-ci.php (#4597)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-13 12:15:33 +01:00
Abdul Malik Ikhsan
120e531084
[DeadCode] Fixes #4472 Remove method call on $this (#4598)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-13 12:14:25 +01:00
Abdul Malik Ikhsan
aae9a54768
[Symfony] Fixes #4583 Skip AbstractToConstructorInjectionRector when service type not found (#4599) 2020-11-13 12:13:48 +01:00
Tomas Votruba
7c3e803416
[Carbon 2] Init (#4595)
* [Carbon] Init new rules

* add ChangeDiffForHumansArgsRector

* [Carbon] Add ChangeCarbonSingularMethodCallToPluralRector

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-13 00:45:58 +00:00
github-actions[bot]
26efdc6622
[automated] Re-Generate Nodes/Rectors Documentation (#4594)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-13 01:38:40 +01:00
Tomas Votruba
a4a8f57eab
laravel call on static (#4593)
* add non-static call too

* laravel - add select/select one new param

* [ci-review] Apply coding standards

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 22:19:55 +00:00
Tomas Votruba
9dbf490a10
add non-static call too (#4592) 2020-11-12 22:08:18 +00:00
Tomas Votruba
aba4be85bb [Laravel] Update compoare sign 2020-11-12 21:45:45 +00:00
Tomas Votruba
14396a0d38 typo 2020-11-12 21:40:13 +00:00
Tomas Votruba
4318df9c17
[Laravel] Add AddGuardToLoginEventRector (#4591)
* [Laravel] Add AddGuardToLoginEventRector

* [CI] decouple daily_pull_requests
2020-11-12 21:35:25 +00:00
Abdul Malik Ikhsan
3d2c7c30bd
[CodingStyle] Failing test case for cannot change this to self (#4590)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 21:50:36 +01:00
Tomas Votruba
7e3f8bdafc
[Laravel] Add AddMockConsoleOutputFalseToConsoleTestsRector (#4589)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 21:47:25 +01:00
Abdul Malik Ikhsan
657a21ba54
[Doctrine] Fixes #4566 Rename ServiceEntityRepositoryConstructorToDependencyInjectionWithRepositoryPropertyRector to ServiceEntityRepositoryParentCallToDIRector (#4587) 2020-11-12 16:53:11 +01:00
Tomas Votruba
aa91f11a3f
[Laravel 5.7] Add ChangeQueryWhereDateValueWithCarbonRector (#4586)
* [Laravel] Add ChangeQueryWhereDateValueWithCarbonRector

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 15:28:50 +00:00
Abdul Malik Ikhsan
c88811f816
[BetterStandardPrinter] Fixes #4476 @ORM Constraint should not be changed (#4585) 2020-11-12 15:47:24 +01:00
Abdul Malik Ikhsan
31397c1cf8
[BetterStandardPrinter] Fixes #4581 @Orm\Column should not be changed (#4584)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 11:25:25 +01:00