Tomas Votruba
ca353017e2
[Utils] Add OnlyOneClassMethodRule ( #4814 )
...
* [Utils] Add OnlyOneClassMethodRule
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-07 00:48:01 +00:00
Tomas Votruba
8bfb36d0b2
[Downgrade] [PHP 7.3] Downgrade trailing commas in function calls ( #4796 )
...
Co-authored-by: Tommy Quissens <tommy.quissens@storefront.be>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 22:40:10 +01:00
Tomas Votruba
520b8a9a85
[DeadDocBlock] decouple return and param rules ( #4782 )
...
* decopule return and parma rules
* enable in CI
* cleanup
* protected class-string vs string
2020-12-05 00:31:05 +00:00
Tomas Votruba
5201e949a1
[PHPStanExtensions] Add ForbiddenMethodCallOnTypeRule + move from docComment and Comments to PhpDocInfo ( #4780 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 00:22:12 +01:00
TomasVotruba
0f8893bbc2
fix symfony-php-config location
2020-12-01 23:03:47 +01:00
Tomas Votruba
267989bb05
[Docs] Add docblock docs ( #4740 )
...
* skip getUser() as the method is final
* drop comment along with removed node, as in other removed nodes
* [docs] add doc block docs
2020-12-01 01:09:50 +00:00
Tomas Votruba
3d721e8ca8
drop symfony\process for single call ( #4735 )
2020-11-29 18:47:29 +01:00
Tomas Votruba
79f3611dc9
remove ci-detector, make no-progress-bar api compatible with other CI tools ( #4734 )
2020-11-29 18:37:13 +01:00
Tomas Votruba
d962e3f6b0
[Downgrade] Add composer platform check ( #4721 )
2020-11-28 00:16:19 +01:00
Tomas Votruba
377c734975
drop old compiler ( #4716 )
2020-11-27 17:54:14 +01:00
Tomas Votruba
9150af563a
make use symplify/php-doc-parser ( #4703 )
...
* make use Symplify/PhpDocParser
* report line
* remove monorepo-builder, not needed anymore
* use php action 2
* fixup! use php action 2
2020-11-27 12:23:25 +00:00
Tomas Votruba
080e5cbe00
use symplify/skipper ( #4689 )
2020-11-26 23:09:21 +01:00
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
Tomas Votruba
4c9b816537
fix symplfy/vendor-patches name
2020-11-26 11:32:31 +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
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
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
Tomas Votruba
615f0c4ee4
[composer] allow 8.3.* Symplify deps
2020-11-15 15:16:14 +00:00
Tomas Votruba
2ea43de66d
composer: use migrify 0.4
2020-11-14 20:19:55 +00: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
Tomas Votruba
4c6da2c4bf
[Laravel 5.7] Add parent boot rule ( #4580 )
...
* move file to templates, to remove confusion in the root
* use stable symplify
* [Laravel] Add AddParentBootToModelClassMethodRector
* [ci-review] Generate Rector & Nodes documentation
* [ci-review] propagate monorepo dependencies
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-11 17:09:57 +00:00
Tomas Votruba
297ec316af
move suffix filesystem 3 ( #4540 )
2020-11-01 21:31:13 +01:00
Tomas Votruba
c03b66f7cd
move suffix filesystem 2 ( #4529 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-01 16:39:04 +01:00
Tomas Votruba
8542a3bcbc
Move from Filesystem rules to FileNode ( #4528 )
...
* make MoveServicesBySuffixToDirectoryRector with non-filesystem rector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Apply coding standards
* fixup! make MoveServicesBySuffixToDirectoryRector with non-filesystem rector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-31 21:39:09 +00:00
Tomas Votruba
562c96a6c2
drop coding machines strict rules, unused
2020-10-31 14:15:22 +01:00
Tomas Votruba
0513315056
Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node ( #4522 )
...
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node
* update DecoupleClassMethodToOwnClassRector
* [ci] add rebase jobp
* disable fail fast for unit tests
* misc
2020-10-31 12:59:40 +00:00
Tomas Votruba
9751b9a1e8
[Decouple] Remove set, rather job for PHPStorm ( #4521 )
...
* [Decouple] Remove set, rather PHPStorm job
* update docs
2020-10-31 07:54:00 +00:00
Tomas Votruba
18d2ea2d31
[Nette] Add MoveFinalGetUserToCheckRequirementsClassMethodRector ( #4520 )
...
* [Nette] Add MoveFinalGetUserToCheckRequirementsClassMethodRector
* [Nette] Add MoveFinalGetUserToCheckRequirementsClassMethodRector
* patch final presenter to allow tests
2020-10-31 00:43:54 +00:00
Tomas Votruba
dc2047f70a
[TypeDeclaration] Switch from stringy types to PHPStan types ( #4510 )
...
* nette-30 config cleanup
* [TypeDeclaratoin] Move AddReturnTypeDeclarationRector from generic
* add Type support to AddReturnTypeDeclaration
* make AddParamTypeDeclarationRector use PHPStan type objects over strings
* [SymfonyPhpConfig] Add support for nested types
* drop StringTypeToPhpParserNodeMapper
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-30 11:58:35 +00:00
Tomas Votruba
63037fe924
[DynamicTypeAnalysis] Drop for too theoretical content, needs real project to test out ( #4511 )
2020-10-30 00:30:10 +00:00
Tomas Votruba
7da47f444b
[ci] automated rebase experiment ( #4498 )
...
* [ci] automated rebase experiment
* fixup! [ci] automated rebase experiment
* fixup! fixup! [ci] automated rebase experiment
2020-10-29 23:14:17 +01:00
Tomas Votruba
20e95bee61
[CI] Run ECS only on match git diff ( #4487 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-26 12:28:32 +01:00
Tomas Votruba
6f56d0dfbe
[docs] apply correct standard on dumper Rector list + apply automated CI commit on propagate monorepo deps ( #4481 )
2020-10-26 00:22:53 +01:00
Tomas Votruba
bdf9464d25
skip bugged phpstan file
2020-10-25 14:56:11 +01:00
Tomas Votruba
0f2e6d407e
[DoctrineAnnotaitonGenerated] Update to doctrine/annotations 1.11 + fix static ( #4479 )
2020-10-25 14:43:05 +01:00
Tomas Votruba
5bb03f2fcb
composer: bump symplify dpes
2020-10-25 01:20:14 +02:00
Tomas Votruba
10ae0d687a
[CodeQuality] Add NewStaticToNewSelfRector ( #4468 )
...
* [CodeQuality] Add NewStaticToNewSelfRector
* regenerated docs
* drop patches
2020-10-20 22:01:47 +00:00
TomasVotruba
23acc41b3c
try monorepo split patch fix
2020-10-19 17:24:51 +02:00
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
Tomas Votruba
989c3f4168
[Transform] Move HelperFunctionToConstructorInjectionRector to Transform package ( #4074 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-30 18:55:16 +02:00
Tomas Votruba
e698e83687
[Transform] Decouple new set that changes nodes ( #4073 )
...
* [Transform] Move PropertyToMethodRector from Generic to Transform category
* move AbstractIsAbleRector to Generic
* [Transform] Move MethodCallToPropertyFetchRector from Generic to Transform
* [Transform] Move MethodCallToStaticCallRector from Generic to Transform
* [Transform] Move MethodCallToAnotherMethodCallWithArgumentsRector from Generic to Transform
2020-08-30 15:47:36 +02:00
dobryy
d40309963c
[Type Declaration] Create new unit test for ArrayTypeMapper with fixes ( #4054 )
...
* Create new unit test for ArrayTypeMapper with fixes
* Fix typo in method name that breaks all tests
* Remove skip too many fixtures to implement the fix for these fixtures as a next PR.
2020-08-29 10:41:19 +02:00
Tomas Votruba
4553ae9579
[DX] Add TypeMethodWrap, RemovedArgument ( #4026 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-25 21:05:58 +02:00
Tomas Votruba
c1653070f5
[phpstan] Add rule for complex config ( #4015 )
...
* [phpstan] Add ForbiddenComplexArrayConfigInSetRule
* add MethodCallRename value object
* [SymfonyPhpConfig] Add array to value object configuration rule
* apply first MethodCallRename value object
2020-08-24 22:26:14 +00:00
Tomas Votruba
de4748f935
README + recipe improvements ( #4017 )
...
* rector-recipe and README improvements
* ci: add generate command test
2020-08-24 21:25:26 +00:00
Tomas Votruba
4ef653976f
Fix invalid set reporting ( #4006 )
...
* do not use internal rectors
* report invalid set
* remove dashes before number in set name
* [rector] remove dashes before number in set name
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-22 19:27:41 +00:00
Tomas Votruba
752a35253b
Remove YAML from tests ( #3989 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-19 18:00:27 +02:00
Tomas Votruba
1f61fe34f0
import repo entity ( #3988 )
...
* various fixes
* add import for generic types
* bump to newer phpstan with php-parser 4.9
2020-08-19 13:20:16 +00:00
Tomas Votruba
101b9bfcb2
composer: lock to php-parser 4.8 to prevent bugs ( #3987 )
2020-08-19 13:36:29 +02:00
Tomas Votruba
3b87f6c5c8
update ecs.php to use constants over strings ( #3982 )
2020-08-18 16:42:54 +00:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type ( #3973 )
2020-08-18 17:57:30 +02:00
TomasVotruba
e55d2b7bf6
add missing easy-testing
2020-08-14 17:36:24 +02:00
Tomas Votruba
4fce95c509
add easy-ci ( #3953 )
2020-08-12 22:59:25 +02:00
Tomas Votruba
74fc11088d
move Polyfill to rules ( #3951 )
2020-08-12 18:30:42 +00:00
Tomas Votruba
89537b830f
use symplify rule ( #3949 )
2020-08-12 13:07:43 +00:00
Tomas Votruba
f71b242924
[Defluent] Allow DateTime to be fluent ( #3947 )
...
* ignore prefixed conflcits
* note
* skip date-time from defluencing
* drop parameter name guard, not needed anymore
* make use of addNodesAfterNode()
2020-08-12 12:32:45 +00:00
Tomas Votruba
106fb1101a
service entity repository combo ( #3945 )
...
* service entity repo combo
* apply cs, add tests, fixes
* update doc parser
* [Generic] Add RemoveAnnotationRector
* add nullsafe nodes to docs
* drop AddEmptyLineBetweenCallsInPhpConfigRector, not that useful
* namespace and phpstan fix
* [ci] merge PHPStan compat to one job, no gain split attention
* [rector] [ci] merge PHPStan compat to one job, no gain split attention
* [cs] [ci] merge PHPStan compat to one job, no gain split attention
Co-authored-by: Marek Šimeček <marek.simecek@footshop.cz>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-12 09:44:34 +00:00
dobryy
a3be7e03ca
[DX] Rename namespaces of Rector rules to respect node, instead of domain ( #3911 )
2020-08-12 11:08:59 +02:00
Tomas Votruba
6b0249a025
drop slevomat cs to prevent breaking build for last months ( #3917 )
2020-08-05 22:57:39 +00:00
TomasVotruba
2d8cce7da7
require phpdoc-parser 0.4.9
2020-08-05 23:24:24 +02:00
Tomas Votruba
5e0dfbd77a
re-use param in constructor ( #3913 )
2020-08-05 13:37:40 +00:00
Tomas Votruba
b2054a32fc
Provide existing expression to get type ( #3899 )
...
* add support to provide existing expression instead of addgin a property with type
* [rector] add support to provide existing expression instead of addgin a property with type
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-04 13:12:43 +00:00
Tomas Votruba
97de8eb625
[Generic] FuncCallToMethodCall only in case of parent class ( #3894 )
...
* [Generic] Improve FuncCallToMethodCallRector
* [rector] [Generic] Improve FuncCallToMethodCallRector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 23:58:03 +00:00
Tomas Votruba
2bd1eac705
use dev nette deps to resolve form/application types ( #3879 )
2020-08-03 08:51:44 +00:00
Tomas Votruba
e35131524c
[Nette 3.0] Various rules updates ( #3878 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-03 09:26:01 +02:00
TomasVotruba
dc14ddd0b9
[PHP 8.0] Add ChangeSwitchToMatchRector
2020-07-30 18:19:53 +02:00
TomasVotruba
32ee83de05
add ChangeServiceArgumentsToMethodCallRector
2020-07-30 00:24:00 +02:00
TomasVotruba
2741893bbf
[RectorGenerator] Refactoring to testable code
2020-07-29 20:50:31 +02:00
TomasVotruba
5859625d5d
[Nette] Add TranslateClassMethodToVariadicsRector
2020-07-29 03:21:08 +02:00
TomasVotruba
7c01151ec6
Move Core Rector rules to Generic namespace, to prevent mixup with Core code
2020-07-29 02:05:52 +02:00
zingimmick
b943ba59cf
Update doctrine/inflector requirement from ^1.3 to ^1.4|^2.0
2020-07-28 00:19:38 +08:00
TomasVotruba
c28a5a9746
[Celebrity] Merge to code-quality
2020-07-27 10:18:03 +02:00
TomasVotruba
0650075005
[Nette] Add ChangeControlArrayAccessToAnnotatedControlVariableRector
2020-07-26 15:54:46 +02:00
TomasVotruba
db8fd1d6fe
lock down to php-parser 4.6 to prevent BC break with PHPStan
2020-07-26 11:30:43 +02:00
TomasVotruba
5106475aae
bump to phpstan 0.12.33
2020-07-26 11:30:43 +02:00
TomasVotruba
9c08060925
[Injection] Add StaticCallToAnotherServiceConstructorInjectionRector
2020-07-24 13:47:35 +02:00
TomasVotruba
78a0331708
[SymfonyPhpConfig] Add AddEmptyLineBetweenCallsInPhpConfigRector
2020-07-22 23:50:58 +02:00
TomasVotruba
77680bb332
composer: drop check-docs, never used
2020-07-22 21:54:46 +02:00
TomasVotruba
6d128831c4
remove composer-json-manipulator from the root
2020-07-21 23:08:52 +02:00
TomasVotruba
e7b61e6fda
bump to symplify phar-aware file info
2020-07-21 22:43:54 +02:00
TomasVotruba
d093ba3133
composer: remove cs dependency
2020-07-21 22:09:22 +02:00
TomasVotruba
972068e346
fix dev deps
2020-07-21 14:59:02 +02:00
TomasVotruba
151f249ae8
lock to stable symplify
2020-07-21 14:24:20 +02:00
TomasVotruba
2eb21e1087
make use of new set from symplify
2020-07-21 14:10:48 +02:00
TomasVotruba
3a9375007e
decouple Set package
2020-07-21 01:39:24 +02:00
TomasVotruba
31fca6da21
lock phpstan to 0.12.32 to prevent internal errors
2020-07-20 01:53:34 +02:00
TomasVotruba
bc0d9b3675
from YAML to PHP sets
2020-07-18 19:56:27 +02:00
TomasVotruba
2b9cde7967
cleaning
2020-07-18 19:56:27 +02:00
TomasVotruba
78f830a6f7
add PHP support to FileHashComputer
2020-07-17 00:59:52 +02:00
TomasVotruba
70895c8f6b
switch ecs.yaml to ecs.php
2020-07-16 17:37:24 +02:00
TomasVotruba
3339900e04
composer: add migrify/config-transformer
2020-07-16 12:40:57 +02:00
TomasVotruba
04a08c0f9c
composer: update symplify deps
2020-07-16 00:42:23 +02:00
dobryy
8df866b3ca
[Downgrade] PHP 7.4 to 7.1 (Property Type)
2020-07-12 08:37:53 +02:00
Tomas Votruba
1f699943c8
Merge pull request #3661 from jaapio/mockery-to-prophecy/replace-mock-creation
2020-07-06 23:17:43 +02:00
Jaapio
9cfa1dccc3
Rewrite simple mock creation
2020-07-06 22:31:05 +02:00
TomasVotruba
05c10af920
[Decomplex] Add UseMessageVariableForSprintfInSymfonyStyleRector
2020-07-06 01:59:41 +02:00
TomasVotruba
ae2d069ba1
composer: bump to latest Symplify 8.1.3
2020-07-04 17:40:13 +02:00
TomasVotruba
3fb42ea735
remove forgotten dev dependency
2020-07-03 18:08:51 +02:00
TomasVotruba
b3f6838eb5
restore original composer
2020-07-03 16:41:59 +02:00
TomasVotruba
715d9c535a
fix path
2020-07-03 01:40:05 +02:00