PostgreSQL enhancements for Doctrine. Provides support for advanced data types (json, jssnb, arrays), text search, array operators and jsonb specific functions.
sebastianbergmann/phpunit (phpunit/phpunit)
### [`v10.5.28`](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.27...10.5.28)
[Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.27...10.5.28)
rectorphp/rector (rector/rector)
### [`v1.2.1`](https://togithub.com/rectorphp/rector/releases/tag/1.2.1): Released Rector 1.2.1
[Compare Source](https://togithub.com/rectorphp/rector/compare/1.2.0...1.2.1)
#### New Features :partying_face:
- \[type-declarations] Add ReturnNullableTypeRector ([#6110](https://togithub.com/rectorphp/rector-src/pull/6110))
- \[type-declarations] Add StringsReturnTypeFromStrictScalarReturnsRector to complete the string returns ([#6111](https://togithub.com/rectorphp/rector-src/pull/6111))
- \[PhpDoc] Add warning about missing PhpDocInfo name form tag value node ([#6134](https://togithub.com/rectorphp/rector-src/pull/6134))
- \[TypeDeclaration] Introducing ClosureReturnTypeRector to handle closure types separately ([#6106](https://togithub.com/rectorphp/rector-src/pull/6106))
- \[TypeDeclaration] Skip has named arg on AddMethodCallBasedStrictParamTypeRector ([#6137](https://togithub.com/rectorphp/rector-src/pull/6137))
- \[e2e]\[Printer] Handle crash indentation on AddParamBasedOnParentClassMethodRector ([#6112](https://togithub.com/rectorphp/rector-src/pull/6112))
#### Bugfixes :bug:
- \[TypeDeclaration] Skip variadic on AddParamTypeBasedOnPHPUnitDataProviderRector ([#6150](https://togithub.com/rectorphp/rector-src/pull/6150))
- \[TypeDeclaration] Add ConstFetch support on ReturnTypeFromStrictConstantReturnRector ([#6151](https://togithub.com/rectorphp/rector-src/pull/6151))
- Refactor BooleanTypeMapper to handle value based on context ([#6095](https://togithub.com/rectorphp/rector-src/pull/6095))
- Check root return in ReturnTypeFromReturnNewRector ([#6102](https://togithub.com/rectorphp/rector-src/pull/6102))
- Make ReturnUnionTypeRector run on PHP 8.0+ ([#6103](https://togithub.com/rectorphp/rector-src/pull/6103))
- ReturnUnionTypeRector now return only non-nullable types, to prepare space for new nullable rule as off PHP 7.1+ ([#6105](https://togithub.com/rectorphp/rector-src/pull/6105))
- \[TypeDeclaration] handle explicit if else new on ReturnTypeFromReturnNewRector ([#6104](https://togithub.com/rectorphp/rector-src/pull/6104))
- \[Php70] Swap min is higher than max on RandomFunctionRector ([#6109](https://togithub.com/rectorphp/rector-src/pull/6109))
- Split StringReturnTypeFromStrictScalarReturnsRector into string, bool and numeric scalar + strict return type rules ([#6113](https://togithub.com/rectorphp/rector-src/pull/6113))
- \[Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector ([#6117](https://togithub.com/rectorphp/rector-src/pull/6117))
- \[TypeDeclaration] Skip void on BoolReturnTypeFromBooleanStrictReturnsRector ([#6118](https://togithub.com/rectorphp/rector-src/pull/6118))
- \[TypeDeclaration] Fix inline closure type on ClosureReturnTypeRector ([#6119](https://togithub.com/rectorphp/rector-src/pull/6119))
- \[TypeDeclaration] Skip start with shebang on DeclareStrictTypesRector ([#6121](https://togithub.com/rectorphp/rector-src/pull/6121))
- \[Php52] Handle deep if stmts on ContinueToBreakInSwitchRector ([#6122](https://togithub.com/rectorphp/rector-src/pull/6122))
- \[Php52] Handle in deep else on ContinueToBreakInSwitchRector ([#6123](https://togithub.com/rectorphp/rector-src/pull/6123))
- \[TypeDeclaration] Clean up ArrowFunction check on ReturnTypeInferer ([#6124](https://togithub.com/rectorphp/rector-src/pull/6124))
- \[TypeDeclaration] Skip union with yield on NumericReturnTypeFromStrictScalarReturnsRector ([#6125](https://togithub.com/rectorphp/rector-src/pull/6125))
- \[Php82] Handle has only readonly properties but not all promoted property on ReadOnlyClassRector ([#6129](https://togithub.com/rectorphp/rector-src/pull/6129))
- refactor: Move function first-class-callable to a standalone rule ([#6131](https://togithub.com/rectorphp/rector-src/pull/6131)), Thanks [@nikolicaleksa](https://togithub.com/nikolicaleksa)!
- typo (https://github.com/rectorphp/rector-src/commit/d102bd166e8cc13ec50506dac2b2765ba29698a7)
- Fix ArrayDimFetchToMethodCallRector ([#6138](https://togithub.com/rectorphp/rector-src/pull/6138)), Thanks [@peterfox](https://togithub.com/peterfox)!
- \[CodeQuality] Skip used in static Closure/ArrowFunction on LocallyCalledStaticMethodToNonStaticRector ([#6139](https://togithub.com/rectorphp/rector-src/pull/6139))
- \[CodeQuality] Skip multiple new lines on JoinStringConcatRector ([#6141](https://togithub.com/rectorphp/rector-src/pull/6141))
- \[CodeQuality] Allow change empty() to \[] compare of other object property usage on SimplifyEmptyCheckOnEmptyArrayRector ([#6147](https://togithub.com/rectorphp/rector-src/pull/6147))
- \[Php55] Skip parse error on no concat in left in left Concat on PregReplaceEModifierRector ([#6148](https://togithub.com/rectorphp/rector-src/pull/6148))
- \[CodingStyle] Handle with trait use adaptations on SeparateMultiUseImportsRector ([#6149](https://togithub.com/rectorphp/rector-src/pull/6149))
- \[DeadCode] Remove unused [@var](https://togithub.com/var) on key after remove key on RemoveUnusedForeachKeyRector ([#6135](https://togithub.com/rectorphp/rector-src/pull/6135))
- \[DeadCode] Handle same namespace param type on RemoveUselessParamTagRector ([#6133](https://togithub.com/rectorphp/rector-src/pull/6133))
#### Removed and deprecated :skull:
- Add - number support, deprecate ReturnTypeFromStrictScalarReturnExprRector functionality, already split ([#6114](https://togithub.com/rectorphp/rector-src/pull/6114))
- Deprecate BoolReturnTypeFromStrictScalarReturnsRector, use BoolReturnTypeFromBooleanStrictReturnsRector instead ([#6115](https://togithub.com/rectorphp/rector-src/pull/6115))
- \[DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector ([#6108](https://togithub.com/rectorphp/rector-src/pull/6108))
- \[DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector take 2 ([#6116](https://togithub.com/rectorphp/rector-src/pull/6116))
- \[Php80] Skip used in compact() on RemoveUnusedVariableInCatchRector ([#6152](https://togithub.com/rectorphp/rector-src/pull/6152))
#### rectorphp/rector-symfony
- Correct return type definition for DataTransformerInterface ([#645](https://togithub.com/rectorphp/rector-symfony/pull/645)), Thanks [@bobvandevijver](https://togithub.com/bobvandevijver)
- \[Symfony 6.1] Improve CommandPropertyToAttributeRector to work with freshly created AsCommand ([#644](https://togithub.com/rectorphp/rector-symfony/pull/644))
- Add more complex names support to CommandPropertyToAttributeRector ([#643](https://togithub.com/rectorphp/rector-symfony/pull/643))
- \[Symfony 6.3] Add ParamAndEnvAttributeRector ([#641](https://togithub.com/rectorphp/rector-symfony/pull/641))
- \[Symfony 6.2] Improve SecurityAttributeToIsGrantedAttributeRector ([#640](https://togithub.com/rectorphp/rector-symfony/pull/640))
- Add args() support to AutowireAttributeRector ([#639](https://togithub.com/rectorphp/rector-symfony/pull/639))
- \[Config] Add configurable AutowireAttributeRector to add #\[Autowire(...)] to services ([#637](https://togithub.com/rectorphp/rector-symfony/pull/637))
- feat: add api-platform/core config key ([#635](https://togithub.com/rectorphp/rector-symfony/pull/635)), Thanks [@dsdeboer](https://togithub.com/dsdeboer)
- feat: add nelmio/cors-bundle config key ([#634](https://togithub.com/rectorphp/rector-symfony/pull/634)), Thanks [@dsdeboer](https://togithub.com/dsdeboer)
- feat: two additional config ([#633](https://togithub.com/rectorphp/rector-symfony/pull/633)), Thanks [@dsdeboer](https://togithub.com/dsdeboer)
- Hybrid CommandConfigureToAttributeRector ([#632](https://togithub.com/rectorphp/rector-symfony/pull/632)), Thanks [@ruudk](https://togithub.com/ruudk)
#### rectorphp/rector-doctrine
- Fix outdated documentation in README.md ([#328](https://togithub.com/rectorphp/rector-doctrine/pull/328)), Thanks [@alexis-boyer](https://togithub.com/alexis-boyer)
- Check is nullable doctrine annotation ([#324](https://togithub.com/rectorphp/rector-doctrine/pull/324)), Thanks [@marcelthole](https://togithub.com/marcelthole)
- Add return doc block to Collection property's getter method by ToMany annotation ([#322](https://togithub.com/rectorphp/rector-doctrine/pull/322)), Thanks [@jszutkowski](https://togithub.com/jszutkowski)
- Fix for AddReturnDocBlockToCollectionPropertyGetterByToManyAttributeRector ([#321](https://togithub.com/rectorphp/rector-doctrine/pull/321)), Thanks [@jszutkowski](https://togithub.com/jszutkowski)
#### rectorphp/rector-phpunit
- Add support for multiple dataProviders for a single test method ([#349](https://togithub.com/rectorphp/rector-phpunit/pull/349)), Thanks [@marcelthole](https://togithub.com/marcelthole)
Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled because a matching PR was automerged previously.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about these updates again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^10.5.27
->^10.5.28
^1.2.0
->^1.2.1
Release Notes
sebastianbergmann/phpunit (phpunit/phpunit)
### [`v10.5.28`](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.27...10.5.28) [Compare Source](https://togithub.com/sebastianbergmann/phpunit/compare/10.5.27...10.5.28)rectorphp/rector (rector/rector)
### [`v1.2.1`](https://togithub.com/rectorphp/rector/releases/tag/1.2.1): Released Rector 1.2.1 [Compare Source](https://togithub.com/rectorphp/rector/compare/1.2.0...1.2.1) #### New Features :partying_face: - \[type-declarations] Add ReturnNullableTypeRector ([#6110](https://togithub.com/rectorphp/rector-src/pull/6110)) - \[type-declarations] Add StringsReturnTypeFromStrictScalarReturnsRector to complete the string returns ([#6111](https://togithub.com/rectorphp/rector-src/pull/6111)) - \[PhpDoc] Add warning about missing PhpDocInfo name form tag value node ([#6134](https://togithub.com/rectorphp/rector-src/pull/6134)) - \[TypeDeclaration] Introducing ClosureReturnTypeRector to handle closure types separately ([#6106](https://togithub.com/rectorphp/rector-src/pull/6106)) - \[TypeDeclaration] Skip has named arg on AddMethodCallBasedStrictParamTypeRector ([#6137](https://togithub.com/rectorphp/rector-src/pull/6137)) - \[e2e]\[Printer] Handle crash indentation on AddParamBasedOnParentClassMethodRector ([#6112](https://togithub.com/rectorphp/rector-src/pull/6112))#### Bugfixes :bug: - \[TypeDeclaration] Skip variadic on AddParamTypeBasedOnPHPUnitDataProviderRector ([#6150](https://togithub.com/rectorphp/rector-src/pull/6150)) - \[TypeDeclaration] Add ConstFetch support on ReturnTypeFromStrictConstantReturnRector ([#6151](https://togithub.com/rectorphp/rector-src/pull/6151)) - Refactor BooleanTypeMapper to handle value based on context ([#6095](https://togithub.com/rectorphp/rector-src/pull/6095)) - Check root return in ReturnTypeFromReturnNewRector ([#6102](https://togithub.com/rectorphp/rector-src/pull/6102)) - Make ReturnUnionTypeRector run on PHP 8.0+ ([#6103](https://togithub.com/rectorphp/rector-src/pull/6103)) - ReturnUnionTypeRector now return only non-nullable types, to prepare space for new nullable rule as off PHP 7.1+ ([#6105](https://togithub.com/rectorphp/rector-src/pull/6105)) - \[TypeDeclaration] handle explicit if else new on ReturnTypeFromReturnNewRector ([#6104](https://togithub.com/rectorphp/rector-src/pull/6104)) - \[Php70] Swap min is higher than max on RandomFunctionRector ([#6109](https://togithub.com/rectorphp/rector-src/pull/6109)) - Split StringReturnTypeFromStrictScalarReturnsRector into string, bool and numeric scalar + strict return type rules ([#6113](https://togithub.com/rectorphp/rector-src/pull/6113)) - \[Php71] Handle not identical to Float for empty string should compare to 0.0 on BinaryOpBetweenNumberAndStringRector ([#6117](https://togithub.com/rectorphp/rector-src/pull/6117)) - \[TypeDeclaration] Skip void on BoolReturnTypeFromBooleanStrictReturnsRector ([#6118](https://togithub.com/rectorphp/rector-src/pull/6118)) - \[TypeDeclaration] Fix inline closure type on ClosureReturnTypeRector ([#6119](https://togithub.com/rectorphp/rector-src/pull/6119)) - \[TypeDeclaration] Skip start with shebang on DeclareStrictTypesRector ([#6121](https://togithub.com/rectorphp/rector-src/pull/6121)) - \[Php52] Handle deep if stmts on ContinueToBreakInSwitchRector ([#6122](https://togithub.com/rectorphp/rector-src/pull/6122)) - \[Php52] Handle in deep else on ContinueToBreakInSwitchRector ([#6123](https://togithub.com/rectorphp/rector-src/pull/6123)) - \[TypeDeclaration] Clean up ArrowFunction check on ReturnTypeInferer ([#6124](https://togithub.com/rectorphp/rector-src/pull/6124)) - \[TypeDeclaration] Skip union with yield on NumericReturnTypeFromStrictScalarReturnsRector ([#6125](https://togithub.com/rectorphp/rector-src/pull/6125)) - \[Php82] Handle has only readonly properties but not all promoted property on ReadOnlyClassRector ([#6129](https://togithub.com/rectorphp/rector-src/pull/6129)) - refactor: Move function first-class-callable to a standalone rule ([#6131](https://togithub.com/rectorphp/rector-src/pull/6131)), Thanks [@nikolicaleksa](https://togithub.com/nikolicaleksa)! - typo (https://github.com/rectorphp/rector-src/commit/d102bd166e8cc13ec50506dac2b2765ba29698a7) - Fix ArrayDimFetchToMethodCallRector ([#6138](https://togithub.com/rectorphp/rector-src/pull/6138)), Thanks [@peterfox](https://togithub.com/peterfox)! - \[CodeQuality] Skip used in static Closure/ArrowFunction on LocallyCalledStaticMethodToNonStaticRector ([#6139](https://togithub.com/rectorphp/rector-src/pull/6139)) - \[CodeQuality] Skip multiple new lines on JoinStringConcatRector ([#6141](https://togithub.com/rectorphp/rector-src/pull/6141)) - \[CodeQuality] Allow change empty() to \[] compare of other object property usage on SimplifyEmptyCheckOnEmptyArrayRector ([#6147](https://togithub.com/rectorphp/rector-src/pull/6147)) - \[Php55] Skip parse error on no concat in left in left Concat on PregReplaceEModifierRector ([#6148](https://togithub.com/rectorphp/rector-src/pull/6148)) - \[CodingStyle] Handle with trait use adaptations on SeparateMultiUseImportsRector ([#6149](https://togithub.com/rectorphp/rector-src/pull/6149)) - \[DeadCode] Remove unused [@var](https://togithub.com/var) on key after remove key on RemoveUnusedForeachKeyRector ([#6135](https://togithub.com/rectorphp/rector-src/pull/6135)) - \[DeadCode] Handle same namespace param type on RemoveUselessParamTagRector ([#6133](https://togithub.com/rectorphp/rector-src/pull/6133))
#### Removed and deprecated :skull: - Add - number support, deprecate ReturnTypeFromStrictScalarReturnExprRector functionality, already split ([#6114](https://togithub.com/rectorphp/rector-src/pull/6114)) - Deprecate BoolReturnTypeFromStrictScalarReturnsRector, use BoolReturnTypeFromBooleanStrictReturnsRector instead ([#6115](https://togithub.com/rectorphp/rector-src/pull/6115)) - \[DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector ([#6108](https://togithub.com/rectorphp/rector-src/pull/6108)) - \[DeadCode] Skip fluent no return type on RemoveUnusedPrivateMethodRector take 2 ([#6116](https://togithub.com/rectorphp/rector-src/pull/6116)) - \[Php80] Skip used in compact() on RemoveUnusedVariableInCatchRector ([#6152](https://togithub.com/rectorphp/rector-src/pull/6152))
#### rectorphp/rector-symfony - Correct return type definition for DataTransformerInterface ([#645](https://togithub.com/rectorphp/rector-symfony/pull/645)), Thanks [@bobvandevijver](https://togithub.com/bobvandevijver) - \[Symfony 6.1] Improve CommandPropertyToAttributeRector to work with freshly created AsCommand ([#644](https://togithub.com/rectorphp/rector-symfony/pull/644)) - Add more complex names support to CommandPropertyToAttributeRector ([#643](https://togithub.com/rectorphp/rector-symfony/pull/643)) - \[Symfony 6.3] Add ParamAndEnvAttributeRector ([#641](https://togithub.com/rectorphp/rector-symfony/pull/641)) - \[Symfony 6.2] Improve SecurityAttributeToIsGrantedAttributeRector ([#640](https://togithub.com/rectorphp/rector-symfony/pull/640)) - Add args() support to AutowireAttributeRector ([#639](https://togithub.com/rectorphp/rector-symfony/pull/639)) - \[Config] Add configurable AutowireAttributeRector to add #\[Autowire(...)] to services ([#637](https://togithub.com/rectorphp/rector-symfony/pull/637)) - feat: add api-platform/core config key ([#635](https://togithub.com/rectorphp/rector-symfony/pull/635)), Thanks [@dsdeboer](https://togithub.com/dsdeboer) - feat: add nelmio/cors-bundle config key ([#634](https://togithub.com/rectorphp/rector-symfony/pull/634)), Thanks [@dsdeboer](https://togithub.com/dsdeboer) - feat: two additional config ([#633](https://togithub.com/rectorphp/rector-symfony/pull/633)), Thanks [@dsdeboer](https://togithub.com/dsdeboer) - Hybrid CommandConfigureToAttributeRector ([#632](https://togithub.com/rectorphp/rector-symfony/pull/632)), Thanks [@ruudk](https://togithub.com/ruudk)
#### rectorphp/rector-doctrine - Fix outdated documentation in README.md ([#328](https://togithub.com/rectorphp/rector-doctrine/pull/328)), Thanks [@alexis-boyer](https://togithub.com/alexis-boyer) - Check is nullable doctrine annotation ([#324](https://togithub.com/rectorphp/rector-doctrine/pull/324)), Thanks [@marcelthole](https://togithub.com/marcelthole) - Add return doc block to Collection property's getter method by ToMany annotation ([#322](https://togithub.com/rectorphp/rector-doctrine/pull/322)), Thanks [@jszutkowski](https://togithub.com/jszutkowski) - Fix for AddReturnDocBlockToCollectionPropertyGetterByToManyAttributeRector ([#321](https://togithub.com/rectorphp/rector-doctrine/pull/321)), Thanks [@jszutkowski](https://togithub.com/jszutkowski)
#### rectorphp/rector-phpunit - Add support for multiple dataProviders for a single test method ([#349](https://togithub.com/rectorphp/rector-phpunit/pull/349)), Thanks [@marcelthole](https://togithub.com/marcelthole)
Configuration
š Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
š¦ Automerge: Disabled because a matching PR was automerged previously.
ā» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
š Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.