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
Tomas Votruba
34c0f08969
[Generic] Split rules to their particular categories ( #5354 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-29 00:32:20 +01:00
Tomas Votruba
8e3e3fd6e1
add CoreRectorInterface and PhpCoreRectorInterface to allow PhpRectorInterface to be RectorInterface without getDefinition() ( #5348 )
2021-01-28 19:26:56 +01:00
Tomas Votruba
fced0ca087
[Symfony] Add Symfony 5.1 set ( #5331 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-27 15:09:08 +01:00
Tomas Votruba
e00106ee49
[phpstan] Make ComposerRectorInterface child classes respetc the "ComposerRector" suffix ( #5319 )
2021-01-26 01:32:23 +00:00
Tomas Votruba
8d600ce412
[docs] regenerate ( #5316 )
2021-01-25 18:59:06 +00:00
github-actions[bot]
ad256edcad
[automated] Re-Generate Nodes/Rectors Documentation ( #5296 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-24 10:07:23 +01:00
vladyslavstartsev
10b96a0b97
Make example of ReplaceStringWithClassConstantRector more correct ( #5269 )
...
* Make example of ReplaceStringWithClassConstantRector more correct
- `argument position` and `class with constants` are swapped
- `argument position` starts with zero (0), so `1` is the second argument
* also fix example in `Rector`ing class
2021-01-23 14:51:23 +02:00
Tomas Votruba
4b7f6f4a72
use PhpDocTagRemoer as a service ( #5242 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-19 19:45:30 +00:00
Tomas Votruba
ea1f7bd758
Lower class complexity ( #5208 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-17 15:43:47 +00:00
github-actions[bot]
d93900b56a
[automated] Re-Generate Nodes/Rectors Documentation ( #5211 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-17 14:32:41 +01:00
Tomas Votruba
024a97d019
[RemovingStatic] Decouple static ( #5207 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-16 22:45:18 +01:00
Tomas Votruba
04db98620a
Refactor composer modifier to ComposerRector ( #5198 )
2021-01-16 13:23:37 +01:00
github-actions[bot]
fc9acd9c21
[automated] Re-Generate Nodes/Rectors Documentation ( #5178 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-14 11:10:33 +01:00
github-actions[bot]
19c47b9f1f
[automated] Re-Generate Nodes/Rectors Documentation ( #5162 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-13 02:25:45 +01:00
Tomas Votruba
b604e1676c
[Privatization] Add ReplaceStringWithClassConstantRector ( #5156 )
...
* [Privatization] Add ReplaceStringWithClassConstantRector
* README: add to scoped
2021-01-12 13:41:47 +00:00
github-actions[bot]
f40d602d43
[automated] Re-Generate Nodes/Rectors Documentation ( #5150 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-12 12:52:10 +01:00
github-actions[bot]
f1d4a4a671
[automated] Re-Generate Nodes/Rectors Documentation ( #5118 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-09 12:16:22 +01:00
Tomas Votruba
27f2fad0c0
[DeadCode] Fix removing native interface ( #5113 )
...
* [Restoratoin] Skip native interface from removing
* move RemoveUselessJustForSakeInterfaceRector to dead code category
* remove interface name pattern
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2021-01-08 14:34:54 +00:00
Floris Luiten
39a6b79f30
Fixed typo "lenght" ( #5096 )
...
* Fixed typo in docs "lenght" to "length"
* Fixed typo in class constant "lenght" to "length"
* Changed "lenght" instead of "length", fixing bug in class_exists using incorrect classname
2021-01-06 03:06:16 +07:00
github-actions[bot]
17f47bd5c4
[automated] Re-Generate Nodes/Rectors Documentation ( #5082 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-04 14:09:38 +01:00
github-actions[bot]
34c3c3a67c
[automated] Re-Generate Nodes/Rectors Documentation ( #5061 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2021-01-01 19:59:23 +01:00
Krystian Marcisz
94a4bb7777
[DX] Add Interactive Mode to Generate command ( #4931 )
...
* Add Interactive Mode to Generate command
* CS Fixer
* Unify names
* Unify names
* Fixes
* Fixes
* Fixes
* Check generated tests against the "special hack for PHPUnit"
* Re-use the same input/output in the Generate Command
* Add test for Interactive Mode of Generate Command
* Rename test file
* Use ::class instead of string
* Create Finder instance where it's used
* Create RectorRecipeInteractiveProvider service
* Create RectorRecipeInteractiveProvider service
* Bring back SymfonyStyle as DI service
2020-12-28 18:00:51 +01:00
Tomas Votruba
51dd6b899a
[SOLID] Drop UseInterfaceOverImplementationInConstructorRector, very subjective ( #4993 )
2020-12-25 17:24:53 +00:00
Tomas Votruba
a4f8a23ecf
[CodeQuality] Move MoveVariableDeclarationNearReferenceRector ( #4992 )
2020-12-25 17:48:15 +01:00
Tomas Votruba
db89b5eefa
[CodeQuality] Move MoveVariableDeclarationNearReferenceRector ( #4989 )
...
* [CodeQuality] Move MoveVariableDeclarationNearReferenceRector
* move code-quality-strict rules to own namespace
* move MoveVariableDeclarationNearReferenceRector to CodeQualityStrict
* add ClassConstFetchFactory
* static fixes
2020-12-25 16:22:19 +00:00
Tomas Votruba
a2dbaedb0e
[Privatization] Move MakeUnusedClassesWithChildrenAbstractRector here ( #4987 )
2020-12-25 15:45:17 +01:00
Tomas Votruba
bfcdd22a7c
[Privatization] Move FinalizeClassesWithoutChildrenRector here ( #4986 )
2020-12-25 14:59:14 +01:00
Tomas Votruba
cffd7ea0ac
[CodingStyle] Move PHPStormVarAnnotationRector ( #4985 )
...
* [CodingStyle] Move PHPStormVarAnnotationRector
* [ci-review] Rector Rectify
* [DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here (#4984 )
* [DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
* [ci-review] Rector Rectify
* cleanup docs
* static fixes
* [ci-review] Rector Rectify
* remove duplicated
* multi use case
* misc
* [ci-review] Rector Rectify
* fixes
* remove order set, slow
* move UseMessageVariableForSprintfInSymfonyStyleRector from solid set to coding-style
* make unique-named variables to prevent accidental override and improve readability
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 13:20:13 +00:00
Tomas Votruba
61b72a8d7c
[DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here ( #4984 )
...
* [DeadDocBlock] Move RemoveNonExistingVarAnnotationRector here
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 00:56:59 +00:00
Tomas Votruba
d465ec83e2
[DeadCode] Move RecastingRemovalRector from PHPStan set ( #4983 )
...
* [DeadCode] Move RecastingRemovalRector from PHPStan set
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-25 00:22:45 +00:00
Tomas Votruba
c5d258e0cc
[Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough ( #4939 )
...
* [Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough
* fixup! [Downgrade] Drop ChangePhpVersionInPlatformCheckRector as not useful, paltform check false is good enough
2020-12-22 15:48:25 +00:00
Abdul Malik Ikhsan
34e6c6ffdf
[Doc] Using transparent image for space.png ( #4934 )
2020-12-21 12:15:19 +01:00
HDVinnie
4436ba62eb
fix: checkstyle.md ( #4912 )
...
- simple typo
2020-12-17 22:18:14 +07:00
Tomas Votruba
eddb2b29c9
[EarlyReturn] Decouple new rules ( #4868 )
2020-12-12 16:59:09 +00:00
github-actions[bot]
fb87c23e07
[automated] Re-Generate Nodes/Rectors Documentation ( #4803 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-06 11:19:50 +01:00
Tomas Votruba
dc61d2fecf
add docblock on downgrade by default ( #4799 )
...
* add docblock on downgrade by default
* update docs
* drop no docblock test
2020-12-05 22:33:27 +00:00
Tomas Votruba
f672eace0e
[DX] Add init-recipe command to create recipe config in root ( #4789 )
...
* [DX] Add init-recipe command to initlaize recipe
* update docs
2020-12-05 13:20:13 +00:00
github-actions[bot]
34881de2f5
[automated] Re-Generate Nodes/Rectors Documentation ( #4783 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-05 11:08:31 +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
github-actions[bot]
9a52045475
[automated] Re-Generate Nodes/Rectors Documentation ( #4767 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-04 01:51:32 +01:00
github-actions[bot]
1dc13433a5
[automated] Re-Generate Nodes/Rectors Documentation ( #4759 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-03 09:32:04 +01:00