Skip to content

Commit 486a40c

Browse files
chore(deps): update composer dev tooling dependencies (#486)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [php-cs-fixer/shim](https://redirect.github.com/PHP-CS-Fixer/shim) | `^3.95.4` → `^3.95.10` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/php-cs-fixer%2fshim/3.95.10?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/php-cs-fixer%2fshim/3.95.4/3.95.10?slim=true) | | [phpstan/phpstan](https://redirect.github.com/phpstan/phpstan-phar-composer-source) | `^2.2.1` → `^2.2.2` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/2.2.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/2.2.1/2.2.2?slim=true) | | [phpunit/phpunit](https://phpunit.de/) ([source](https://redirect.github.com/sebastianbergmann/phpunit)) | `^13.1.14` → `^13.2.1` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/13.2.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/13.1.14/13.2.1?slim=true) | | [rector/rector](https://getrector.com/) ([source](https://redirect.github.com/rectorphp/rector)) | `^2.4.5` → `^2.4.6` | ![age](https://developer.mend.io/api/mc/badges/age/packagist/rector%2frector/2.4.6?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/rector%2frector/2.4.5/2.4.6?slim=true) | --- ### Release Notes <details> <summary>PHP-CS-Fixer/shim (php-cs-fixer/shim)</summary> ### [`v3.95.10`](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.9...v3.95.10) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.9...v3.95.10) ### [`v3.95.9`](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.8...v3.95.9) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.8...v3.95.9) ### [`v3.95.8`](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.7...v3.95.8) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.7...v3.95.8) ### [`v3.95.7`](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.6...v3.95.7) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.6...v3.95.7) ### [`v3.95.6`](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.5...v3.95.6) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.5...v3.95.6) ### [`v3.95.5`](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.4...v3.95.5) [Compare Source](https://redirect.github.com/PHP-CS-Fixer/shim/compare/v3.95.4...v3.95.5) </details> <details> <summary>phpstan/phpstan-phar-composer-source (phpstan/phpstan)</summary> ### [`v2.2.2`](https://redirect.github.com/phpstan/phpstan-phar-composer-source/compare/2.2.1...2.2.2) [Compare Source](https://redirect.github.com/phpstan/phpstan-phar-composer-source/compare/2.2.1...2.2.2) </details> <details> <summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary> ### [`v13.2.1`](https://redirect.github.com/sebastianbergmann/phpunit/releases/tag/13.2.1): PHPUnit 13.2.1 [Compare Source](https://redirect.github.com/sebastianbergmann/phpunit/compare/13.2.0...13.2.1) ##### Fixed - [#&#8203;6741](https://redirect.github.com/sebastianbergmann/phpunit/issues/6741): Test is not run when `--filter` matches the name of a data set but not the name of the test method - [#&#8203;6743](https://redirect.github.com/sebastianbergmann/phpunit/issues/6743): Improve error message for invalid version constraint in attribute - [#&#8203;6744](https://redirect.github.com/sebastianbergmann/phpunit/issues/6744): Environment variable attributes reject empty-string values since PHPUnit 13.2.0 *** Learn how to install or update PHPUnit 13.2 in the [documentation](https://docs.phpunit.de/en/13.2/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. ### [`v13.2.0`](https://redirect.github.com/sebastianbergmann/phpunit/releases/tag/13.2.0): PHPUnit 13.2.0 [Compare Source](https://redirect.github.com/sebastianbergmann/phpunit/compare/13.1.14...13.2.0) ##### Added - [#&#8203;3387](https://redirect.github.com/sebastianbergmann/phpunit/issues/3387): Specify a list of tests to run - [#&#8203;4201](https://redirect.github.com/sebastianbergmann/phpunit/issues/4201): Handle interrupts and display current test results - [#&#8203;4501](https://redirect.github.com/sebastianbergmann/phpunit/issues/4501): Option to mark test as risky when it does not contribute to code coverage - [#&#8203;5757](https://redirect.github.com/sebastianbergmann/phpunit/issues/5757): Add assertions for ignoring whitespace differences in strings - [#&#8203;5810](https://redirect.github.com/sebastianbergmann/phpunit/issues/5810): Do not dump arrays and objects in failure messages of `IsTrue`, `IsFalse`, `IsNull`, `IsFinite`, `IsInfinite`, and `IsNan` constraints - [#&#8203;5838](https://redirect.github.com/sebastianbergmann/phpunit/issues/5838): Inherit `#[RunTestsInSeparateProcesses]` from parent test classes - [#&#8203;5922](https://redirect.github.com/sebastianbergmann/phpunit/issues/5922): `assertContainsEquals()` should use `sebastian/comparator` for element comparison - [#&#8203;6000](https://redirect.github.com/sebastianbergmann/phpunit/issues/6000): Report PHPT test as risky when `--SKIPIF--` does not have standard-output side effect - [#&#8203;6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075): Support test execution order sorted by descending duration - [#&#8203;6346](https://redirect.github.com/sebastianbergmann/phpunit/issues/6346): Emit warning when conflicting CLI options are used - [#&#8203;6534](https://redirect.github.com/sebastianbergmann/phpunit/issues/6534): Make `$_dataName` available to `#[TestDoxFormatter]` callbacks - [#&#8203;6559](https://redirect.github.com/sebastianbergmann/phpunit/issues/6559): Improved API for exception message expectations - [#&#8203;6565](https://redirect.github.com/sebastianbergmann/phpunit/pull/6565): Optional `$skipWhenEmpty` parameter for `#[DataProvider]` and `#[DataProviderExternal]` - [#&#8203;6566](https://redirect.github.com/sebastianbergmann/phpunit/pull/6566): Allow `--stop-on-defect`, `--stop-on-error`, etc. to accept an optional threshold - [#&#8203;6567](https://redirect.github.com/sebastianbergmann/phpunit/issues/6567): Make diff context lines configurable - [#&#8203;6574](https://redirect.github.com/sebastianbergmann/phpunit/issues/6574): Improve `willReturnMap()` with constraint support and strict matching - [#&#8203;6575](https://redirect.github.com/sebastianbergmann/phpunit/issues/6575): `--list-test-ids` CLI option and enhance `--filter` CLI option to support test ID syntax - [#&#8203;6577](https://redirect.github.com/sebastianbergmann/phpunit/issues/6577): `--run-test-id <test-id>` CLI option that accepts a single test ID for exact matching - [#&#8203;6579](https://redirect.github.com/sebastianbergmann/phpunit/pull/6579): Properly handle issues triggered outside of tests - [#&#8203;6597](https://redirect.github.com/sebastianbergmann/phpunit/pull/6597): Compact output (activated through `--compact` CLI option and `PHPUNIT_COMPACT_OUTPUT=1` environment variable) - [#&#8203;6598](https://redirect.github.com/sebastianbergmann/phpunit/pull/6598): `--disable-coverage-targeting` CLI option - [#&#8203;6602](https://redirect.github.com/sebastianbergmann/phpunit/pull/6602): Separate configuration for branch coverage from path coverage - [#&#8203;6606](https://redirect.github.com/sebastianbergmann/phpunit/pull/6606): Support for partially ordered parameter sets in mock object expectations - [#&#8203;6611](https://redirect.github.com/sebastianbergmann/phpunit/pull/6611): Add CPU time to telemetry - [#&#8203;6681](https://redirect.github.com/sebastianbergmann/phpunit/pull/6681): Comment-aware variants of XML comparison assertions - The `executionOrder` attribute in the XML configuration file now accepts `defects` combined with any main order, as well as three-way combinations of `depends`/`no-depends`, `defects`, and a main order (for example, `depends,defects,duration-ascending`) - `--validate-configuration` CLI option to validate an XML configuration file for PHPUnit - Report TestDox information in Open Test Reporting XML - Report per-test and per-test-suite resource usage (time, memory usage, peak memory usage) in Open Test Reporting XML - Report number of assertions performed for each test in Open Test Reporting XML - Report structured comparison failure details (expected, actual, diff) in Open Test Reporting XML - Report random order seed in Open Test Reporting XML when test execution order is randomised ##### Changed - [#&#8203;5873](https://redirect.github.com/sebastianbergmann/phpunit/issues/5873): Chain previously registered error handler instead of silently disabling PHPUnit's error handling - [#&#8203;6535](https://redirect.github.com/sebastianbergmann/phpunit/pull/6535): Use `sebastian/file-filter` in `SourceFilter::includes()` for issue trigger identification - [#&#8203;6581](https://redirect.github.com/sebastianbergmann/phpunit/issues/6581): Allow `#[IgnoreDeprecations]` to be repeated - [#&#8203;6609](https://redirect.github.com/sebastianbergmann/phpunit/pull/6609): Skip data providers whose method cannot match `--filter` - [#&#8203;6685](https://redirect.github.com/sebastianbergmann/phpunit/pull/6685): Generate failure messages for inverse assertions by authoring negations, not by rewriting strings - Only errors and failures are now considered for "defect first" test reordering (tests that triggered deprecations, notices, or warnings as well as incomplete, risky, and skipped tests were previous also considered) - A warning is now emitted when closures are compared for equality using the `IsEqual`, `IsEqualCanonicalizing`, `IsEqualIgnoringCase`, `IsEqualWithDelta`, and `TraversableContainsEqual` constraints or the `assertEquals()`, `assertEqualsCanonicalizing()`, `assertEqualsIgnoringCase()`, `assertEqualsWithDelta()`, and `assertContainsEquals()` assertions ##### Deprecated - [#&#8203;6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075): `--order-by duration` CLI option, use `--order-by duration-ascending` instead - [#&#8203;6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075): `--order-by size` CLI option, use `--order-by size-ascending` instead - [#&#8203;6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075): `executionOrder="duration"` XML configuration attribute value, use `executionOrder="duration-ascending"` instead - [#&#8203;6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075): `executionOrder="size"` XML configuration attribute value, use `executionOrder="size-ascending"` instead - [#&#8203;6560](https://redirect.github.com/sebastianbergmann/phpunit/issues/6560): Soft-deprecate `expectExceptionMessage()`, use `expectExceptionMessageIsOrContains()` instead ##### Fixed - [#&#8203;5845](https://redirect.github.com/sebastianbergmann/phpunit/issues/5845): Error handlers registered before PHPUnit (e.g. via `auto_prepend_file`) cause false "risky test" warnings - [#&#8203;5851](https://redirect.github.com/sebastianbergmann/phpunit/issues/5851): Output buffer manipulation in tests causes incorrect capture, hangs, and silent failures - [#&#8203;6582](https://redirect.github.com/sebastianbergmann/phpunit/issues/6582): `TestSuiteSorter::cmpSize()` does not handle `TestSuite` objects for `TestCase` classes *** Learn how to install or update PHPUnit 13.2 in the [documentation](https://docs.phpunit.de/en/13.2/installation.html). ##### Keep up to date with PHPUnit: - You can follow [@&#8203;phpunit@phpc.social](https://phpc.social/@&#8203;phpunit) to stay up to date with PHPUnit's development. - You can subscribe to the [PHPUnit Updates](https://phpunit.de/newsletter) newsletter to receive updates about and tips for PHPUnit. </details> <details> <summary>rectorphp/rector (rector/rector)</summary> ### [`v2.4.6`](https://redirect.github.com/rectorphp/rector/releases/tag/2.4.6): Released Rector 2.4.6 [Compare Source](https://redirect.github.com/rectorphp/rector/compare/2.4.5...2.4.6) #### New Features :partying\_face: - \[deprecation] Add RenameDeprecatedMethodCallRector inferring rename from [@&#8203;deprecated](https://redirect.github.com/deprecated) docblock ([#&#8203;8015](https://redirect.github.com/rectorphp/rector-src/pull/8015)) - \[sets] kick of named args set ([#&#8203;8013](https://redirect.github.com/rectorphp/rector-src/pull/8013)) ```php # rector.php return (RectorConfig::configure()) ->withPreparedSets(namedArgs: true); ``` - Add Symfony 8 to the set provider collector ([#&#8203;8019](https://redirect.github.com/rectorphp/rector-src/pull/8019)), Thanks [@&#8203;mbabker](https://redirect.github.com/mbabker)! <br> #### Bugfixes 🐛 - \[BetterPhpDocParser] Keep import referenced by @&#8203;see/[@&#8203;uses](https://redirect.github.com/uses) tag with a trailing description ([#&#8203;8039](https://redirect.github.com/rectorphp/rector-src/pull/8039)), Thanks [@&#8203;ruudk](https://redirect.github.com/ruudk)! - \[internals] skip and finalize beforeTraverse() and afterTraverse() as never used, use refactor() instead ([#&#8203;7765](https://redirect.github.com/rectorphp/rector-src/pull/7765)) - \[DeadCode] Skip (void) cast with #\[NoDiscard] on target method call on RemoveDeadStmtRector ([#&#8203;8038](https://redirect.github.com/rectorphp/rector-src/pull/8038)) - Bump composer/pcre to ^3.4.0 and phpstan/phpstan to ^2.2.2 ([#&#8203;8037](https://redirect.github.com/rectorphp/rector-src/pull/8037)) - \[CodeQuality] Handle crash on custom exception not autoloaded on ThrowWithPreviousExceptionRector ([#&#8203;8036](https://redirect.github.com/rectorphp/rector-src/pull/8036)) - refactor: extract AutoloadFileParameterResolver from bin, add tests ([#&#8203;8035](https://redirect.github.com/rectorphp/rector-src/pull/8035)), Thanks [@&#8203;SanderMuller](https://redirect.github.com/SanderMuller)! - Fix cached results surviving a change of `--autoload-file` ([#&#8203;8034](https://redirect.github.com/rectorphp/rector-src/pull/8034)), Thanks [@&#8203;SanderMuller](https://redirect.github.com/SanderMuller)! - \[CodingStyle] Remove AstResolver usage on ArrowFunctionAndClosureFirstClassCallableGuard ([#&#8203;8031](https://redirect.github.com/rectorphp/rector-src/pull/8031)) - \[DeadCode] Remove AstResolver on RemoveParentCallWithoutParentRector ([#&#8203;8032](https://redirect.github.com/rectorphp/rector-src/pull/8032)) - \[DeadCode] Skip with use of func\_num\_args() on RemoveNullArgOnNullDefaultParamRector ([#&#8203;8030](https://redirect.github.com/rectorphp/rector-src/pull/8030)) - \[Php70] Skip rewriting to $this on static method or static closure on StaticCallOnNonStaticToInstanceCallRector ([#&#8203;8026](https://redirect.github.com/rectorphp/rector-src/pull/8026)) - \[ci] add compat test ([#&#8203;8025](https://redirect.github.com/rectorphp/rector-src/pull/8025)) - Fix ReplaceArgumentDefaultValueRector generating invalid self:: constant in unrelated classes ([#&#8203;8023](https://redirect.github.com/rectorphp/rector-src/pull/8023)) - Fix RemoveDeadIfBlockRector dropping else block when merging empty if with elseif ([#&#8203;8022](https://redirect.github.com/rectorphp/rector-src/pull/8022)) - Fix RemoveParentCallWithoutParentRector removing valid call when ancestor hierarchy is unresolvable ([#&#8203;8018](https://redirect.github.com/rectorphp/rector-src/pull/8018)) - split of RemoveNullNamedArgOnNullDefaultParamRector to handle only named args ([#&#8203;8014](https://redirect.github.com/rectorphp/rector-src/pull/8014)) - Add failing tests ([#&#8203;8012](https://redirect.github.com/rectorphp/rector-src/pull/8012)), Thanks [@&#8203;u01jmg3](https://redirect.github.com/u01jmg3)! - Update rector/swiss-knife version to ^2.4.1 ([#&#8203;8011](https://redirect.github.com/rectorphp/rector-src/pull/8011)) <br> #### rectorphp/rector-symfony 🎶 - \[Symfony81] Add new rule for deprecated validator test usages ([#&#8203;948](https://redirect.github.com/rectorphp/rector-symfony/pull/948)), Thanks [@&#8203;florianhofsaessC24](https://redirect.github.com/florianhofsaessC24)! - fix: only convert Twig extensions fully reducible to AsTwig attributes ([#&#8203;947](https://redirect.github.com/rectorphp/rector-symfony/pull/947)) - \[Symfony73] Sort optional parameters last in InvokableCommandInputAttributeRector ([#&#8203;945](https://redirect.github.com/rectorphp/rector-symfony/pull/945)) - Add PHPStan rule requiring nested set configs to be imported in parent set config ([#&#8203;943](https://redirect.github.com/rectorphp/rector-symfony/pull/943)) - \[Symfony81] Add new rule for Security component ([#&#8203;942](https://redirect.github.com/rectorphp/rector-symfony/pull/942)), Thanks [@&#8203;MrYamous](https://redirect.github.com/MrYamous)! - Remove unused imports ([#&#8203;941](https://redirect.github.com/rectorphp/rector-symfony/pull/941)), Thanks [@&#8203;MrYamous](https://redirect.github.com/MrYamous)! - \[Symfony81] Add new rule for Filesystem ([#&#8203;940](https://redirect.github.com/rectorphp/rector-symfony/pull/940)), Thanks [@&#8203;MrYamous](https://redirect.github.com/MrYamous)! <br> #### rectorphp/rector-phpunit 🟢 - \[PHPUnit12] Handle crash on property not exists on PropertyCreateMockToCreateStubRector ([#&#8203;681](https://redirect.github.com/rectorphp/rector-phpunit/pull/681)) - \[AnnotationsToAttributes] Convert external [@&#8203;depends](https://redirect.github.com/depends) ClassName::method to #\[DependsExternal] ([#&#8203;679](https://redirect.github.com/rectorphp/rector-phpunit/pull/679)) - \[PHPUnit12] Drop ConstraintValidatorTestCase from AllowMockObjectsWhereParentClassRector triggers ([#&#8203;678](https://redirect.github.com/rectorphp/rector-phpunit/pull/678)) <br> #### rectorphp/rector-downgrade-php ⬇️ - Add DowngradeDomNodeChildNodesForeachRector for null $childNodes before PHP 8.0 ([#&#8203;379](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/379)) - Update boundwize/structarmed version to ^0.9 ([#&#8203;378](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/378)) - Fix use of existing PhpAttributeAnalyzer service on AddReturnTypeWillChangeAttributeRector ([#&#8203;377](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/377)) - Remove no longer exists '--ansi' flag from swiss-knife ([#&#8203;376](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/376)) - \[DowngradePhp81] Add AddReturnTypeWillChangeAttributeRector ([#&#8203;372](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/372)), Thanks [@&#8203;jquiaios](https://redirect.github.com/jquiaios)! </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/Lendable/composer-license-checker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yMTkuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent b52c366 commit 486a40c

2 files changed

Lines changed: 121 additions & 51 deletions

File tree

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
"require-dev": {
1919
"ergebnis/composer-normalize": "^2.52.0",
2020
"lendable/phpunit-extensions": "^0.5",
21-
"php-cs-fixer/shim": "^3.95.4",
22-
"phpstan/phpstan": "^2.2.1",
21+
"php-cs-fixer/shim": "^3.95.10",
22+
"phpstan/phpstan": "^2.2.2",
2323
"phpstan/phpstan-deprecation-rules": "^2.0.4",
2424
"phpstan/phpstan-phpunit": "^2.0.16",
2525
"phpstan/phpstan-strict-rules": "^2.0.11",
26-
"phpunit/phpunit": "^13.1.14",
27-
"rector/rector": "^2.4.5",
26+
"phpunit/phpunit": "^13.2.1",
27+
"rector/rector": "^2.4.6",
2828
"symfony/filesystem": "^6.2"
2929
},
3030
"autoload": {

composer.lock

Lines changed: 117 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)