Commit 486a40c
authored
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` |

|

|
|
[phpstan/phpstan](https://redirect.github.com/phpstan/phpstan-phar-composer-source)
| `^2.2.1` → `^2.2.2` |

|

|
| [phpunit/phpunit](https://phpunit.de/)
([source](https://redirect.github.com/sebastianbergmann/phpunit)) |
`^13.1.14` → `^13.2.1` |

|

|
| [rector/rector](https://getrector.com/)
([source](https://redirect.github.com/rectorphp/rector)) | `^2.4.5` →
`^2.4.6` |

|

|
---
### 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
-
[#​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
-
[#​6743](https://redirect.github.com/sebastianbergmann/phpunit/issues/6743):
Improve error message for invalid version constraint in attribute
-
[#​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
[@​phpunit@phpc.social](https://phpc.social/@​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
-
[#​3387](https://redirect.github.com/sebastianbergmann/phpunit/issues/3387):
Specify a list of tests to run
-
[#​4201](https://redirect.github.com/sebastianbergmann/phpunit/issues/4201):
Handle interrupts and display current test results
-
[#​4501](https://redirect.github.com/sebastianbergmann/phpunit/issues/4501):
Option to mark test as risky when it does not contribute to code
coverage
-
[#​5757](https://redirect.github.com/sebastianbergmann/phpunit/issues/5757):
Add assertions for ignoring whitespace differences in strings
-
[#​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
-
[#​5838](https://redirect.github.com/sebastianbergmann/phpunit/issues/5838):
Inherit `#[RunTestsInSeparateProcesses]` from parent test classes
-
[#​5922](https://redirect.github.com/sebastianbergmann/phpunit/issues/5922):
`assertContainsEquals()` should use `sebastian/comparator` for element
comparison
-
[#​6000](https://redirect.github.com/sebastianbergmann/phpunit/issues/6000):
Report PHPT test as risky when `--SKIPIF--` does not have
standard-output side effect
-
[#​6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075):
Support test execution order sorted by descending duration
-
[#​6346](https://redirect.github.com/sebastianbergmann/phpunit/issues/6346):
Emit warning when conflicting CLI options are used
-
[#​6534](https://redirect.github.com/sebastianbergmann/phpunit/issues/6534):
Make `$_dataName` available to `#[TestDoxFormatter]` callbacks
-
[#​6559](https://redirect.github.com/sebastianbergmann/phpunit/issues/6559):
Improved API for exception message expectations
-
[#​6565](https://redirect.github.com/sebastianbergmann/phpunit/pull/6565):
Optional `$skipWhenEmpty` parameter for `#[DataProvider]` and
`#[DataProviderExternal]`
-
[#​6566](https://redirect.github.com/sebastianbergmann/phpunit/pull/6566):
Allow `--stop-on-defect`, `--stop-on-error`, etc. to accept an optional
threshold
-
[#​6567](https://redirect.github.com/sebastianbergmann/phpunit/issues/6567):
Make diff context lines configurable
-
[#​6574](https://redirect.github.com/sebastianbergmann/phpunit/issues/6574):
Improve `willReturnMap()` with constraint support and strict matching
-
[#​6575](https://redirect.github.com/sebastianbergmann/phpunit/issues/6575):
`--list-test-ids` CLI option and enhance `--filter` CLI option to
support test ID syntax
-
[#​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
-
[#​6579](https://redirect.github.com/sebastianbergmann/phpunit/pull/6579):
Properly handle issues triggered outside of tests
-
[#​6597](https://redirect.github.com/sebastianbergmann/phpunit/pull/6597):
Compact output (activated through `--compact` CLI option and
`PHPUNIT_COMPACT_OUTPUT=1` environment variable)
-
[#​6598](https://redirect.github.com/sebastianbergmann/phpunit/pull/6598):
`--disable-coverage-targeting` CLI option
-
[#​6602](https://redirect.github.com/sebastianbergmann/phpunit/pull/6602):
Separate configuration for branch coverage from path coverage
-
[#​6606](https://redirect.github.com/sebastianbergmann/phpunit/pull/6606):
Support for partially ordered parameter sets in mock object expectations
-
[#​6611](https://redirect.github.com/sebastianbergmann/phpunit/pull/6611):
Add CPU time to telemetry
-
[#​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
-
[#​5873](https://redirect.github.com/sebastianbergmann/phpunit/issues/5873):
Chain previously registered error handler instead of silently disabling
PHPUnit's error handling
-
[#​6535](https://redirect.github.com/sebastianbergmann/phpunit/pull/6535):
Use `sebastian/file-filter` in `SourceFilter::includes()` for issue
trigger identification
-
[#​6581](https://redirect.github.com/sebastianbergmann/phpunit/issues/6581):
Allow `#[IgnoreDeprecations]` to be repeated
-
[#​6609](https://redirect.github.com/sebastianbergmann/phpunit/pull/6609):
Skip data providers whose method cannot match `--filter`
-
[#​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
-
[#​6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075):
`--order-by duration` CLI option, use `--order-by duration-ascending`
instead
-
[#​6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075):
`--order-by size` CLI option, use `--order-by size-ascending` instead
-
[#​6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075):
`executionOrder="duration"` XML configuration attribute value, use
`executionOrder="duration-ascending"` instead
-
[#​6075](https://redirect.github.com/sebastianbergmann/phpunit/issues/6075):
`executionOrder="size"` XML configuration attribute value, use
`executionOrder="size-ascending"` instead
-
[#​6560](https://redirect.github.com/sebastianbergmann/phpunit/issues/6560):
Soft-deprecate `expectExceptionMessage()`, use
`expectExceptionMessageIsOrContains()` instead
##### Fixed
-
[#​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
-
[#​5851](https://redirect.github.com/sebastianbergmann/phpunit/issues/5851):
Output buffer manipulation in tests causes incorrect capture, hangs, and
silent failures
-
[#​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
[@​phpunit@phpc.social](https://phpc.social/@​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 [@​deprecated](https://redirect.github.com/deprecated)
docblock
([#​8015](https://redirect.github.com/rectorphp/rector-src/pull/8015))
- \[sets] kick of named args set
([#​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
([#​8019](https://redirect.github.com/rectorphp/rector-src/pull/8019)),
Thanks [@​mbabker](https://redirect.github.com/mbabker)!
<br>
#### Bugfixes 🐛
- \[BetterPhpDocParser] Keep import referenced by
@​see/[@​uses](https://redirect.github.com/uses) tag with a
trailing description
([#​8039](https://redirect.github.com/rectorphp/rector-src/pull/8039)),
Thanks [@​ruudk](https://redirect.github.com/ruudk)!
- \[internals] skip and finalize beforeTraverse() and afterTraverse() as
never used, use refactor() instead
([#​7765](https://redirect.github.com/rectorphp/rector-src/pull/7765))
- \[DeadCode] Skip (void) cast with #\[NoDiscard] on target method call
on RemoveDeadStmtRector
([#​8038](https://redirect.github.com/rectorphp/rector-src/pull/8038))
- Bump composer/pcre to ^3.4.0 and phpstan/phpstan to ^2.2.2
([#​8037](https://redirect.github.com/rectorphp/rector-src/pull/8037))
- \[CodeQuality] Handle crash on custom exception not autoloaded on
ThrowWithPreviousExceptionRector
([#​8036](https://redirect.github.com/rectorphp/rector-src/pull/8036))
- refactor: extract AutoloadFileParameterResolver from bin, add tests
([#​8035](https://redirect.github.com/rectorphp/rector-src/pull/8035)),
Thanks [@​SanderMuller](https://redirect.github.com/SanderMuller)!
- Fix cached results surviving a change of `--autoload-file`
([#​8034](https://redirect.github.com/rectorphp/rector-src/pull/8034)),
Thanks [@​SanderMuller](https://redirect.github.com/SanderMuller)!
- \[CodingStyle] Remove AstResolver usage on
ArrowFunctionAndClosureFirstClassCallableGuard
([#​8031](https://redirect.github.com/rectorphp/rector-src/pull/8031))
- \[DeadCode] Remove AstResolver on RemoveParentCallWithoutParentRector
([#​8032](https://redirect.github.com/rectorphp/rector-src/pull/8032))
- \[DeadCode] Skip with use of func\_num\_args() on
RemoveNullArgOnNullDefaultParamRector
([#​8030](https://redirect.github.com/rectorphp/rector-src/pull/8030))
- \[Php70] Skip rewriting to $this on static method or static closure on
StaticCallOnNonStaticToInstanceCallRector
([#​8026](https://redirect.github.com/rectorphp/rector-src/pull/8026))
- \[ci] add compat test
([#​8025](https://redirect.github.com/rectorphp/rector-src/pull/8025))
- Fix ReplaceArgumentDefaultValueRector generating invalid self::
constant in unrelated classes
([#​8023](https://redirect.github.com/rectorphp/rector-src/pull/8023))
- Fix RemoveDeadIfBlockRector dropping else block when merging empty if
with elseif
([#​8022](https://redirect.github.com/rectorphp/rector-src/pull/8022))
- Fix RemoveParentCallWithoutParentRector removing valid call when
ancestor hierarchy is unresolvable
([#​8018](https://redirect.github.com/rectorphp/rector-src/pull/8018))
- split of RemoveNullNamedArgOnNullDefaultParamRector to handle only
named args
([#​8014](https://redirect.github.com/rectorphp/rector-src/pull/8014))
- Add failing tests
([#​8012](https://redirect.github.com/rectorphp/rector-src/pull/8012)),
Thanks [@​u01jmg3](https://redirect.github.com/u01jmg3)!
- Update rector/swiss-knife version to ^2.4.1
([#​8011](https://redirect.github.com/rectorphp/rector-src/pull/8011))
<br>
#### rectorphp/rector-symfony 🎶
- \[Symfony81] Add new rule for deprecated validator test usages
([#​948](https://redirect.github.com/rectorphp/rector-symfony/pull/948)),
Thanks
[@​florianhofsaessC24](https://redirect.github.com/florianhofsaessC24)!
- fix: only convert Twig extensions fully reducible to AsTwig attributes
([#​947](https://redirect.github.com/rectorphp/rector-symfony/pull/947))
- \[Symfony73] Sort optional parameters last in
InvokableCommandInputAttributeRector
([#​945](https://redirect.github.com/rectorphp/rector-symfony/pull/945))
- Add PHPStan rule requiring nested set configs to be imported in parent
set config
([#​943](https://redirect.github.com/rectorphp/rector-symfony/pull/943))
- \[Symfony81] Add new rule for Security component
([#​942](https://redirect.github.com/rectorphp/rector-symfony/pull/942)),
Thanks [@​MrYamous](https://redirect.github.com/MrYamous)!
- Remove unused imports
([#​941](https://redirect.github.com/rectorphp/rector-symfony/pull/941)),
Thanks [@​MrYamous](https://redirect.github.com/MrYamous)!
- \[Symfony81] Add new rule for Filesystem
([#​940](https://redirect.github.com/rectorphp/rector-symfony/pull/940)),
Thanks [@​MrYamous](https://redirect.github.com/MrYamous)!
<br>
#### rectorphp/rector-phpunit 🟢
- \[PHPUnit12] Handle crash on property not exists on
PropertyCreateMockToCreateStubRector
([#​681](https://redirect.github.com/rectorphp/rector-phpunit/pull/681))
- \[AnnotationsToAttributes] Convert external
[@​depends](https://redirect.github.com/depends) ClassName::method
to #\[DependsExternal]
([#​679](https://redirect.github.com/rectorphp/rector-phpunit/pull/679))
- \[PHPUnit12] Drop ConstraintValidatorTestCase from
AllowMockObjectsWhereParentClassRector triggers
([#​678](https://redirect.github.com/rectorphp/rector-phpunit/pull/678))
<br>
#### rectorphp/rector-downgrade-php ⬇️
- Add DowngradeDomNodeChildNodesForeachRector for null $childNodes
before PHP 8.0
([#​379](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/379))
- Update boundwize/structarmed version to ^0.9
([#​378](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/378))
- Fix use of existing PhpAttributeAnalyzer service on
AddReturnTypeWillChangeAttributeRector
([#​377](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/377))
- Remove no longer exists '--ansi' flag from swiss-knife
([#​376](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/376))
- \[DowngradePhp81] Add AddReturnTypeWillChangeAttributeRector
([#​372](https://redirect.github.com/rectorphp/rector-downgrade-php/pull/372)),
Thanks [@​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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments