Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 8, 2025

This PR contains the following updates:

Package Change Age Confidence
friendsofphp/php-cs-fixer ^3.86.0 -> ^3.87.1 age confidence
rector/rector (source) ^2.1.4 -> ^2.1.5 age confidence

Release Notes

PHP-CS-Fixer/PHP-CS-Fixer (friendsofphp/php-cs-fixer)

v3.87.1

Compare Source

  • chore: AbstractProxyFixer - require non-empty list of proxy fixers (#​9010)
  • deps: update justinrainbow/json-schema (#​9019)

v3.87.0

Compare Source

  • feat: add PhpdocTagNoNamedArgumentsFixer (#​8906)
  • feat: deprecate using config from passed 'path' CLI argument (#​8923)
  • feat: introduce @PHP85Migration set (#​8941)
  • feat: upgrade @PhpCsFixer set towards new defaults of selected rules (#​8981)
  • fix: PhpdocOrderFixer - do not allow duplicated tags in configuration (#​8945)
  • fix: PhpdocOrderFixer when phpstan- / psalm- order is specified (#​8853)
  • docs: README.md updates (#​9013)
  • docs: update README.md (#​9015)
  • docs: update README.md and CONTRIBUTING.md (#​8974)
  • DX: remove methods for kind checks (#​8954)
  • DX: unify class/interface/trait naming (#​8957)
  • chore: Add CS commit to .git-blame-ignore-revs
  • chore: Add TODO for ENUM conversion in ProgressOutputType (#​8991)
  • chore: always use JSON_THROW_ON_ERROR (#​8993)
  • chore: apply (partially) multiline_string_to_heredoc (#​9002)
  • chore: apply phpdoc_tag_no_named_arguments (#​8969)
  • chore: configure phpdoc_tag_no_named_arguments (#​8970)
  • chore: convert private methods to constants (#​8976)
  • chore: deprecate Annotation::getTagsWithTypes in favor of TAGS_WITH_TYPES constant (#​8977)
  • chore: exclude files in .gitattributes (#​8960)
  • chore: extract token types for PHPStan (#​8925)
  • chore: handle fixer options without allowed types defined (#​8973)
  • chore: ignore deprecations in token_get_all (#​8963)
  • chore: minor CS fixes (#​8979)
  • chore: PhpdocTagNoNamedArgumentsFixer - better example (#​8971)
  • chore: PHPUnit - enforce no memory_limit (#​8940)
  • chore: remove not-needed reset-call (#​9014)
  • chore: revert wrong _PhpTokenArray usages (#​8947)
  • chore: rework ci-integration.sh (#​8989)
  • chore: sort .gitattributes (#​8966)
  • chore: unify entries in .gitignore (#​8982)
  • chore: unify env var FAST_LINT_TEST_CASES into PHP_CS_FIXER_FAST_LINT_TEST_CASES (#​8992)
  • chore: use get_debug_type and ::class in exception messages (#​9006)
  • chore: use non-empty-list where appropriate (#​8972)
  • chore: AbstractPhpdocTypesFixer - remove $tags property (#​8980)
  • chore: CheckCommand - use regex instead of explode & substr (#​8936)
  • chore: ClassAttributesSeparationFixer - improve code (#​8950)
  • chore: EregToPregFixer - use constant instead of static property (#​8978)
  • chore: FullyQualifiedStrictTypesFixer - ensure matching number of opening/closing braces (#​9009)
  • chore: OrderedClassElementsFixer - use private method instead of anonymous function (#​8931)
  • chore: PhpdocParamOrderFixer - improve/simplify code (#​9012)
  • chore: PhpUnitDedicateAssertFixer - improve code for phpstan (#​9011)
  • chore: Tokens::offsetSet - explicit validation of input (#​9004)
  • chore: Tokens - override nullability of SplFixedArray (#​9001)
  • refactor: add DocBlockAnnotation trait (#​8953)
  • refactor: PhpdocOrderFixer - calculate order only once (#​8944)
  • CI: add vendor/bin/phpunit --check-php-configuration (#​8934)
  • CI: more self-fixing checks on lowest/highest PHP (#​8943)
  • CI: Re-enable Paraunit in CI under PHP 8.5 (#​8964)
  • CI: update checkbashisms (#​8951)
  • test: extend ProjectCodeTest to check classy names in tests too (#​8959)
  • test: split test so more of them can run under Windows (#​8986)
  • test: TypeDeclarationSpacesFixer - demonstrate PHP 8.3 related config doesn't harm older envs (#​8999)
  • test: update pipe operator tests after pipe & arrow function combination was prohibited (#​8990)
  • test: NoUnneededControlParenthesesFixer - add tests for "clone with" (#​8937)
  • test: PhpdocNoAliasTagFixerTest - add test for @const to @var (#​8998)
  • CS: re-apply rules (#​8988)
  • deps: bump actions/checkout from 4 to 5 (#​8938)
  • deps: bump shipmonk/dead-code-detector from 0.13.1 to 0.13.2 in /dev-tools (#​8939)
  • deps: drop support for justinrainbow/json-schema:^5 (#​8984)
  • deps: minor upgrades (#​8983)
  • deps: remove php-cs-fixer/accessible-object (#​8948)
  • deps: update dev-tools (#​9007)
rectorphp/rector (rector/rector)

v2.1.5: Released Rector 2.1.5

Compare Source

New Features 🥳


Bugfixes 🐛

  • [TypeDeclaration] Skip integer index on string on AddArrowFunctionParamArrayWhereDimFetchRector (#​7178)
  • [TypeDeclaration] Skip Valid type from return doc and typed param on AddMethodCallBasedStrictParamTypeRector (#​7172)
  • [Renaming] Keep parentheses on RenameCastRector (#​7153)
  • [CodeQuality] Skip next inside array_filter() on SimplifyEmptyArrayCheckRector (#​7154)
  • Clean up ternary on ColonAfterSwitchCaseRector (#​7158)
  • fix: convert static::* to self::* for all constant access in final classes (#​7159), Thanks @​calebdw!
  • fix: static to self static method call on final class (#​7160), Thanks @​calebdw!
  • fix multi-line error message format (#​7164), Thanks @​FeBe95!
  • [CodeQuality] Skip @​final doc with public property on ConvertStaticToSelfRector (#​7168)
  • [CodeQuality] Skip @​final doc with public class constant on ConvertStaticToSelfRector (#​7170)
  • Ensure native ReflectionClassConstant->isFinal() exists by check real php version (#​7171)
  • Fix RemoveDuplicatedCaseInSwitchRector behavior (#​7173), Thanks @​max-s-lab!
  • replace PHP_EOL with \n when used with symfony console (#​7174), Thanks @​FeBe95!
  • [CodeQuality] Handle parentheses inner if with assign on CombineIfRector (#​7179)
  • [DeadCode] Fix merge comments on RemoveAlwaysTrueIfConditionRector (#​7181)
  • [Naming] Skip rename override method from /vendor/ on RenameParamToMatchTypeRector (#​7182)
  • [Php84] Handle named key argument with flipped position on ArrayKeyExistsNullToEmptyStringRector (#​7186)
  • skip constructor param hook on ReadOnlyPropertyRector (#​7192), Thanks @​tandev!
  • [Php84] Skip value extraction on ForeachToArray* rules (#​7193)
  • [Scope] Handle Scope refreshing on Attribute on print string with NOWDOC (#​7194)
  • [Transform] Fix example config on FuncCallToNewRector (#​7196)
  • [Composer] Make InstalledPackageResolver::resolvedInstalledPackages nullable to verify cached package lists (#​7210)
  • [AutoImport] Do not rename different namespaced function on auto import + RenameFunctionRector (#​7214)
  • Rectify (#​7216)
  • [DeadCode] Skip non-public __clone() method on RemoveEmptyClassMethodRector (#​7187)

Removed and reprecated 💀

  • Throw Deprecatation on StaticToSelfStaticMethodCallOnFinalClassRector and ConvertStaticPrivateConstantToSelfRector (#​7165)
  • [Php85] Remove calls to deprecated no-op functions (#​7128), Thanks @​mttsch!
  • [8.4][DeprecatedAnnotationToDeprecatedAttributeRector] Remove invalid example (#​7202), Thanks @​DanielEScherzer!
  • Remove removed "Rector\Symfony\Set\FOSRestSetList/JMSSetList/SensiolabsSetList" usage (#​7204)



rectorphp/rector-symfony 🎵

  • restore SymfonyInternalSetList to allow relative paths to sets, use internally only (#​837)
  • [code-quality] add filter_var() support to ParameterBagTypedGetMethodCallRector (#​836)
  • [CodeQuality] Skip first class callable on ParameterBagTypedGetMethodCallRector (#​835)
  • [code-quality] Add ParameterBagTypedGetMethodCallRector (#​834)
  • [config] add symfony cache pool support to StringExtensionToConfigBuilderRector (#​832)
  • [doctrine] add mapping type support to StringExtensionToConfigBuilderRector (#​831)
  • [config] Add query/result cache doctrine support in StringExtensionToConfigBuilderRector (#​830)
  • [config] Add monolog and dbal fixes to StringExtensionToConfigBuilderRector (#​829)
  • [SYMFONY 7.4] replace function call routing (#​828), Thanks @​JohJohan

rectorphp/rector-phpunit 🟢

  • [code-quality] Add ScalarArgumentToExpectedParamTypeRector (#​533)
  • [CodeQuality] Fix assertGreater/Less apply on AssertComparisonToSpecificMethodRector (#​532)
  • [CodeQuality] Skip docblock based type on AddReturnTypeToDependedRector (#​530)
  • Remove unused check return with expr as already covered on ReturnAnalyzer (#​529)
  • [code-quality] Add AddReturnTypeToDependedRector (#​528)
  • [code-quality] Add AddParamTypeFromDependsRector (#​525)
  • Fix target method on dataProvider on DataProviderAnnotationToAttributeRector (#​524)
  • [AnnotationToAttribute] Handle already in use on DataProviderAnnotationToAttributeRector (#​523)
  • [CodeQuality] Skip already has return type on TypeWillReturnCallableArrowFunctionRector (#​518)
  • Drop MatchAssertEqualsExpectedTypeRector (#​517)
  • [CodeQuality] Handle crash on native "object" type on TypeWillReturnCallableArrowFunctionRector (#​516)
  • [CodeQuality] Skip return createMock() on TypeWillReturnCallableArrowFunctionRector (#​515)
  • [CodeQuality] Rename MatchAssertSameExpectedTypeRector to MatchAssertEqualsExpectedTypeRector to only apply on assertEquals (#​514)
  • [code-quality] Add MatchAssertSameExpectedTypeRector (#​510)
  • add GetMockBuilderGetMockToCreateMockRector to code quality set (#​509)

rectorphp/rector-downgrade-php

  • [DowngradePhp83] Add DowngradeJsonValidateRector (#​313)
  • [DowngradePhp81] Handle parent is void on DowngradeNeverTypeDeclarationRector (#​311)
  • [DowngradePhp81] Skip check version_compare with if on DowngradeHashAlgorithmXxHashRector (part 3) (#​309)
  • [DowngradePhp81] Skip check version_compare with ternary on DowngradeHashAlgorithmXxHashRector (part 2) (#​308)
  • [DowngradePhp81] Skip check php version with ternary on DowngradeHashAlgorithmXxHashRector (part 1) (#​307)
  • [DowngradePhp81] Add PHP_VERSION_ID < 80100 check on DowngradeSetAccessibleReflectionPropertyRector (#​306)

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), 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 was generated by Mend Renovate. View the repository job log.

@coveralls
Copy link

Coverage Status

coverage: 95.592%. remained the same
when pulling 9b57860 on renovate/composer-qa-tooling
into 49c0ea3 on main.

@martin-georgiev martin-georgiev merged commit 8b0fab4 into main Sep 8, 2025
69 of 70 checks passed
@martin-georgiev martin-georgiev deleted the renovate/composer-qa-tooling branch September 8, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants