Tomas Votruba
fd9bd00713
[DoctrineCodeQuality] Fix oveCurrentDateTimeDefaultInEntityToConstructorRector for default value ( #4436 )
...
* [DoctrineCodeQuality] Fix oveCurrentDateTimeDefaultInEntityToConstructorRector for default value
* re-use local property method
* improve new_ nesting
* [rector] improve new_ nesting
* static fixes
* bump deps
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-18 08:45:56 +00:00
Tomas Votruba
9f7073ada3
[NodeAnalyzer] Check property fetch for read ( #4431 )
...
* [NodeAnalyzer] Check property fetch for read
* [ReadWrite] Decopule new package for read/write/only analysis
* add property fetch
2020-10-16 20:16:36 +00:00
Tomas Votruba
a9f737bcaf
decouple CommentRemover ( #4412 )
2020-10-15 11:50:15 +02:00
TomasVotruba
8380222a50
composer: add split shortcut
2020-10-14 22:32:01 +02:00
Tomas Votruba
e085f52f86
[DeadCode] Improve parent and current type comparison on RemoveDelegatingParentCallRector ( #4409 )
...
* decouple CurrentAndParentClassMethodComparator
* fix param reflections
* [rector] fix param reflections
* [cs] fix param reflections
* composer: bump assert
* [rector] composer: bump assert
* [cs] composer: bump assert
* static fixes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-14 17:14:55 +00:00
TomasVotruba
15600516af
composer: bump symplify to 8.3.35 with stan fix
2020-10-14 18:37:41 +02:00
Tomas Votruba
8af70b5ac0
[Defluent] Refactoring to multiple rules ( #4400 )
...
* [Defluent] Refactoring to multiple rules
* [Defluent] Decouple defluent-only set, it deserved to have own domain
* cleanup
* [rector] cleanup
* [cs] cleanup
* fixup! cleanup
* static fixes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-14 04:24:29 +00:00
Tomas Votruba
cb991af9c6
hotfix mysql connection resolving ( #4399 )
2020-10-12 21:06:24 +02:00
Tomas Votruba
01514ab9a8
[SimplePhpDocParser] Add README + getParam*() helper methods ( #4393 )
2020-10-11 16:17:43 +02:00
Tomas Votruba
a4b4b474cb
[SimplePhpDocParser] Init ( #4391 )
2020-10-11 12:40:45 +02:00
TomasVotruba
2635f174c9
bump symplify 8.3.33
2020-10-10 23:53:39 +02:00
Tomas Votruba
4a76cdaa82
[SymfonyPHPConfig] Add monorepo split for value objects function ( #4153 )
...
* add monorepo split for symfony-php-config
* [SOLID] Prevent replacing referenced parametes with inlined constnat value
* make Symfon 5.0- compatible
* add support for reference skip in constructor
* [rector] add support for reference skip in constructor
* [cs] add support for reference skip in constructor
* improve misisng rule feedback
* underscore
* Fix ChangeReadOnlyVariableWithDefaultValueToConstantRector for new
* add clear-cache to all commands
* colors
* [rector] colors
* [cs] colors
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-10 17:42:43 +00:00
Leonardo Losoviz
effa4d34d8
[Downgrade PHP 7.3] List reference assignment ( #4371 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-08 16:04:18 +02:00
Tomas Votruba
a8f55f339f
[DX] Update dump nodes to not-use symfony style ( #4356 )
...
* [DX] Update dump nodes to not-use symfony style
* [rector] [DX] Update dump nodes to not-use symfony style
* [cs] [DX] Update dump nodes to not-use symfony style
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-05 09:29:07 +00:00
Tomas Votruba
1c8fac5242
Add meta node FileWithoutNamespace ( #4355 )
...
* [CakePHP] Promote AppUsesStaticCallToUseStatementRector to File
* [CakePHP] Change ImplicitShortClassNameUseStatementRector to FileWithoutNamespace approach
* [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
* [rector] [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
* [cs] [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-05 08:39:02 +00:00
Tomas Votruba
7e124dffc0
[static] replace string attirbutes with contants + fix require rule ( #4354 )
...
* replace string attirbutes with contants
* static fixes
* composer: bump sypmlify
* composer: drop branch alias, not usedp
2020-10-04 22:19:25 +00:00
Tomas Votruba
d0f65ef609
[PHP 8.0] @Required to #[Required] attribute from Symfony 5.2 ( #4348 )
...
* move ClassNodeAnalyzer to core
* README: add daily work focus
* spaces
* [PHP 8.0] Add #[Required] Symfony attribute migration
* add RFC links
* [rector] add RFC links
* [cs] add RFC links
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-04 11:12:41 +00:00
TomasVotruba
22605d697f
composer: bump symplify deps
2020-10-02 12:45:58 +02:00
Tomas Votruba
8ae3868a57
[Restoration] Add RestoreFullyQualifiedNameRector ( #4336 )
...
* [Restoration] Add RestoreFullyQualifiedNameRector
* update docs
* use service aware test case for PHPStan rules
* improve FullyQualifiedNameMatcher
* cs fixes
* add return doc resolution
* composer: bump to symfony 4.4/5.1
2020-10-01 19:45:29 +00:00
Tomas Votruba
5414a15492
composer: move tracy from require to require-dev ( #4331 )
2020-09-29 16:50:18 +00:00
JT Smith
219069f29f
Support latest php-parser ( #4304 )
2020-09-28 01:52:42 +02:00
TomasVotruba
d006788372
drop slam extensions, will be part of symplify
2020-09-25 20:19:53 +02:00
Tomas Votruba
c8386ccc84
bump migrify deps ( #4296 )
...
* monorepob-builder: add v prefix
* monorepob-builder: add v prefix
* bump migrify deps
2020-09-25 10:55:11 +00:00
Tomas Votruba
70bf2ea830
[DOCS] Switch DumpRectorCommand from console to string printer ( #4281 )
...
* monorepob-builder: add v prefix
* monorepob-builder: add v prefix
* bump symplify
* decouple SymfonyConsole from DumpRectorCommand
* moving to migrify php-config-printer
* regenerate docs
* include rules oerview
2020-09-24 18:54:39 +00:00
Sander Marechal
0ebf4df558
Move ocramius/package-versions to require-dev, fixes #4285 ( #4289 )
...
Co-authored-by: Sander Marechal <sander@prezent.nl>
2020-09-24 20:06:24 +02:00
TomasVotruba
8786d212cf
compsoer: add relase sripts
2020-09-24 16:31:53 +02:00
TomasVotruba
02fe819743
lock php-parser to prevent uncontrolled issues
2020-09-24 16:31:18 +02:00
Tomas Votruba
d7f90774ee
allow php-parser 4.10 + fixes of args merge change ( #4277 )
...
* allow php-parser 4.10 + fixes of args merge change
* use fixed php-parser 4.10.1
2020-09-23 20:22:35 +00:00
Tomas Votruba
7aad4bbf2f
[PHPStan] Enable regex constant rule ( #4279 )
2020-09-23 11:16:40 +02:00
Igor
19f700ba4e
[Naming] Factory to create PropertyRename ( #4255 )
...
* [Naming] Use factory to create PropertyRename
* Ignore new phpstan issues
* Move fixture to FixtureBasic to solve CI issue
* fix setUp vs dataProvider race condition
* fix autoload
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
2020-09-21 20:45:43 +00:00
Tomas Votruba
2243583537
[Docs] update docs and type check ( #4241 )
2020-09-18 11:50:55 +02:00
Tomas Votruba
cb14a3e1da
Remove auto-bind parameter + fix array return type parent ( #4252 )
...
* remove auto-bind parameters
* add filter interface
2020-09-17 21:28:16 +00:00
Tomas Votruba
9bcfb9a3f9
static fixes ( #4250 )
...
* composer: update deps
* ignore statics
2020-09-17 19:42:45 +00:00
Tomas Votruba
1950ab5abd
phpstan fixes ( #4224 )
2020-09-15 11:16:43 +02:00
Markus Staab
59547a5cbe
Github Actions: add a job which tests the lowest supported versions ( #4220 )
...
* Github Actions: add a job which tests the lowest supported versions
* Update tests.yaml
* run lowest only on php 7.2
to reduce the number of generated jobs
* faise min webmozart/assert version
we need at least https://github.com/webmozart/assert/pull/160
* use quotes
2020-09-14 21:01:01 +02:00
Leonardo Losoviz
abb9a3ef90
Downgrade PHP7.1 features: nullable types and void return type ( #4192 )
2020-09-12 11:50:13 +02:00
Tomas Votruba
33b9ac6fb8
[ci] Add PHP Linter ( #4188 )
2020-09-10 22:05:34 +00:00
TomasVotruba
db9d18227e
composer.json: add markdown file to check-cs
2020-09-09 23:58:12 +02:00
TomasVotruba
8b981eb912
colors
2020-09-09 23:57:46 +02:00
Abdul Malik Ikhsan
c17dae56dd
register check-markdown command to composer script ( #4149 )
...
* register check-markdown command to composer script
* remove .github/workflows/check_markdown.yml
* add --fix to vendor/bin/ecs check-markdown README.md
* update symplify/autowire-array-parameter to ^8.2.27 and symplify/easy-coding-standard to ^8.2.27
2020-09-09 18:05:38 +02:00
Leonardo Losoviz
4eacc84b22
Organize downgrades by PHP version ( #4147 )
...
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
2020-09-08 13:12:38 +02:00
Abdul Malik Ikhsan
46e2b450b3
add check markdown github action workflow for fix README.md markdown file ( #4134 )
2020-09-08 11:41:32 +02:00
Tomas Votruba
a32b4fed64
add jean85-pretty-version ( #4141 )
2020-09-08 01:12:41 +00:00
Tomas Votruba
c1b2824ab4
show command - display loaded sets + fix set provider ( #4111 )
2020-09-02 17:26:33 +02:00
Adamo Crespi
8311a55573
Fix #4109 : Require webmozart/assert
. ( #4110 )
2020-09-02 16:03:50 +02:00
TomasVotruba
549bf1a648
allow PHP 8.0
2020-09-01 21:13:54 +02:00
Tomas Votruba
082f1c6294
[Transform] Move StaticCallToMethodCallRector to Transform ( #4084 )
...
* drop MessageAsArrayRector, as only rule in guzzle
* [Transform] Move StaticCallToMethodCallRector to Transform
2020-08-31 00:26:25 +00:00
Tomas Votruba
df6e083324
drop MessageAsArrayRector, as only rule in guzzle ( #4083 )
2020-08-31 00:16:12 +00:00
Tomas Votruba
3d03ec4beb
Removing single-rule elastic package set, merge Decomplex set to CodingStyle, merge FrameworkMigration to NetteToSymfony ( #4079 )
...
* drop elasticsearch-dsl50, used for single change, unmaintained
* [CodingStyleAdvanced] Move UseMessageVariableForSprintfInSymfonyStyleRector from single-rule set Decomplex to CodingStyleAdvanced
* merge FrameworkMigration with 1 class to NetteToSymfony
* [Transform] Move ServiceGetterToConstructorInjectionRector to Transform set
* [Transform] Move ReplaceParentCallByPropertyCallRector to Transform package
* [Transform] Move StaticCallToFunctionRector to Transform
* update docs
* [Transform] Move NewToStaticCallRector to Transform
2020-08-30 18:48:37 +00:00
Tomas Votruba
4584359f96
[Transform] Move FuncCallToMethodCallRector to Transform category ( #4077 )
2020-08-30 19:59:59 +02:00