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
github-actions[bot]
481aa0d700
[automated] Re-Generate Nodes/Rectors Documentation ( #4745 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-02 09:52:34 +01:00
github-actions[bot]
bb69160bd8
[automated] Re-Generate Nodes/Rectors Documentation ( #4739 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-01 14:40:16 +01:00
Tomas Votruba
267989bb05
[Docs] Add docblock docs ( #4740 )
...
* skip getUser() as the method is final
* drop comment along with removed node, as in other removed nodes
* [docs] add doc block docs
2020-12-01 01:09:50 +00:00
Jan Mikeš
99b601e5a3
Fix permissions on /tmp in Docker ( #4730 )
...
Fixes #4568
2020-11-29 11:14:55 +01:00
github-actions[bot]
d82ddcc4ba
[automated] Re-Generate Nodes/Rectors Documentation ( #4722 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-28 19:06:05 +01:00
Tomas Votruba
377c734975
drop old compiler ( #4716 )
2020-11-27 17:54:14 +01:00
Tomas Votruba
9150af563a
make use symplify/php-doc-parser ( #4703 )
...
* make use Symplify/PhpDocParser
* report line
* remove monorepo-builder, not needed anymore
* use php action 2
* fixup! use php action 2
2020-11-27 12:23:25 +00:00
Tomas Votruba
51ab276d57
[Downgrade PHP 7.1] feature/downgrade iterable pseudo type ( #4706 )
...
* [Downgrade PHP 7.1] iterable pseudo-type
* fix PHP version type
* cleanup
* static fixes
Co-authored-by: Norbert Orzechowicz <norbert@orzechowicz.pl>
2020-11-27 12:00:56 +00:00
Tomas Votruba
080e5cbe00
use symplify/skipper ( #4689 )
2020-11-26 23:09:21 +01:00
Tomas Votruba
0963b8dca7
Drop --set forgotten leftover ( #4700 )
...
* Drop --set forgotten leftover
* remove package not split anymore
2020-11-26 16:55:33 +00:00
Tomas Votruba
0993088cda
[SymfonyPhpConfig] Use Symplify package instead + simplify set validation ( #4694 )
...
* [SymfonyPhpConfig] Use Symplify package instead
* [SymfonyPhpConfig] Drop forgotten custom-jobs Rectors
* [CI] simplify set validation
* from inline functions to Static class
* cleanup
* decouple rector.php to allow static analysis and coding standards
2020-11-26 16:44:27 +00:00
Tomas Votruba
0456cc088c
[Docs] Improve rule doc generator to generat rules_overview with categories ( #4688 )
...
* numbers
* update ECS config to Symplify 9
* regenerate rules with categorize
* [CI] disable automated rebase, as not working propperly
* update misc
2020-11-25 21:34:34 +00:00
github-actions[bot]
46388345b1
[automated] Re-Generate Nodes/Rectors Documentation ( #4685 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-25 01:42:23 +01:00
HDVinnie
3fc5163f01
update: drop migrify/php-config-printer for symplify/php-config-printer ( #4684 )
...
* update: composer.json
- Package migrify/php-config-printer is abandoned. Using symplify/php-config-printer instead.
* update: migrify to symplify
* update: composer.json
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-11-24 16:14:21 +00:00
github-actions[bot]
64ab0a65b4
[automated] Re-Generate Nodes/Rectors Documentation ( #4682 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-24 01:49:19 +01:00
Tomas Votruba
26b71cce1d
[Laravel] Improve static to DI set ( #4662 )
2020-11-20 01:26:04 +01:00
github-actions[bot]
13d2f98643
[automated] Re-Generate Nodes/Rectors Documentation ( #4656 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-19 02:09:53 +01:00
github-actions[bot]
943eb55d65
[automated] Re-Generate Nodes/Rectors Documentation ( #4638 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-18 02:11:35 +01:00
Norbert Orzechowicz
05688bd36b
[Downgrade PHP 7.1] Class constant visibility ( #4633 )
2020-11-17 11:45:31 +01:00
Tomas Votruba
661b2f0a65
[Symplify 9] Follow up + phpstan rules tidying ( #4625 )
...
* improve static
* improve phpstan rules
* [PHPStanExtensions] Drop CheckCodeSampleBeforeAfterAlwaysDifferentRule, already part of domain in CodeSample
* cleanup
2020-11-16 23:32:24 +00:00
Tomas Votruba
3b1e31ef8c
[docs] add 10 more relevant node construction examples ( #4615 )
2020-11-16 20:48:06 +01:00
Tomas Votruba
a7705ed0a5
[Symplify 9] First update + switch to RuleDocGenerator ( #4616 )
...
* [composer] bump to Symplify 9
* [Symplify 9] Update phpstan rules
* bump to Symplify 9 BETA2
* update AbstractKernel from Tests to Testing namespace
* decoupling removing node trait
* remove fluent calls
* removing variadic
* [CodingStyle] Improve AnnotateThrowablesRector
* bump deps
* Make use of RuleDocGenerator
* first short
* [DocumentationGenerator] Drop deprecated package, RuleSetGenerator now handles it
* import namespace
* update docs
2020-11-16 17:50:38 +00:00
github-actions[bot]
e704af3dd7
[automated] Re-Generate Nodes/Rectors Documentation ( #4618 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-16 01:40:38 +01:00
github-actions[bot]
514cf0d88b
[automated] Re-Generate Nodes/Rectors Documentation ( #4604 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-14 02:27:55 +01:00
github-actions[bot]
26efdc6622
[automated] Re-Generate Nodes/Rectors Documentation ( #4594 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-11-13 01:38:40 +01:00
Abdul Malik Ikhsan
3d2c7c30bd
[CodingStyle] Failing test case for cannot change this to self ( #4590 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 21:50:36 +01:00
Tomas Votruba
7e3f8bdafc
[Laravel] Add AddMockConsoleOutputFalseToConsoleTestsRector ( #4589 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 21:47:25 +01:00
Tomas Votruba
aa91f11a3f
[Laravel 5.7] Add ChangeQueryWhereDateValueWithCarbonRector ( #4586 )
...
* [Laravel] Add ChangeQueryWhereDateValueWithCarbonRector
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-12 15:28:50 +00:00
Tomas Votruba
4c6da2c4bf
[Laravel 5.7] Add parent boot rule ( #4580 )
...
* move file to templates, to remove confusion in the root
* use stable symplify
* [Laravel] Add AddParentBootToModelClassMethodRector
* [ci-review] Generate Rector & Nodes documentation
* [ci-review] propagate monorepo dependencies
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-11 17:09:57 +00:00
Abdul Malik Ikhsan
ef442dca03
[PHP 8.0] Improve NullsafeOperatorRector : No need ?-> on very first call ( #4571 )
...
* [PHP 8.0] Improve NullsafeOperatorRector : No need ?-> on very first call
* use bool check is start if
* phpstan
* phpstan and code example update
* [ci-review] Generate Rector & Nodes documentation
* [ci-review] Apply coding standards
* using $isStartIf = true default
* clean up
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-10 10:09:39 +00:00
Abdul Malik Ikhsan
660f51019a
[PHP 8.0] Fixes #4527 Add NullsafeOperatorRector ( #4557 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-11-08 23:15:16 +01:00
Abdul Malik Ikhsan
4764fd1ac3
[DeadCode] Fixes #4561 Skip RemoveUnusedPrivatePropertyRector removes used Parameter ( #4564 )
...
* Add test case for not removing used constructor parameter
* Fixes #4561 Closes #4563
* [ci-review] Generate Rector & Nodes documentation
* [ci-review] Apply coding standards
* phpstan
* reduce complexity
* [ci-review] Rector Rectify
Co-authored-by: Tim Siebels <siebels.tim@gmail.com>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-08 18:22:24 +00:00
Krystian Marcisz
a92f4c1e2d
[DoctrineCodeQuality] Remove redundant default values from annotations ( #4542 )
...
* Move duplicated getAttributableItems() method to abstract parent
* Add removeItem() method to AbstractTagValueNode class
* Add RemoveRedundantDefaultAnnotationValuesRector rule with tests
* Link second test case of RemoveRedundantDefaultAnnotationValuesRector
* Add to set and docs
* Rename variable in DoctrineClassAnalyzer::matchDoctrineEntityTagValueNode()
* Remove redundant docblocks in RemoveRedundantDefaultAnnotationValuesRector
* Extract hasItemWithDefaultValue method in RemoveRedundantDefaultAnnotationValuesRector
* Optimize RemoveRedundantDefaultAnnotationValuesRector
* Split rule into two separate: one for Property and one for Class_
* PHP CS Fixer
* PHPStan
2020-11-04 22:51:11 +01:00
Abdul Malik Ikhsan
01092de6bb
[Nette 3.0] Fixes #4387 : Add ConvertAddUploadWithThirdArgumentTrueToAddMultiUploadRector ( #4551 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-04 05:45:10 +01:00
Tomas Votruba
297ec316af
move suffix filesystem 3 ( #4540 )
2020-11-01 21:31:13 +01:00
Tomas Votruba
c03b66f7cd
move suffix filesystem 2 ( #4529 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-11-01 16:39:04 +01:00
Tomas Votruba
8542a3bcbc
Move from Filesystem rules to FileNode ( #4528 )
...
* make MoveServicesBySuffixToDirectoryRector with non-filesystem rector
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Apply coding standards
* fixup! make MoveServicesBySuffixToDirectoryRector with non-filesystem rector
Co-authored-by: rector-bot <tomas@getrector.org>
2020-10-31 21:39:09 +00:00
Tomas Votruba
5147844615
change RenameSpecFileToTestFileRector filesystem to normal one ( #4525 )
2020-10-31 16:20:30 +00:00
Tomas Votruba
0513315056
Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node ( #4522 )
...
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node
* update DecoupleClassMethodToOwnClassRector
* [ci] add rebase jobp
* disable fail fast for unit tests
* misc
2020-10-31 12:59:40 +00:00