Krystian Marcisz
e945b5705f
[Downgrade][PHP 7.3] Add SetCookieOptionsArrayToArgumentsRector ( #4806 )
2020-12-06 13:14:21 +01:00
Markus Staab
f9de09ab3c
dont run jobs on forks, because gh-tokens are not available ( #4813 )
2020-12-06 18:08:19 +07:00
Abdul Malik Ikhsan
8a3b0d1ffd
[Downgrade PHP 8.0] Register DowngradeNullsafeToTernaryOperatorRector to downgrade php80 config set ( #4812 )
2020-12-06 11:49:49 +01:00
Markus Staab
e734d32e4c
dont run weekly jobs on forks, because gh-tokens are not available ( #4808 )
...
Try to fix a error which I get in GitHub Action every week
2020-12-06 11:47:46 +01:00
Abdul Malik Ikhsan
e25370bd21
[Downgrade PHP 8.0] Fixes #4154 Add DowngradeNullsafeToTernaryOperatorRector ( #4807 )
2020-12-06 11:43:38 +01:00
Abdul Malik Ikhsan
758aa2ceff
[Downgrade PHP 8.0] Register DowngradeClassOnObjectToGetClassRector to downgrade-php80 config set ( #4810 )
2020-12-06 11:35:56 +01:00
Abdul Malik Ikhsan
b649c6d7de
[Downgrade PHP 7.1] Register DowngradePipeToMultiCatchExceptionRector to downgrade-php71 config set ( #4809 )
2020-12-06 11:33:28 +01:00
Tomas Votruba
9792b8d0bd
keep description string as standard ( #4811 )
2020-12-06 11:30:46 +01:00
github-actions[bot]
26128bf0b3
[automated] Apply Coding Standard ( #4804 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-06 11:24:39 +01: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
db63a96397
[PHP 8.0] CI test fixes ( #4805 )
...
* [Downgrade PHP 8.0] Fix Union type
* run variable rename
* allow test
* fix regex
* allow run
* remove test dependency on DateTime changing api
* normalize
2020-12-06 10:19:17 +00:00
github-actions[bot]
6771bfd108
[automated] Re-Generate CHANGELOG.md ( #4802 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-06 01:31:07 +01:00
Tomas Votruba
bfd1953f97
move string downgrade types to object classes ( #4801 )
...
* move string downgrade types to object classes
* fix nullable type unwrap
* remove uneeded open tags from samples
* remove uneeded union type check
2020-12-06 00:27:00 +00:00
Tomas Votruba
3b22532794
[Downgrade] [PHP 8.0] Fix static type ( #4800 )
2020-12-06 01:05:21 +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
18fdd3313a
[PHP 8.0] get_parent_class() cannot be called on non-existing classes anymore ( #4798 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 23:16:54 +01:00
Tomas Votruba
8bfb36d0b2
[Downgrade] [PHP 7.3] Downgrade trailing commas in function calls ( #4796 )
...
Co-authored-by: Tommy Quissens <tommy.quissens@storefront.be>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-05 22:40:10 +01:00
Krystian Marcisz
c85ee2df8d
[DX] Use MethodName const instead of string for __set_state ( #4797 )
2020-12-05 22:39:06 +01:00
Krystian Marcisz
41ab37165c
[PHP 8.0] Add FinalPrivateToPrivateVisibilityRector ( #4794 )
2020-12-05 22:33:30 +01:00
Krystian Marcisz
3af78f4c49
[PHP 8.0] Add RemoveParentCallWithoutParentRector to the set config ( #4795 )
2020-12-05 22:32:44 +01:00
TomasVotruba
25908c27f8
fix cs
2020-12-05 22:19:10 +01:00
Krystian Marcisz
49dceea41a
[PHP 8.0] Add SetStateToStaticRector ( #4792 )
2020-12-05 21:38:33 +01:00
Krystian Marcisz
69b63de4d3
[MysqlQueryMysqlErrorWithLinkRector] Remove already existing connection parameter from function call ( #4793 )
...
* Remove already existing connection parameter in function call
* CS Fixer
2020-12-05 20:26:46 +00: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
7f1d304c9a
[Downgrade] [PHP 8.0] Add DowngradeMatchToSwitchRector ( #4788 )
2020-12-05 13:20:56 +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
Tomas Votruba
e627304df9
[PHP 8.0] [Downgrade] Add DowngradeNonCapturingCatchesRector ( #4787 )
2020-12-05 11:50:31 +00:00
Tomas Votruba
1f56646989
PHPStan rule decouple to Symplify ( #4786 )
...
* use ForbiddenMethodCallOnTypeRule from symplify
* fixup! use ForbiddenMethodCallOnTypeRule from symplify
* merge CommentCombiner to CommentsMerger
2020-12-05 11:41:55 +00:00
Abdul Malik Ikhsan
1e667b454f
[CI] Add PHP 8.0 to Github actions tests ( #4779 )
2020-12-05 12:10:44 +01: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
github-actions[bot]
c7d2af6966
[automated] Apply Coding Standard ( #4784 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-05 11:07:25 +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
Abdul Malik Ikhsan
24dda87f60
[Downgrade PHP 7.1] Fixes #4196 Add DowngradePipeToMultiCatchExceptionRector ( #4776 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-04 15:07:54 +01:00
Abdul Malik Ikhsan
87af56c3fa
[DX] Fixes #4777 Update ConfiguredCodeSample to CodeSample for no configuration in Rector class ( #4778 )
2020-12-04 15:05:06 +01:00
Abdul Malik Ikhsan
d3a6a1db28
[Downgrade PHP 8.0] Add DowngradeClassOnObjectToGetClassRector ( #4772 )
2020-12-04 15:00:52 +01:00
Abdul Malik Ikhsan
cfdbbddfc4
[DX] Fixes #3675 Report running rule without configuration ( #4771 )
...
* [DX] Fixes #3675 Report running rule without configuration
* disable empty configuration check on test
* cs fix
* clean up
* phpstan
2020-12-04 13:02:37 +01:00
Abdul Malik Ikhsan
0308cfd63b
[PHPstan] Fixes #4731 Skip RemoveNonExistingVarAnnotationRector on comment in next line of @var ( #4775 )
2020-12-04 12:31:49 +01:00
Leonardo Losoviz
5257f3ae3e
Downgrade PHP 7.4 contravariant argument type ( #4770 )
...
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2020-12-04 12:30:37 +01:00
Leonardo Losoviz
1bb4e06fd8
Downgrade PHP 7.4 Covariant return types - Handle also interfaces ( #4774 )
2020-12-04 12:28:32 +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]
e85f0b158d
[automated] Apply Coding Standard ( #4768 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2020-12-04 01:49:50 +01:00
Tomas Votruba
09f17a7b64
[Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector ( #4762 )
...
* [Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector
* fix parent
* various fixes for PHP 8.0 tests
* [ci-review] Rector Rectify
* Update rules/downgrade-php80/tests/Rector/Class_/DowngradePropertyPromotionToConstructorPropertyAssignRector/DowngradePropertyPromotionToConstructorPropertyAssignRectorTest.php
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-03 13:27:24 +00:00
Michal Lulco
1f5876ed28
Added some missing Nette 3.0 tasks ( #4764 )
2020-12-03 13:27:12 +00:00
Tomas Votruba
ca5399b249
[Downgrade] Fix file matching for ChangePhpVersionInPlatformCheckRector ( #4763 )
2020-12-03 12:27:00 +00: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
Leonardo Losoviz
4bf25404e1
Added rule to set ( #4758 )
2020-12-03 09:31:13 +01:00
Abdul Malik Ikhsan
0e421247e8
[Solid] Skip ChangeAndIfToEarlyReturnRector on nested if in loop ( #4757 )
...
* ChangeAndIfToEarlyReturnRector: added failing test
* fix test warning
* rename test
* rename test
* try to fix the issue
* Update skip_nested_if_in_loop.inc
* rename fixture
* rename fixture
* extracted loop-types into constant
* fix
* refactor
* take Else_/ElseIf_ into account
* Update ChangeAndIfToEarlyReturnRector.php
* [Solid] Skip ChangeAndIfToEarlyReturnRector on nested if in loop, Closes #4728
* [ci-review] Rector Rectify
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
Co-authored-by: Markus Staab <markus.staab@redaxo.de>
Co-authored-by: Markus Staab <maggus.staab@googlemail.com>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-03 09:20:59 +01:00
Leonardo Losoviz
36ed4ee6a2
Downgrade PHP 7.4 covariant return type ( #4755 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-02 18:47:51 +01:00
Tomas Votruba
0b9c72ea9a
[PHP 8.0] Fix property removal in property promotion, if they have doctrine annotations ( #4752 )
...
* [PHP 8.0] Keep doctrine proeprty with annotations on property promotion
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-02 14:26:14 +00:00