Tomas Votruba
|
1d80ef3df6
|
[TypeDeclaration] Add external types to ParamTypeFromStrictTypedPropertyRector (#5560)
|
2021-02-15 19:31:53 +00:00 |
|
Tomas Votruba
|
1a45becf74
|
[Nette] Add false return check to template check (#5535)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-13 23:26:00 +01:00 |
|
Tomas Votruba
|
cd5cc8e12e
|
[Nette] Add render support to TemplateMagicAssignToExplicitVariableArrayRector, skip render() calls where missing template, now handled by another rule (#5532)
|
2021-02-13 17:56:58 +00:00 |
|
Tomas Votruba
|
346bacfe19
|
[Tests] Split main test case and community test case (#5481)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-10 11:57:25 +00:00 |
|
Tomas Votruba
|
7a3f5a8c0a
|
remove unused RectorClassesProvider (#5482)
* remove unused RectorClassesProvider
* README: remove ci-checkstyle link, marginal topic, to avoid confusion for first readers
|
2021-02-09 22:43:04 +00:00 |
|
Tomas Votruba
|
e822db8625
|
moving ArrayPartPhpDocTagPrinterTrait and PrintTagValueNodeTrait to services (#5473)
|
2021-02-09 14:17:25 +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 |
|
Tomas Votruba
|
5e95bbb294
|
Remove NotifyingNodeRemover, RemovedAndAddedFilesTrait, merge traits to AbstractRector (#5466)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-09 01:52:35 +00:00 |
|
Tomas Votruba
|
f3b05c714c
|
[PHPUnit] Improve TryCatchToExpectExceptionRector complexity (#5465)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-09 00:42:47 +01:00 |
|
Tomas Votruba
|
50f6adf47e
|
consolidate AbstractRectorTrait (#5464)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-08 21:00:45 +00:00 |
|
Tomas Votruba
|
d7353baf2c
|
Misc cleanup (#5456)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-08 12:33:17 +00:00 |
|
Tomas Votruba
|
e9cdf37d16
|
Decopule nodes docs generator (#5453)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-08 02:04:48 +01:00 |
|
Tomas Votruba
|
fd8fc59ce1
|
[PHPStanExtensions] Move decoupled KeepRectorNamespaceForRectorRule (#5451)
|
2021-02-07 21:22:03 +00:00 |
|
Abdul Malik Ikhsan
|
4aea155212
|
[PHPStan] PHPStan ignore errors clean up (#5446)
|
2021-02-07 19:24:50 +01:00 |
|
Tomas Votruba
|
e04d820bc5
|
[CodeQuality] Improve CompactToVariablesRector to cover previously defined array (#5424)
|
2021-02-05 12:40:28 +00:00 |
|
Abdul Malik Ikhsan
|
aa284fe870
|
[CodeQuality] Reduce ForToForeachRector complexity (#5421)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
|
2021-02-05 12:36:42 +01:00 |
|
Abdul Malik Ikhsan
|
51a14cc28f
|
[Renaming] Do not update target new namespace exists on RenameClassRector (#5416)
|
2021-02-03 22:30:40 +01:00 |
|
TomasVotruba
|
5ff1d911a3
|
fix typo in phsptan.neon
|
2021-02-01 00:31:33 +01:00 |
|
TomasVotruba
|
9b3c4fca20
|
use constants fix
|
2021-01-31 21:06:14 +01:00 |
|
Tomas Votruba
|
e2757242be
|
Various stabilizations (#5381)
|
2021-01-30 20:30:37 +00:00 |
|
Tomas Votruba
|
c8da4517ec
|
drop addBareTag() method (#5379)
|
2021-01-30 18:12:24 +00:00 |
|
Tomas Votruba
|
e1310abebb
|
[Nette 3.0] Add #[Inject] attribute (#5376)
|
2021-01-30 15:06:43 +00:00 |
|
Tomas Votruba
|
f9fdf2caaf
|
decopule AbstractTemporaryRector that does not requires rule definition (#5352)
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-28 19:52:11 +00:00 |
|
Abdul Malik Ikhsan
|
85af424e23
|
[PHPStan] Typo fix: Refator -> Refactor (#5344)
|
2021-01-28 16:48:01 +01:00 |
|
Abdul Malik Ikhsan
|
4ce73a2867
|
[NodeTypeResolver] Handle PropertyFetchTypeResolver on PropertyProperty resolution (#5334)
Co-authored-by: Vašek Henzl <vasek.henzl@gmail.com>
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-27 17:00:42 +01:00 |
|
Tomas Votruba
|
00d6c60ab1
|
[ComposerRector] Remove unused MovePackageToRequireComposerRector and MovePackageToRequireDevComposerRector rules (#5321)
|
2021-01-26 02:51:31 +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
|
94dedf4bb3
|
[PHP 7.0] Update self in final class (#5304)
|
2021-01-24 20:12:02 +00:00 |
|
Tomas Votruba
|
87072b597d
|
PHP 7.4 8 typo (#5290)
|
2021-01-22 23:11:10 +00:00 |
|
Tomas Votruba
|
0dc20048ae
|
Cleanup too detailed order rules + add TypedPropertyFromStrictConstructorRector (#5288)
|
2021-01-22 18:47:02 +00:00 |
|
Tomas Votruba
|
8b6b1a81e8
|
misc (#5276)
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-21 21:58:26 +01:00 |
|
Abdul Malik Ikhsan
|
bf94f4c420
|
[Performance] Handle PreslashSimpleFunctionRector on Option::AUTO_IMPORT_NAMES => true (#5268)
Co-authored-by: Pierre <pierre@pcservice.co.za>
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-21 14:06:03 +01:00 |
|
Tomas Votruba
|
87494ce3a6
|
Print only changed docblocks 🎉🎉🎉 (#5251)
|
2021-01-20 16:17:59 +00:00 |
|
Tomas Votruba
|
34168ff9d8
|
various cherry picks (#5248)
|
2021-01-19 23:29:52 +00:00 |
|
Tomas Votruba
|
81eeb2771b
|
Various cherry-pick (#5243)
* [Transform] Add VariableMethodCallToServiceCallRector
* use direct phpdocinfo
* cleanup
* narrow DoctrinePropertyAnalyzer
* misc
|
2021-01-19 20:39:57 +00: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
|
133322cc65
|
cherry pick (#5238)
* misc
* decopule DocBlockManipulator misc
* make use static instnaceof
* add markAsChanged() to PhpDocInfo
* decopule DocBlockTagReplacer
* change static annotation naming to service
* misc
|
2021-01-19 15:03:26 +00:00 |
|
Abdul Malik Ikhsan
|
14def70268
|
[PHPStan] Clean up duplicate PHPStan config (#5232)
* [PHPStan] Clean up PHPstan config
* phpstan
* phpstan
|
2021-01-19 12:19:20 +01:00 |
|
Tomas Votruba
|
bbe758ab60
|
phpdoc info refactor part 4 (#5231)
* remove useless docblocks
* misc
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-19 01:15:32 +00:00 |
|
Tomas Votruba
|
ad9448018c
|
[PhpDocInfo Decouple] Use php doc info from factories, not from attribute (#5229)
* use single method to create docs
* use phpDocInfoFactory instead of getAttribte php doc info in Rectors
* move callig to phpDocInfoFactory
* misc
|
2021-01-18 21:45:13 +00:00 |
|
Tomas Votruba
|
5105fd0355
|
[Composer] Remove forgotten validation (#5219)
* [Composer] Remove forgotten validation
* skip duplicated method
|
2021-01-18 10:07:57 +00:00 |
|
Tomas Votruba
|
cfbe014d67
|
[PHP 7.3] Fix stirng retype on intersections (#5216)
* [PHP 7.3] Fix stirng retype on intersections
* remove unneeded command layer for showing not enough args
* make sure there is application
* misc
|
2021-01-17 23:39:13 +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 |
|
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
|
c0105bde25
|
Change maximal Rector complexity to 35 to avoid hard coupling to Rector classes (#5206)
* complexity
* decopule GetSubscriberEventsClassMethodFactory and ListenerServiceDefinitionProvider
* decopule UnusedParameterResolver, AssertMethodCallFactory, PropertyFetchWithVariableReplacer
* decopule ParamAndArgFromArrayResolver
* decopule JsonArrayFactory and JsonEncodeStaticCallFactory
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-16 19:11:11 +00:00 |
|
Tomas Votruba
|
56409c5a3a
|
[phpstan] Remove unreported errors and duplicated methods (#5193)
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-15 21:27:36 +01:00 |
|
Abdul Malik Ikhsan
|
96986b5edb
|
[PHPStan] Clean up duplicated ignore error "Class cognitive complexity is \d+, keep it under 40" in phpstan.neon (#5192)
|
2021-01-15 16:12:56 +01:00 |
|
Tomas Votruba
|
58d97b9853
|
[Naming] Fix Param type Promoted Rename (#5188)
* [Naming] Make RenameParamToMatchTypeRector skip promoted property
* [Naming] Add property rename to RenamePropertyToMatchTypeRector
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
|
2021-01-14 22:44:07 +00:00 |
|
Abdul Malik Ikhsan
|
55ee86cb90
|
[Docker] Install libicu-dev to allow install intl (#5186)
* [Docker] Install libicu-dev to allow install intl
* phpstan
|
2021-01-14 17:56:23 +01:00 |
|
Tomas Votruba
|
1cd0e1004f
|
add missing astral package (#5182)
|
2021-01-14 12:03:13 +00:00 |
|