Tomas Votruba
b2412ad62a
Refactor doctrine/annotation from dynamic to own static-reflection parser ( #5974 )
...
* remove doctrine/annotations
* Refactor doctrine/annotation parser to static reflection with phpdoc-parser
* remove doctirne-annotation-parser-syncer
* remove annotation stubs
* use nodes
* almost there
* [ci-review] Rector Rectify
* skip temporary
* phpstan: remove fixed messages
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-04 11:01:11 +02:00
Zing
ff9173ff35
Stripping quotation marks of argument default value ( #5997 )
2021-03-26 13:45:54 +07:00
Tomas Votruba
27e9ad030a
Remove buggy rules that depend on false condition of all class and calls analysis, to improve static reflection ( #5958 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-23 23:13:35 +01:00
Tomas Votruba
89a7afb5a4
Merge DeadDocBlock to DeadCode ( #5936 )
2021-03-21 12:57:56 +00:00
Abdul Malik Ikhsan
be39fb9a75
[Doc] Remove unused images assets and apply phpunit image in readme ( #5933 )
2021-03-21 10:52:56 +01:00
Abdul Malik Ikhsan
57acbe7cdc
[Doc] Documentation how to register custom SetList contant ( #5921 )
2021-03-20 14:10:13 +01:00
Markus Staab
9e0c9a5c03
docs: fix path to tests and namespace in "how to add a test" ( #5910 )
2021-03-19 23:45:34 +07:00
Dominik Peters
dc94477d54
Migrate at to with consecutive and will return on consecutive calls ( #5822 )
2021-03-18 00:11:23 +01:00
Tomas Votruba
0ac0e54b02
[Naming] Removing underscore rules, rather handle with coding standards ( #5868 )
2021-03-15 23:24:43 +00:00
Tomas Votruba
683f8319a8
[CI] simplify php linter ( #5867 )
...
* [CI] simplify php linter
* [CI] merge code analysis to one
* [docs] remove nodes overview, already in external repository
* remove unused ci job
* [CI] check annotation parser + sync
* [DeadCode] Remove RemoveEmptyAbstractClassRector, not reliable with static-reflection, opionated
* [CI] remove set validation, PHPStan handles this better with PHP
* remove dead-code-strict [skip ci]
2021-03-15 23:44:28 +01:00
Tomas Votruba
d897902ccf
[Downgrade] Keep better phpdoc type ( #5862 )
2021-03-15 18:58:04 +01:00
github-actions[bot]
bd1a0f1be7
[automated] Re-Generate Nodes/Rectors Documentation ( #5840 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-03-14 01:55:25 +01:00
Tomas Votruba
721f619a1d
Post moving cleanup ( #5827 )
2021-03-12 23:52:38 +00:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure ( #5826 )
2021-03-12 23:20:25 +01:00
Tomas Votruba
c791f5ed60
[RectorGenerator] Decouple to external package ( #5825 )
2021-03-12 20:13:27 +01:00
Tomas Votruba
67670e70ad
[DX] move packages from src/tests to single PSR-4 directory ( #5824 )
2021-03-12 01:21:29 +00:00
github-actions[bot]
65e43f3dfa
[automated] Re-Generate Nodes/Rectors Documentation ( #5788 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-03-07 12:24:31 +01:00
Tomas Votruba
382f146eaf
Merge CoreRectorInterface ( #5762 )
2021-03-03 22:28:27 +01:00
Jan Mikeš
cdd11f69c6
[Docker] Documented multiple supported PHP versions ( #5734 )
2021-03-02 22:16:38 +01:00
Tomas Votruba
d5bf66f9cd
[CI] run rules dir by dir to identify static reflection weak sposts ( #5720 )
...
* [CI] run rules dir by dir to identify static reflection weak sposts
* [ci-review] Rector Rectify
* consistency
* remove unused property
* add data provider test fixture
* add InvertedIfFactory to lower complexity
* [DeadCode] Skip unused public method if data provider
* misc
* [DeadCode] Do not remove class method if required by parent ocntract
* make use of ContextAnalyzer to find the loop
* narrow dirs one level
* narrow packages
* narrow
* use directly
* narrow
* correct constant name to keep BC
* bump deps
* add version_compare to removed extra params, just to be sure
* do not return function node on unchanged name
* narrow
* add support for multiple variants
* widen
* remove double check [skip ci]
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-02 14:43:36 +01:00
Tomas Votruba
05788745fd
[Downgrade] Remove excessive abstract class inheritance, use single service ( #5717 )
2021-03-01 12:10:50 +00:00
Markus Staab
74a54f3bc4
Fix url to nodes-overview ( #5695 )
...
* Fix url to nodes-overview
* Update create_own_rule.md
* Update README.md
2021-02-28 10:36:32 +01:00
github-actions[bot]
510252cdc5
[automated] Re-Generate Nodes/Rectors Documentation ( #5698 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-28 08:52:22 +01:00
Tomas Votruba
e571128b85
[Transform] Move FunctionCallToConstantRector to FuncCallToConstFetchRector ( #5642 )
2021-02-21 09:40:54 +00:00
github-actions[bot]
eb4bc68409
[automated] Re-Generate Nodes/Rectors Documentation ( #5641 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-21 01:06:30 +01:00
Tomas Votruba
9a376d98e5
[Arguments] New rule set from former generics ( #5637 )
...
* [Transform] Move SingleToManyMethodRector
* [Transform] Move WrapReturnRector here
* [DependencyInjectoin] Move AddMethodParentCallRecto here
* [Arguments] Create new package from old generics only around arguments
* composer docs uild
2021-02-21 00:21:19 +01:00
Tomas Votruba
947a75f6aa
rebuild docs ( #5636 )
2021-02-21 00:02:05 +01:00
Tomas Votruba
13e33f0bff
[Generic] Decouple rules to tailored sets ( #5635 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-20 23:48:31 +01:00
Tomas Votruba
19810c2b9a
move FunctionToStaticMethodRector to Transform ( #5613 )
2021-02-18 21:35:10 +00:00
Tomas Votruba
ddfeae3391
drop --match-git-diff, not reliable for dependencies; use enable_cache instead ( #5609 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-18 15:55:31 +00:00
Tomas Votruba
f03cfa767a
[Output] Drop checkstyle to avoid manual fixes in PRs ( #5566 )
2021-02-15 21:27:07 +00:00
Tomas Votruba
de8fa30257
[cs] apply indent of call in configs ( #5547 )
2021-02-14 21:28:21 +00:00
github-actions[bot]
981e437bb7
[automated] Re-Generate Nodes/Rectors Documentation ( #5539 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-14 10:46:15 +01:00
Tomas Votruba
5c56de463e
bump docs ( #5530 )
2021-02-13 15:57:30 +01:00
Tomas Votruba
ecbef2bcaa
[Tests] remove getPhpVersion() helped method, use configs instead ( #5477 )
2021-02-09 17:25:16 +00:00
Tomas Votruba
e0ad0f960f
[Tests] Move from getRectorsWithConfiguration() to provideConfigFileInfo() to make test configs more intuitive ( #5468 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-02-09 15:02:29 +01:00
github-actions[bot]
8ef96f2166
[automated] Re-Generate Nodes/Rectors Documentation ( #5443 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-02-07 11:11:42 +01:00
Tomas Votruba
ec5ed49020
[README] Add Typo3 and its repository ( #5440 )
2021-02-06 23:30:59 +01:00
Tomas Votruba
0c830ab123
misc ( #5439 )
2021-02-06 22:20:57 +00:00
Tomas Votruba
d402f52238
[TypeDeclaratoin] Add ReturnTypeFromStrictTypedPropertyRector ( #5438 )
2021-02-06 23:09:45 +01:00
github-actions[bot]
537755a44a
[automated] Re-Generate Nodes/Rectors Documentation ( #5387 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-31 09:12:01 +01:00
Tomas Votruba
b6b8ac0c4c
Less traits 3, drop duplicated issue tests ( #5385 )
2021-01-31 00:14:13 +00:00
Tomas Votruba
e2757242be
Various stabilizations ( #5381 )
2021-01-30 20:30:37 +00:00
Tomas Votruba
737b6471c2
[Performance] [Polyfill] Move to DeadCode ( #5380 )
2021-01-30 19:56:32 +00:00
Tomas Votruba
e1310abebb
[Nette 3.0] Add #[Inject] attribute ( #5376 )
2021-01-30 15:06:43 +00:00
Tomas Votruba
2df4732c6c
Move Architecture to Doctrine, improve a bit ( #5374 )
2021-01-30 08:57:35 +00:00
Tomas Votruba
024ec4ba93
[Generics] Add GenericsPHPStormMethodAnnotationRector ( #5365 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-29 17:24:20 +01:00
Tomas Votruba
f1a70bd271
[Removing] Move RemoveInterfacesRector here ( #5361 )
2021-01-29 10:38:59 +00:00
Tomas Votruba
53102c9c29
[Removing] Init new set ( #5360 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-29 08:08:55 +00:00
Tomas Votruba
1f61ef7160
[Generic] specialize generic rules ( #5355 )
2021-01-29 00:29:12 +00:00