Tomas Votruba
0993088cda
[SymfonyPhpConfig] Use Symplify package instead + simplify set validation ( #4694 )
...
* [SymfonyPhpConfig] Use Symplify package instead
* [SymfonyPhpConfig] Drop forgotten custom-jobs Rectors
* [CI] simplify set validation
* from inline functions to Static class
* cleanup
* decouple rector.php to allow static analysis and coding standards
2020-11-26 16:44:27 +00:00
Abdul Malik Ikhsan
69d317f31c
[NetteCodeQuality] Register SubstrMinusToStringEndsWithRector to nette-code-quality config set ( #4695 )
2020-11-26 16:37:25 +01:00
github-actions[bot]
8c28495f44
[automated] Re-Generate CHANGELOG.md ( #4668 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-26 13:43:17 +01:00
Abdul Malik Ikhsan
35d8693187
[NetteUtilsCodeQuality] Fixes #4686 Add SubstrMinusToStringEndsWithRector ( #4687 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-26 13:33:51 +01:00
Tomas Votruba
4c9b816537
fix symplfy/vendor-patches name
2020-11-26 11:32:31 +00:00
Tomas Votruba
78d8cdc155
do not spam output with added files
2020-11-25 22:50:37 +00:00
Tomas Votruba
2577e66a3b
move last migrify package to symplify
2020-11-25 22:40:44 +00:00
Tomas Votruba
0456cc088c
[Docs] Improve rule doc generator to generat rules_overview with categories ( #4688 )
...
* numbers
* update ECS config to Symplify 9
* regenerate rules with categorize
* [CI] disable automated rebase, as not working propperly
* update misc
2020-11-25 21:34:34 +00:00
Tomas Votruba
e8553cd647
[CI] Add monorepo validate [ closes #4628 ]
2020-11-25 16:42:46 +00:00
github-actions[bot]
46388345b1
[automated] Re-Generate Nodes/Rectors Documentation ( #4685 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-25 01:42:23 +01:00
Tomas Votruba
8e7c4bfc96
[CI] do not push to forks
2020-11-24 21:30:17 +00:00
HDVinnie
3fc5163f01
update: drop migrify/php-config-printer for symplify/php-config-printer ( #4684 )
...
* update: composer.json
- Package migrify/php-config-printer is abandoned. Using symplify/php-config-printer instead.
* update: migrify to symplify
* update: composer.json
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-11-24 16:14:21 +00:00
Abdul Malik Ikhsan
a38debb672
[DX] Fixes #4205 Change phpversion from string to php constant int type ( #4679 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-24 16:32:49 +01:00
github-actions[bot]
64ab0a65b4
[automated] Re-Generate Nodes/Rectors Documentation ( #4682 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-24 01:49:19 +01:00
Tomas Votruba
250e851123
skip spaced or html tagged ( #4681 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-24 01:38:05 +01:00
Abdul Malik Ikhsan
1c9cfafdda
[Solid] Fixes #4677 Skip MoveVariableDeclarationNearReferenceRector on multiple usage in Switch -> cases ( #4678 )
2020-11-23 22:23:44 +01:00
Tomas Votruba
da6d703687
Improve Blade class renames ( #4676 )
...
* [Console] Use single point of command naming
* use blade in process command
* filter out blade templates from PHP files
* make test process blade as non php file
* add failing test
* remove duplicated tests
* rename php to php.inc suffix to make it skip to CI tools
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-23 19:16:48 +00:00
Tomas Votruba
6eb7ad40a1
use explicit in service definitions ( #4674 )
2020-11-23 14:10:13 +00:00
Tomas Votruba
cb57430655
[Renaming] Add renaming support for blade.php templates in Laravel ( #4672 )
...
* [CI] fix monorepo split
* naming, add blade.php suffix
* [Renaming] Add class rename support for laravel blade templates
* skip test fixture
2020-11-23 11:35:42 +00:00
Abdul Malik Ikhsan
715b616ada
[Solid] use Variable node type for for MoveVariableDeclarationNearReferenceRector ( #4670 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-23 11:40:29 +01:00
Abdul Malik Ikhsan
36a5c2b01b
[BetterStandardPrinter] Fixes #4652 Skip @return explicit format ( #4666 )
2020-11-20 19:53:41 +01:00
Tomas Votruba
131357aac6
[CodingStyle] Fix lowercase misses in importing, decouple ImportSkipper to collector with ClassNameImportSkipVoters ( #4665 )
...
* add import doc block test
* [CodingStyle] Decouple ImportSkipper to ClassNameImportSkipVoters
* drop same short namespace check, not used anywhere
2020-11-20 13:37:53 +00:00
Tomas Votruba
7de92da46f
[CI] disable code coverage broken for unknown reason
2020-11-20 12:07:36 +00:00
Tomas Votruba
b770151159
fix static
2020-11-20 11:46:12 +00:00
Tomas Votruba
da56d5dbb8
fix Request class
2020-11-20 00:32:15 +00:00
Tomas Votruba
26b71cce1d
[Laravel] Improve static to DI set ( #4662 )
2020-11-20 01:26:04 +01:00
Tomas Votruba
014985e943
[CodingStyle] Add static support to PreferThisOrSelfMethodCallRector ( #4660 )
...
* [CodingStyle] Add static support to PreferThisOrSelfMethodCallRector
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-19 12:37:50 +00:00
github-actions[bot]
13d2f98643
[automated] Re-Generate Nodes/Rectors Documentation ( #4656 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-19 02:09:53 +01:00
github-actions[bot]
a791be06c0
[automated] Apply Coding Standard ( #4657 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-19 02:09:31 +01:00
Abdul Malik Ikhsan
f004f290c7
[Solid] Improve MoveVariableDeclarationNearReferenceRector : skip variable with usage in multiple level ( #4643 )
...
* [Solid] Improve MoveVariableDeclarationNearReferenceRector : skip variabel with usage in multiple level
* function name and var name
* stop calling parent attribute when previous of parent is an Expression with Assign with same variable
* phpstan
* deep up usage
* deeeeep level
* stop while when previous is Expression with Assign same var
* final touch
* [ci-review] Rector Rectify
* keep comment
* cast isFoundNext
* fixed
* separate method
* [ci-review] Rector Rectify
* clean up fixtures
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 21:26:54 +00:00
Tomas Votruba
9e49fe97fe
[PSR-4] autoprefix on namespace add ( #4653 )
...
* check
* prepare prefix-name case
* [PSR-4] Fqnize names without name importing
* fixup! [PSR-4] Fqnize names without name importing
* static fixes
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 21:25:59 +00:00
Abdul Malik Ikhsan
5989a6c53b
[PHP 7.4] Fixes #4647 Make limit Value in AddLiteralSeparatorToNumberRector configurable ( #4648 )
2020-11-18 21:38:04 +01:00
Tomas Votruba
c71c73340d
[PSR-4] fix case of missing namespace ( #4651 )
2020-11-18 21:37:17 +01:00
Abdul Malik Ikhsan
2d9841594f
[CodingStyle] Skip RemoveDoubleUnderscoreInMethodNameRector on first numeric on new name ( #4645 )
2020-11-18 17:09:42 +01:00
Abdul Malik Ikhsan
3ef4cefa64
[BetterStandardPrinter] Fixes #3388 Skip Localization Annotation route ( #4646 )
2020-11-18 17:09:22 +01:00
Abdul Malik Ikhsan
1b354f3e59
[CodingStyle] Improve RemoveParamReturnDocblockRector: handle namespaced @param & @return ( #4642 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 11:02:10 +01:00
Daniel Moore
2502dc8d75
Some small grammatical fixes ( #4641 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-11-18 11:01:05 +01:00
Abdul Malik Ikhsan
d788fd051a
[CodingStyle] Skip RemoveDoubleUnderscoreInMethodNameRector when method name only __ ( #4640 )
2020-11-18 10:57:50 +01:00
Abdul Malik Ikhsan
c58f35a41e
[StrictTypes] Fixes #4429 Add ParamTypeToAssertTypeRector ( #4624 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 10:56:51 +01:00
Tomas Votruba
bd5296933d
update SetList with 2 new Laravel sets
2020-11-18 01:54:22 +00:00
Tomas Votruba
870a0f3822
[Laravel 5.8] Add CallOnAppArrayAccessToStandaloneAssignRector, PropertyDeferToDeferrableProviderToRector, MakeTaggedPassedToParameterIterableTypeRector ( #4637 )
...
* [Laravel 5.8] Add remember method
* [Laravel] Add PropertyDeferToDeferrableProviderToRector
* [Laravel] Add CallOnAppArrayAccessToStandaloneAssignRector
* [Laravel] Add MakeTaggedPassedToParameterIterableTypeRector
* [CI] changelog weekly only
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-18 01:22:40 +00:00
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