Commit Graph

1015 Commits

Author SHA1 Message Date
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
TomasVotruba
77130343d9 lock to php-parser 4.5, till phpstan is ready 2020-07-03 01:32:34 +02:00
TomasVotruba
bef11bd7be add speed trap 2020-07-02 15:06:18 +02:00
TomasVotruba
574de08dfa remove issue-tests, already covered in specific rule tests 2020-07-02 13:40:51 +02:00
TomasVotruba
b058f9bb65 composer: use 0.12.32 version 2020-07-01 23:22:30 +02:00
TomasVotruba
9fd831861c add failing ci 2020-07-01 23:05:12 +02:00
TomasVotruba
24d5f65811 remove speedtrap, not useful 2020-06-30 00:59:42 +02:00
TomasVotruba
4755ba8c88 move FluentInterfaceClass to MagicDisclosure package 2020-06-28 19:41:54 +02:00
TomasVotruba
b5981133a9 [Decouple] Add DecoupleClassMethodToOwnClassRector 2020-06-28 14:13:29 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
TomasVotruba
f713c16afd make use of Symplify/EasyTesting 2020-06-25 19:15:40 +02:00
TomasVotruba
6d2aad57a6 add easy-testing package 2020-06-25 18:40:31 +02:00
TomasVotruba
fa0d8d238c [NetteCodeQuality] Add MoveInjectToExistingConstructorRector 2020-06-24 22:19:10 +02:00
TomasVotruba
09d28abed9 remove abz from classmap 2020-06-19 12:23:54 +02:00
TomasVotruba
75b8d37e4b extend test case 2020-06-19 12:06:46 +02:00
TomasVotruba
3ac6837f14 remove /refactoring dir 2020-06-18 23:07:55 +02:00
TomasVotruba
de0dbc6876 add BreakingREmovalGuard, CommentableNodeResolver, and @fixme to un-removable nodes in ini_get/ini_set 2020-06-18 12:07:26 +02:00
TomasVotruba
9e0aa89026 allow new phpstan 2020-06-18 00:24:36 +02:00
TomasVotruba
710a23ccea update phpstan 2020-06-15 11:00:25 +02:00
TomasVotruba
f66e06a36c [NetteUtilsCodeQuality] Add ReplaceTimeNumberWithDateTimeConstantRector 2020-06-06 19:22:52 +02:00
TomasVotruba
641016f129 [PHP 8.0] Add RemoveUnusedVariableInCatchRector 2020-06-03 09:31:06 +02:00
TomasVotruba
f27f50bf9c rework AbstractRunnableRectorTestCase from eval to include 2020-05-31 14:11:04 +02:00
TomasVotruba
3b3951aa3a update to phpstan/phpstan-phpunit 0.12.10 2020-05-31 12:13:37 +02:00
TomasVotruba
6446fe5e22 update to phpstan/phpstan-phpunit 0.12.9 2020-05-31 01:32:13 +02:00
TomasVotruba
0257636093 fix phpstan-phpunit to working version 2020-05-31 00:01:33 +02:00
TomasVotruba
0a255f7758 refactor finish extension to event subscriber 2020-05-26 14:59:45 +02:00
TomasVotruba
093f425c4d decouple reporting package 2020-05-26 14:36:11 +02:00
TomasVotruba
13814e0321 decopule Extension package 2020-05-26 14:09:42 +02:00
TomasVotruba
387ded5ecc [Kdyby to Contributte] Add Subscriber migration 2020-05-24 18:52:54 +02:00
TomasVotruba
d3902eec38 compiler: update dependencies 2020-05-20 12:25:33 +02:00
TomasVotruba
d4777e9bf3 add ScopingTest 2020-05-20 11:29:21 +02:00
TomasVotruba
a7cf3724d1 use beta2 symplify version 2020-05-18 18:40:38 +02:00
TomasVotruba
c71b7aac2f composer: bump to Symplify 8-dev 2020-05-17 00:55:47 +02:00
TomasVotruba
4128fce414 composer: allow install phpdoc-parser 0.4.7 2020-05-16 12:54:59 +02:00
TomasVotruba
88268dcc6c use new FileSystemFilter 2020-05-16 12:44:27 +02:00
TomasVotruba
4b4c524af8 fix minimal dependencies by bumping doctrine/annotations to 1.10 2020-05-16 12:20:50 +02:00
TomasVotruba
5b0811d9da composer: bump to last symplify 7.3 version 2020-05-15 23:42:25 +02:00
TomasVotruba
a6598e5e82 [MockistaToMocker] init 2020-05-15 14:10:14 +02:00
TomasVotruba
cc6fef2492 [ElasticsearchDSL] Deprecate single custom rule, better handled by community 2020-05-13 18:15:35 +02:00
TomasVotruba
9e1fceba77 [Oxid] Deprecate single custom rule, better handled by community 2020-05-13 17:45:53 +02:00
TomasVotruba
e9ba820fa4 [Shopware] Deprecate single custom rule, better handled by community 2020-05-13 17:42:43 +02:00
TomasVotruba
0e220550d8 [Sylius] Deprecate single custom rule, better handled by community 2020-05-13 17:40:14 +02:00
TomasVotruba
a3bfaed373 [Silverstripe] deprecate, handled by community 2020-05-13 17:35:28 +02:00
TomasVotruba
cf6d2e0d02 move MinimalScope to Privatization, same purpose 2020-05-12 17:08:21 +02:00
TomasVotruba
91e58b197a bump to stable symplify 2020-05-11 16:39:41 +02:00
TomasVotruba
5912cd0cc6 lock symplify version to last patch 2020-05-11 15:06:56 +02:00
TomasVotruba
71bba33ad6 Add symplify/parameter-name-guard 2020-05-11 14:37:23 +02:00
TomasVotruba
2bb6a94aaf fix deps due to slevomat lockdown 2020-05-10 23:22:02 +02:00
TomasVotruba
a2cf111e7d bump deps 2020-05-10 23:14:25 +02:00
TomasVotruba
f63e4424b8 move MultipleClassFileToPsr4ClassesRector to PSR4 2020-05-10 00:54:56 +02:00
TomasVotruba
8c82e83946 composer: bump to latest Symplify 2020-05-09 20:49:54 +02:00
TomasVotruba
558ece61e0 deprecate Zend 1 to Symfony 4 set 2020-05-06 18:13:22 +02:00
TomasVotruba
1be9176f75 add console-color-diff 2020-05-05 16:49:29 +02:00
TomasVotruba
ec3a84e8d3 decouple IsAbleRector for is_countable and is_iterable abstraction 2020-05-05 14:24:56 +02:00
TomasVotruba
cc794711ad [CakePHP to Symfony] Deprecate unfinished set 2020-05-03 23:30:59 +02:00
TomasVotruba
c3e82579e4 [Order] Add OrderPrivateMethodsByUseRector 2020-05-03 23:03:03 +02:00
TomasVotruba
e9f3945838 composer: bump symplify deps 2020-05-03 21:21:07 +02:00
TomasVotruba
4de3fb1428 README: undescore format for file naming 2020-05-03 14:22:23 +02:00
TomasVotruba
00b3184eb3 [Naming] Add RenamePropertyToMatchTypeRector 2020-05-02 22:36:11 +02:00
TomasVotruba
f5b40ed6ca [Performance] Add PreslashSimpleFunctionRector 2020-05-01 18:22:02 +02:00
TomasVotruba
1612ef2165 [PHP 8.0] Add attributes v2 2020-04-29 00:25:45 +02:00
TomasVotruba
390a28cc5c update CHANGELOG 2020-04-26 23:32:34 +02:00
TomasVotruba
93c033809a publish dump-rectors command with 3rd party install 2020-04-26 23:25:34 +02:00
TomasVotruba
40d8863d2d add slam/phpstan-extensions 2020-04-25 16:42:43 +02:00
TomasVotruba
8082b3a2f2 [PHP 8.0] Add str_starts_with 2020-04-23 23:06:36 +02:00
TomasVotruba
3007985546 composer: remove --debug from rector-ci run 2020-04-22 22:32:47 +02:00
TomasVotruba
5f4a2c1e3b Add changed files caching 2020-04-20 01:54:17 +02:00
TomasVotruba
0939387553 use getProperty() 2020-04-19 23:27:37 +02:00
TomasVotruba
192c4464ec various improvements 2020-04-19 23:17:01 +02:00
TomasVotruba
296de13121 [PHPOffice] Init migration to PHPSpreadSheets 2020-04-15 18:48:58 +02:00
TomasVotruba
58337e5d0e [NodeNestingScope] Decopule new package 2020-04-14 10:52:20 +02:00
TomasVotruba
a3e572b765 limit php-parser to 4.3 [closes #3160] 2020-04-13 11:52:44 +02:00
TomasVotruba
d29c4ede57 Add DoctrineAnnotationParserSyncer 2020-04-04 22:01:47 +02:00
TomasVotruba
1f74373795 remove non-markdown nodes dumper + add public property list + types 2020-04-02 14:17:06 +02:00
TomasVotruba
0fec67e7bd remove json rector dump formatter, not needd 2020-04-02 14:17:06 +02:00
TomasVotruba
629042eeb4 move NodeRemovingRector to collector 2020-03-31 19:34:56 +02:00
TomasVotruba
a8da478d44 fix Safe\function conflicts 2020-03-31 17:46:04 +02:00
Tim Ward
e1479b4a07
Require symfony 5.0.6 or 4.4.6 2020-03-30 09:31:45 -04:00
TomasVotruba
69436fc827 naming 2020-03-29 16:16:27 +02:00
TomasVotruba
1cec462ccf rename to ProjectValidator 2020-03-29 16:13:32 +02:00
TomasVotruba
be4b34302f move ci/check_keep_fixtures.php to ValidateFixtureCommand 2020-03-29 15:50:36 +02:00
TomasVotruba
f823903560 move run_all_sets to ValidateSetsCommand 2020-03-29 15:37:46 +02:00
Pascal Landau
cc18c9a52a Add parallel execution to ci/run_all_sets 2020-03-29 14:45:54 +02:00
TomasVotruba
15945fc1bc move Legacy to rules 2020-03-29 00:58:12 +01:00
TomasVotruba
fea734ab61 composer: update complete-check 2020-03-29 00:35:40 +01:00
TomasVotruba
626287ec76 apply privatization 2020-03-29 00:06:05 +01:00
TomasVotruba
6521583a40 fix importing of non-existing classes 2020-03-27 16:43:42 +01:00
TomasVotruba
31023ee27b # This is a combination of 2 commits.
# This is the 1st commit message:

fix importing of non-existing classes

# The commit message #2 will be skipped:

# fixup! fix importing of non-existing classes
2020-03-27 16:42:50 +01:00
TomasVotruba
d608507f2e rename PHP sets to comply with standard 2020-03-24 23:44:42 +01:00
TomasVotruba
97f5ff545c decouple ChangesReporting package 2020-03-19 13:55:54 +01:00
Jan Mikeš
d395e1c28b
Failing commit, so bot can fix things up!
Rector CI job renamed to Rector and only reports, no fixes

Rector CI in Github Actions

Bot commit

Improved bot message a little

Feeding dog for the last time!

[Rector CI] Fixed Rector issues

Failing commit, so bot can fix things up!
2020-03-12 23:58:32 +01:00
Tomas Votruba
df67615e7a
Merge pull request #3013 from rectorphp/commit-rector-changes-from-github-actions
Commit rector processed changes from CI
2020-03-12 22:22:43 +01:00
TomasVotruba
4bc29f14e5 fix config hash bug 2020-03-12 11:35:32 +01:00
Jan Mikeš
31eca1df2b
Push rector fixes from CI 2020-03-11 21:59:06 +01:00
Tomas Votruba
5a5d5dc340
Merge pull request #2998 from Aerendir/support-throwing-functions
AnnotateThrowables: support analysis of called functions and methods
2020-03-06 14:20:21 +01:00
Aerendir
d449075643 Support analysis of called functions. 2020-03-04 09:13:42 +01:00
TomasVotruba
4ba189582f drop dump functions, not useful 2020-03-03 17:23:09 +01:00
TomasVotruba
06de6d708a bump Symplify to 7.2.3 2020-02-29 15:45:17 +01:00
TomasVotruba
9311d4f4a0 composer: replace prefixed 2020-02-29 13:16:34 +01:00
TomasVotruba
2f5055c3c4 sort namespaces 2020-02-27 14:34:33 +01:00
TomasVotruba
e72639d883 add jetbrains stubs 2020-02-26 18:17:13 +01:00
TomasVotruba
99f15621be fix docs space test 2020-02-25 01:24:10 +01:00
TomasVotruba
f7aefc68b8 [DeadCode] Add RemoveUnusedVariableAssignRector 2020-02-23 22:36:23 +01:00
TomasVotruba
8347a4c784 [JMS] Add RemoveJmsInjectParamsAnnotationRector and RemoveJmsServiceAnnotationRector 2020-02-23 18:44:19 +01:00
TomasVotruba
9da97ed1f6 update alias 2020-02-19 14:36:10 +01:00
TomasVotruba
8040aa8613 bump to phpstan 0.12.11 2020-02-19 00:18:08 +01:00
alfredbez
2cd3761661 added rector to replace oxid backwards-compatability classes 2020-02-18 12:10:03 +01:00
TomasVotruba
bf722ad9b5 move nette to rules 2020-02-14 10:51:33 +01:00
TomasVotruba
0d21a466da Add ClassInCorrectNamespaceRector 2020-02-13 23:44:04 +01:00
TomasVotruba
187bcd92eb use filesytem utils package name 2020-02-13 23:02:57 +01:00
TomasVotruba
13aff11638 fix statis int/float in ereg transformer 2020-02-13 11:10:09 +01:00
alfredbez
722fba7138 add more checks to 'composer complete-check' 2020-02-13 08:52:51 +01:00
TomasVotruba
3e5dd77bb6 move Rector-rule based packages from /packages to /rules 2020-02-11 13:41:37 +01:00
TomasVotruba
2a930f893d decopule StaticTypeMapper, NameScopeFactory and StirngTypeToPhpParserNodeMapper 2020-02-10 10:17:05 +01:00
TomasVotruba
292c7125b6 decouple NodeCollector package 2020-02-10 10:05:15 +01:00
TomasVotruba
e3d34567fd NodeNameResolver decoupled to own package 2020-02-09 23:47:00 +01:00
TomasVotruba
c52f03a019 [ECS] Remove cognitive complexity ignores 2020-02-09 23:13:12 +01:00
Ondrej Mirtes
eade304bc5
PHPStan - require dev version 2020-02-08 20:00:10 +01:00
Witold Wasiczko
09e744614c
Add support for phpunit 9 2020-02-07 20:46:43 +01:00
TomasVotruba
7f2b0afd7d rename package to use lowercased standard, prevent confusion with PSR-4 autoloaded 2020-02-07 16:11:43 +01:00
TomasVotruba
607358a8e1 move src classes to Rector\Core namespace to prevent duplications 2020-02-07 00:57:45 +01:00
TomasVotruba
aa14cdd461 use FQN bin paths in composer.json for easier copy-paste 2020-02-07 00:09:31 +01:00
TomasVotruba
9cb8a12ba6 init rename-core 2020-02-07 00:09:31 +01:00
TomasVotruba
f47d1760b8 composer: add Core namespace to prevent collision 2020-02-06 17:30:09 +01:00
TomasVotruba
1b45b08196 update to phpstan 0.12.9 2020-02-05 09:22:46 +01:00
TomasVotruba
51a5b21315 composer: use phpstan 0.12.8 2020-02-05 09:22:46 +01:00
TomasVotruba
1dda9804f5 apply property and method order 2020-02-02 12:14:43 +01:00
TomasVotruba
47459c9d3e cleanup 2020-01-27 23:58:14 +01:00
TomasVotruba
eaa018bb3c bump to last working phpstan version 2020-01-27 23:58:14 +01:00
TomasVotruba
934bfb691a fix function autoload and exclude duplicated fixture from create command 2020-01-22 00:26:29 +01:00
TomasVotruba
4fce5091ae move RectorGenerator to core code 2020-01-21 23:55:58 +01:00
TomasVotruba
305fcfdb7f add rd() function mapping to tracy 2020-01-21 18:37:46 +01:00
TomasVotruba
1b052ca9b8 fix unloaded Rector utils 2020-01-21 18:30:02 +01:00
TomasVotruba
ed37a79209 [CakePHPToSymfony] Add CakePHPModelToDoctrineEntityRector 2020-01-21 14:32:51 +01:00
TomasVotruba
81531b2669 [CakePHPToSymfony] Add CakePHPControllerRenderToSymfonyRector 2020-01-19 02:21:07 +01:00
TomasVotruba
a60e526722 [CakePHPToSymfony] Add CakePHPControllerComponentToSymfonyRector 2020-01-18 18:50:03 +01:00
TomasVotruba
a550868574 [CakePHPToSymfony] Add CakePHPControllerToSymfonyControllerRector 2020-01-18 18:50:03 +01:00
TomasVotruba
1678950146 add PHPStanStaticTypeMapperChecker packages 2020-01-16 13:32:02 +01:00
TomasVotruba
e64f787cde [PHPStanStaticTypeMapper] Decouple new services to handle PHPStan type mapping 2020-01-14 15:26:36 +01:00
TomasVotruba
0afb435a07 composer: bump phpstan to 0.12.5 2020-01-12 23:34:34 +01:00
TomasVotruba
464eb22030 Add PHPStanAttributeTypeSyncer 2020-01-12 21:42:19 +01:00
TomasVotruba
51ce266eb4 test doctrine/orm 2020-01-12 11:26:27 +01:00
TomasVotruba
fa12a080e4 [CakePHP] Add ImplicitShortClassNameUseStatementRector 2020-01-11 22:14:25 +01:00
TomasVotruba
3050843a49 [CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector 2020-01-11 22:14:25 +01:00
TomasVotruba
f8a1999304 fix cs & bump to Symplify 7.2 2020-01-06 14:44:07 +01:00
Tomas Votruba
befc972d5c
[Polyfill] Add UnwrapFutureCompatibleIfRector (#2569)
[Polyfill] Add UnwrapFutureCompatibleIfRector
2020-01-06 13:15:33 +01:00
TomasVotruba
a37a7d1dad [Polyfill] Add UnwrapFutureCompatibleIfRector 2020-01-06 13:00:26 +01:00
Ondrej Mirtes
b77fa521c3
Compatibility with PHPStan 0.12.4 2020-01-06 09:57:24 +01:00
TomasVotruba
84e1e98a51 lock to phpstan before bc breaks 2020-01-06 09:13:13 +01:00
TomasVotruba
268480b2fc [MinimalScope] Add ChangeLocalPropertyToVariableRector 2020-01-04 01:12:15 +01:00
TomasVotruba
2ac711d2b2 [DoctrineGedmoToKnplabs] init set 2019-12-25 19:51:35 +01:00
TomasVotruba
c7656e7951 [NetteToSymfony] Add FormControlToControllerAndFormTypeRector 2019-12-22 19:37:46 +01:00
TomasVotruba
9f1b745592 [Phalcon 4.0] Add FlashWithCssClassesToExtraCallRector 2019-12-15 23:01:41 +01:00
TomasVotruba
5a7705bbdc [PHP 5.6] Skip undefined variable this 2019-12-15 20:15:38 +01:00
TomasVotruba
e4e73b3d6d various fixes 2019-12-09 14:51:39 +01:00
TomasVotruba
9075363fef bump to PHPStan 0.12 2019-12-09 00:57:53 +01:00
TomasVotruba
290d0b4ee5 fixup! Merge pull request #2409 from rectorphp/phalcon-round-2 2019-12-08 18:01:29 +01:00
TomasVotruba
ad3d0cbe60 composer: lock phpstan to 0.11.19 due to breaking changes [closes #2385] 2019-12-04 21:35:11 +01:00
TomasVotruba
d5952978c9 update backers 2019-11-24 16:28:11 +01:00
TomasVotruba
86d14353f4 decoupling 2019-11-24 16:28:11 +01:00
TomasVotruba
53eda0bb8e use new Symplify 7 2019-11-23 18:49:27 +01:00
TomasVotruba
a3693df310 use exclude as list 2019-11-22 20:10:39 +01:00
TomasVotruba
cea84035e2 move EntityAndRepository mapper interface to Doctrine package, require min Symfony 4.4 2019-11-22 19:47:06 +01:00
TomasVotruba
da994f9be9 allow Symfony 5, bump min to Symfony 4.4 2019-11-22 19:07:19 +01:00
TomasVotruba
b930046917 add UnionTypesRector 2019-11-17 14:39:46 +01:00
TomasVotruba
0f55a90431 [PHP Deglobalize] Add ChangeGlobalVariablesToPropertiesRector 2019-11-16 20:40:21 +01:00
TomasVotruba
8d4ec5152b Fix parent interface, extends, implements same name as short name 2019-11-14 17:59:37 +01:00
Jeroen Smit
c4bf31c9c8 ignore space change (whitelines are removed by fix-cs) 2019-11-13 20:54:33 +01:00
Jeroen Smit
337cbd3ad4 Added docs check 2019-11-12 07:48:09 +01:00
Tomas Votruba
2d30233a47 init DynamicTypeAnalysis 2019-11-11 17:35:34 +01:00
TomasVotruba
c9f5718c26 add paths parameter 2019-11-10 18:45:01 +01:00
TomasVotruba
43039463bd composer: bump to PHP Parser 4.3 2019-11-08 23:10:23 +01:00
Tomas Votruba
8379a6a86e make composer scripts Windows compatible 2019-11-07 12:29:53 +01:00
Tomas Votruba
0f47150639 travis: be strict on dog food 2019-10-30 14:20:18 +01:00
Tomas Votruba
07a1f1e848 move ci scripts to from /bin to /ci 2019-10-30 11:56:21 +01:00
Tomas Votruba
2ae405dd73 add rector-ci 2019-10-30 10:57:00 +01:00
Tomas Votruba
99d30f3f17 fix locatoin 2019-10-24 11:56:55 +02:00
Tomas Votruba
8c4a7ce958 Add MethodCallToReturnRector 2019-10-24 11:14:07 +02:00
Tomas Votruba
0a5efeaf84 add Standalone 2019-10-22 15:13:46 +02:00
Tomas Votruba
71d96e50e1 Prevent CI floods with progress bar 2019-10-16 09:46:11 +02:00
Tomas Votruba
c80860e69b add uuid and phpunit stub 2019-10-10 12:10:49 +01:00
Tomas Votruba
6f9ec4addd composer: lower deps to phpstan-phpunit 0.9 to allow phpunit 6 install 2019-10-10 11:47:37 +01:00
Tomas Votruba
c27604b0d8 try lowerring uuid deps 2019-10-10 11:41:28 +01:00
Tomas Votruba
0dcd2b0014 [Solid] Add UseInterfaceOverImplementationInConstructorRector 2019-10-09 01:41:51 +01:00
Tomas Votruba
9271588573 [StrictCodeQuality] Add VarInlineAnnotationToAssertRector 2019-10-05 00:09:15 +02:00
Tomas Votruba
b27f7fe797 [CodingStyle] Skip common annotation aliases in RemoveUnusedAliasRector 2019-10-02 15:01:09 +02:00
Dorian Villet
ccc88b12dd Add a dev dependency on psr/event-dispatcher to allow to run the complete-check on PHP 7.4. Otherwise getting this error :
PHP Fatal error:  During class fetch: Uncaught ReflectionException: Class Psr\EventDispatcher\EventDispatcherInterface not found in rector/vendor/symfony/config/Resource/ClassExistenceResource.php:150
Stack trace:
 0 [internal function]: Symfony\Component\Config\Resource\ClassExistenceResource::throwOnRequiredClass()
 1 [internal function]: spl_autoload_call()
 2 rector/vendor/symfony/event-dispatcher-contracts/EventDispatcherInterface.php(16): interface_exists()
 3 rector/vendor/squizlabs/php_codesniffer/autoload.php(167): include('...')
 4 rector/vendor/squizlabs/php_codesniffer/autoload.php(134): PHP_CodeSniffer\Autoload::loadFile()
 5 [internal function]: PHP_CodeSniffer\Autoload::load()
 6 rector/vendor/symfony/event-dispatcher/EventDispatcherInterface.php(23): spl_autoload_call()
 7 rector/vendor/squizlabs/php_codesniffer/autoload.php(167): include('...')
 8 rector/vendor/symfony/event-dispatcher/EventDispatcherInterface.php on line 23
2019-10-02 10:05:25 +02:00
Tomas Votruba
8c259c8d92 add stubs over mirror class names in tests 2019-09-30 09:12:25 +02:00
Tomas Votruba
6fbdf5461a [DoctrineCodeQuality] Initialize collectoins in constructor 2019-09-28 16:02:19 +02:00
Tomas Votruba
598f228c6d decouple php doc ast node to factories 2019-09-27 14:40:09 +02:00
Tomas Votruba
980778d69b move SwapFuncCallArgumentsRector to Argument 2019-09-23 18:19:04 +02:00
Tomas Votruba
17d14ba4ac move RenameClassRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
419da7704b [Renaming] init new package 2019-09-23 16:36:58 +02:00
Tomas Votruba
2858a9f7ea [PHP] Move tests + fixture to split package by version 2019-09-23 15:16:31 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
ddba23034c [Refactoring] Add MoveAndRenameClassRector 2019-09-22 22:01:35 +02:00
Tomas Votruba
8e93626e32 [Doctrine] Add ChangeSetIdToUuidValueRector 2019-09-21 12:46:01 +02:00
Tomas Votruba
a249c5c9f3 composer: bump to Symplify 6.1 2019-09-18 10:26:16 +02:00
Tomas Votruba
a25282b266 relocate 2019-09-15 21:48:17 +02:00
Tomas Votruba
25509c9900 [Autodiscovery] init 2019-09-15 16:51:00 +02:00
Tomas Votruba
4861d717a1 [ZendToSymfony] Init 2019-09-13 10:41:33 +02:00
Tomas Votruba
8b591fab52 fixes 2019-09-11 19:41:09 +02:00
Tomas Votruba
342a9a6468 drop object to scalar, too bugy and practically unusable 2019-09-11 16:02:35 +02:00
Tomas Votruba
2c3d2616c6 improve class rename in doc blocks 2019-09-11 16:02:35 +02:00
Tomas Votruba
056b0bbff9 fixing import rectors 2019-09-11 13:00:51 +02:00
Tomas Votruba
622b6c1460 migrate TypeInferers to PHPStan object types 2019-09-10 20:40:43 +02:00
Tomas Votruba
4cd498e3aa move stubs loading to FileProcessor 2019-09-10 15:14:36 +02:00
Tomas Votruba
194a423c6f composer: downgrade annotation 1.6 for PHP 7.1 2019-09-02 16:17:13 +02:00
Tomas Votruba
2e97a3d315 make use of getProperties() 2019-09-01 21:45:26 +02:00
Tomas Votruba
1cc8592878 add doctrine stubs 2019-08-30 10:04:55 +02:00
Tomas Votruba
e6de2a7d38 add Sensio TemplateTagValueNode 2019-08-30 09:56:56 +02:00
Tomas Votruba
42cbfd8905 [BetterPhpDocParser] Add support for parsing Doctrine annotations 2019-08-26 21:52:16 +02:00
Arnaud TIERANT
8e93468109
Move Jetbrains PhpStorm stubs into dev dependencies 2019-08-26 15:37:14 +02:00
Tomas Votruba
2b1dbaba54 update alias to 0.6 2019-08-24 13:45:17 +02:00
Tomas Votruba
c8e0e14d07 add namespace sorter 2019-08-24 13:44:51 +02:00
Tomas Votruba
357209f228 separate ContributorUtils to RectorGenerator and DocumentationGenerator 2019-08-24 13:11:20 +02:00
Tomas Votruba
f492007f37 move Contributor tools to utils 2019-08-24 12:50:35 +02:00
Tomáš Votruba
cbbce30ed8
Merge pull request #1865 from rectorphp/psr4-namespace
[PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector
2019-08-19 22:05:57 +02:00
Tomas Votruba
914f0b936c [PHP 7.4] Add literal thousand superator 2019-08-19 16:39:38 +02:00
Tomas Votruba
9b9ce531b2 [PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector 2019-08-18 12:56:56 +02:00
Tomas Votruba
379278296d fix phsptan 0.11.13 compatibility 2019-08-14 20:24:46 +02:00
Tomas Votruba
a4302b44be Improve trait node scope resolving 2019-08-05 21:13:37 +02:00
Tomas Votruba
9145e6685f composer: require nette/di to allow phpstan extension with Reference class 2019-08-05 16:50:34 +02:00
Tomas Votruba
9e090281fc [NodeTypeResolver] Add phpunit extension 2019-07-28 15:46:37 +02:00
Tomas Votruba
20a5763af5 [Restoration] Return removed class annotations 2019-07-26 22:55:21 +02:00
Tomas Votruba
dcb9c88e51 [SymfonyCodeQuality] Add EventListenerToEventSubscriberRector 2019-07-22 21:20:16 +02:00
Joseph Bielawski
08d792dda2 Remove --with-style in favour of mentioning ECS
List reasons why Rector doesn't work well with coding standards instead
2019-07-09 17:05:10 +02:00
Tomáš Votruba
b60e48e6d3
Merge pull request #1696 from rectorphp/assert-request-debug
[PHPUnit][Symfony] Add AddMessageToEqualsResponseCodeRector
2019-07-09 10:29:28 +02:00
Jeroen Smit
6f9a587ca8 Fixed wrong naming of docs script in composer.json (#1705)
* Fixed wrong naming of docs script in composer.json
Regenerated docs
2019-07-06 21:51:36 +02:00
Ravan Scafi
f05c025f59
Fix complete-check call to docs 2019-07-06 13:37:27 -03:00
Tomas Votruba
70cf0e33b2 [PHPUnit][Symfony] Add AddMessageToEqualsResponseCodeRector 2019-07-05 18:56:19 +03:00
Tomas Votruba
fbf0aa275f [Architecture] Add ConstructorInjectionToActionInjectionRector 2019-07-05 13:34:17 +03:00
Tomas Votruba
57602fc3a9 fix new phpstan reports 2019-07-04 12:29:37 +03:00
Tomas Votruba
e6cb94b54d [SymfonyPHPUnit] Add MultipleServiceGetToSetUpMethodRector 2019-06-26 18:25:06 +02:00
Tomas Votruba
e58edf02dc [PHP] Fix class signature over interface priority in RemoveExtraParametersRector 2019-06-16 00:46:13 +02:00
Soner Sayakci
de70f110e9 Add ElasticSearchDSL package 2019-06-12 18:47:22 +02:00
Aerendir
51a3bc3f8a Widen PHPStan version constraint to ~0.11.6.
Issue #1515.
2019-06-04 11:41:29 +02:00