Tomas Votruba
90a746a8cf
Updated Rector to commit 617c04a9be
...
617c04a9be
[TypeDeclaration] Separated inferred and no types (#90 )
2021-05-22 20:37:33 +00:00
Tomas Votruba
3689a516db
Updated Rector to commit db00e23b5e
...
db00e23b5e
[PHP 8.0] Downgrade (#85 )
2021-05-21 16:44:29 +00:00
Tomas Votruba
91a82e9ca5
Updated Rector to commit b5c00cbf1c
...
b5c00cbf1c
[BUGFIX] Respect indent_size for tabs (#81 )
2021-05-20 14:35:36 +00:00
Tomas Votruba
1fc5dba0b1
Updated Rector to commit 7a712ba445
...
e2bd8de348
resolve version on release 7a712ba445
date time
2021-05-19 00:12:47 +00:00
Tomas Votruba
270eaef34d
Rector 0.11.5
2021-05-18 13:45:09 +00:00
Tomas Votruba
9987c84c58
Rector 0.11.3
2021-05-17 07:55:27 +00:00
Tomas Votruba
10b65060a2
Updated Rector to commit cefe13feab
...
cefe13feab
fix rector rules overview dump location (#49 )
2021-05-16 08:19:51 +00:00
Tomas Votruba
80c6cbecea
Updated Rector to commit fa8e59708b
...
fa8e59708b
Use local version resolver (#36 )
2021-05-15 01:39:19 +00:00
Tomas Votruba
146dc7d680
Updated Rector to commit f2c0023dad
...
f2c0023dad
[PHP 8.1] Add MyClabs enum to native ENUM (#30 )
2021-05-14 09:53:43 +00:00
Tomas Votruba
9b96ef2c38
Updated Rector to commit 903dfab928
...
903dfab928
restore
2021-05-13 23:06:45 +00:00
Tomas Votruba
e6e69a6744
Updated Rector to commit 405e0c8102
...
405e0c8102
unprefix ContainerConfigurator
2021-05-13 22:39:51 +00:00
Tomas Votruba
693ce44ea9
Updated Rector to commit 9305fdf4f4
...
9305fdf4f4
typo
2021-05-13 00:24:58 +00:00
Tomas Votruba
758a350d87
Updated Rector to commit 6af13d7b76234edf43dbb0b4c533912cec19f971
2021-05-12 13:15:45 +00:00
Tomas Votruba
436fcb7505
Updated Rector to commit 0684911cdf
...
0684911cdf
[PHP 8.0] Promoted property fixes (#8 )
2021-05-11 10:40:34 +00:00
Tomas Votruba
7d36c3b0b9
Updated Rector to commit a80cf5292d
...
a80cf5292d
revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7
Updated Rector to commit a7db1ad94d
...
a7db1ad94d
use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
345a89a7e2
Updated Rector to commit a657258f31
...
a657258f31
cleanup CHANGELOG, is part of GitHub releases now (#2 )
2021-05-10 00:23:30 +00:00
Tomas Votruba
d56e7982d0
Updated Rector to commit dedd4b55fe
...
dedd4b55fe
make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
Tomas Votruba
38248d08f4
Return array of nodes directly from refactor() if possible ( #6366 )
...
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-05-06 10:23:37 +02:00
TomasVotruba
6e212162c8
[CodeQuality] Add CallUserFuncWithArrowFunctionToInlineRector
2021-05-04 20:39:28 +02:00
Tomas Votruba
745a7a9739
[CodingStyle] Add CallUserFuncToMethodCallRector ( #6328 )
2021-05-04 14:59:15 +00:00
Tomas Votruba
21bf53f2ec
[CodeQuality] Add FuncGetArgsToVariadicParamRector ( #6318 )
2021-05-03 21:27:20 +00:00
Abdul Malik Ikhsan
5b386ab5fe
[CodeQuality] Register NarrowUnionTypeDocRector to code-quality config set ( #6269 )
2021-04-30 12:35:34 +02:00
Abdul Malik Ikhsan
0a9c6a8400
[CodeQuality] Register SimplifyIfNullableReturnRector to code-quality config set ( #6047 )
...
* [CodeQuality] Register SimplifyIfNullableReturnRector to code-quality config set
* handle next expression
* handle next expression
* handle next expression
* naming
* phpstan
* fixture fix
* fix
* check next early
* mirror comment not @var
* phpstan
* phpstan
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* phpstan
* more fixture for mirror comment without @var
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-07 00:00:14 +02:00
Tomas Votruba
de8fa30257
[cs] apply indent of call in configs ( #5547 )
2021-02-14 21:28:21 +00:00
Tomas Votruba
94dce12b29
improts in config ( #5315 )
2021-01-25 18:26:57 +00:00
Tomas Votruba
9652382639
[CodeQuality] Add SingularSwitchToIfRector ( #5302 )
2021-01-24 11:23:50 +00:00
Tomas Votruba
51dd6b899a
[SOLID] Drop UseInterfaceOverImplementationInConstructorRector, very subjective ( #4993 )
2020-12-25 17:24:53 +00:00
Abdul Malik Ikhsan
9e6365cc58
[CodeQuality] Register SwitchNegatedTernaryRector to code-quality config set ( #4947 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-22 22:01:19 +01:00
Tomas Votruba
c68fd43b65
Bump to Symplify 9 ( #4830 )
...
* composer: bump to Symplify 9
* fix cs
* update InputDetector to StaticInputDetector
* add missign symplify/ packages
* remove already included phpstan configs
* [CI] test lowest deps on PHP 7.3, as minimum for Symplify 9
* bump doctrine/inflector and sebastian/diff
* [CI] symplify PHP 7.3 testing
2020-12-09 15:41:23 +00:00
Abdul Malik Ikhsan
143164504e
[CodeQuality] Add UnwrapSprintfOneArgumentRector ( #4827 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-09 12:29:01 +01:00
Krystian Marcisz
47a9a52ffd
[CodeQuality] Add DateTimeToDateTimeInterfaceRector ( #4791 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-05 21:21:22 +01: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
44b27f779e
[EarlyReturn] Decouple new set ( #4490 )
...
* [set] decouple new code-quality-strict
* decopule early-return set [closes #4464 ]
* [docker] drop prestissimo, as composer v2 does not need it
* [ci] move coding standard to ci_review
* [ci] try to run rector-ci on contributors
2020-10-27 13:47:37 +00:00
Abdul Malik Ikhsan
7a1ea1328b
[CodeQuality] Register MoveOutMethodCallInsideIfConditionRector to config code-quality set ( #4477 )
...
* [CodeQuality] Register MoveOutMethodCallInsideIfConditionRector to config code-quality set
* rename use string parameter
* phpstan
* fix false positive string param to be var === variable name
* fix false positive
* phpstan
* ensure not same variable
* phpstan
* add ucfirst after var
* add fixture failing test for variable exists to be skipped
* add fixture failing test for variable exists in previuos statement
* phpstan space
* add handling variable exists in previous statement and in ClassMethod/Functions args
* handle exists but inside if
* reduce complexity
* clean up
* clean up
* cs fix
* phpstan
* remove - in variable
* use fallback when first character is numeric
* using regex to check string start alpha for variable
* cs fix
* use ClassConstFetch name to set variable name
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* clean up
* fix
* [ci-review] Rector Rectify
* Update rules/code-quality/src/Rector/If_/MoveOutMethodCallInsideIfConditionRector.php
* Update rules/code-quality/src/Rector/If_/MoveOutMethodCallInsideIfConditionRector.php
Co-authored-by: rector-bot <tomas@getrector.org>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-10-26 14:03:26 +00:00
Tomas Votruba
10ae0d687a
[CodeQuality] Add NewStaticToNewSelfRector ( #4468 )
...
* [CodeQuality] Add NewStaticToNewSelfRector
* regenerated docs
* drop patches
2020-10-20 22:01:47 +00:00
Abdul Malik Ikhsan
26ab509d7a
[CodeQuality] Register IssetOnPropertyObjectToPropertyExistsRector to code-quality config set ( #4441 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-18 20:42:49 +02:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type ( #3973 )
2020-08-18 17:57:30 +02:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
TomasVotruba
3aa9b261a2
[config] switch from args to configure method call
2020-07-30 00:43:06 +02:00
TomasVotruba
8c31bd27e4
[CodeQuality] Add case class name fix
2020-07-27 20:45:41 +02:00
TomasVotruba
c28a5a9746
[Celebrity] Merge to code-quality
2020-07-27 10:18:03 +02:00
TomasVotruba
2f927842a7
move sets to single /set directory
2020-07-21 00:46:53 +02:00