Skip to content

Commit

Permalink
chore(deps): update composer dev tooling dependencies (#353)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [php-cs-fixer/shim](https://togithub.com/PHP-CS-Fixer/shim) |
`^3.59.3` -> `^3.60.0` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/php-cs-fixer%2fshim/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/php-cs-fixer%2fshim/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/php-cs-fixer%2fshim/3.59.3/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/php-cs-fixer%2fshim/3.59.3/3.60.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [phpstan/phpstan](https://togithub.com/phpstan/phpstan) | `^1.11.7` ->
`^1.11.8` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpstan%2fphpstan/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpstan%2fphpstan/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpstan%2fphpstan/1.11.7/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpstan%2fphpstan/1.11.7/1.11.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [phpunit/phpunit](https://phpunit.de/)
([source](https://togithub.com/sebastianbergmann/phpunit)) | `^11.2.7`
-> `^11.2.8` |
[![age](https://developer.mend.io/api/mc/badges/age/packagist/phpunit%2fphpunit/11.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/phpunit%2fphpunit/11.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/phpunit%2fphpunit/11.2.7/11.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/phpunit%2fphpunit/11.2.7/11.2.8?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [rector/rector](https://getrector.org)
([source](https://togithub.com/rectorphp/rector)) | `^1.2.1` -> `^1.2.2`
|
[![age](https://developer.mend.io/api/mc/badges/age/packagist/rector%2frector/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/rector%2frector/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/rector%2frector/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/rector%2frector/1.2.1/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>PHP-CS-Fixer/shim (php-cs-fixer/shim)</summary>

###
[`v3.60.0`](https://togithub.com/PHP-CS-Fixer/shim/compare/v3.59.3...v3.60.0)

[Compare
Source](https://togithub.com/PHP-CS-Fixer/shim/compare/v3.59.3...v3.60.0)

</details>

<details>
<summary>phpstan/phpstan (phpstan/phpstan)</summary>

###
[`v1.11.8`](https://togithub.com/phpstan/phpstan/releases/tag/1.11.8)

[Compare
Source](https://togithub.com/phpstan/phpstan/compare/1.11.7...1.11.8)

# Bleeding edge 🔪

- Report useless return values of function calls like `var_export`
without `$return=true`
([#&#8203;3225](https://togithub.com/phpstan/phpstan-src/pull/3225)),
[#&#8203;11320](https://togithub.com/phpstan/phpstan/issues/11320),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Check mixed in binary operator
([#&#8203;3231](https://togithub.com/phpstan/phpstan-src/pull/3231)),
[#&#8203;7538](https://togithub.com/phpstan/phpstan/issues/7538),
[#&#8203;10440](https://togithub.com/phpstan/phpstan/issues/10440),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Check vprintf/vsprintf arguments against placeholder count
([#&#8203;3126](https://togithub.com/phpstan/phpstan-src/pull/3126)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Check mixed in unary operator
([#&#8203;3253](https://togithub.com/phpstan/phpstan-src/pull/3253)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Report "missing return" error closer to where the return is missing
(phpstan/phpstan-src@04f8636)
- Stricter ++/-- operator check
([#&#8203;3255](https://togithub.com/phpstan/phpstan-src/pull/3255)),
thanks [@&#8203;schlndh](https://togithub.com/schlndh)!
- Check preg_quote delimiter sanity
([#&#8203;3252](https://togithub.com/phpstan/phpstan-src/pull/3252)),
[#&#8203;11338](https://togithub.com/phpstan/phpstan/issues/11338),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

*If you want to see the shape of things to come and adopt bleeding edge
features early, you can include this config file in your project's
`phpstan.neon`:*

    includes:
    	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

*Of course, there are no backwards compatibility guarantees when you
include this file. The behaviour and reported errors can change in minor
versions with this file included. [Learn
more](https://phpstan.org/blog/what-is-bleeding-edge)*

# Improvements 🔧

-   Precise array shape for `$matches` from `preg_match()` improvements:
- RegexArrayShapeMatcher - trailling groups are not optional when
PREG_UNMATCHED_AS_NULL
([#&#8203;3219](https://togithub.com/phpstan/phpstan-src/pull/3219)),
[#&#8203;11311](https://togithub.com/phpstan/phpstan/issues/11311),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Fix preg_match named capturing groups
([#&#8203;3228](https://togithub.com/phpstan/phpstan-src/pull/3228)),
[#&#8203;11323](https://togithub.com/phpstan/phpstan/issues/11323),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- RegexArrayShapeMatcher - Fix optional groups with
PREG_UNMATCHED_AS_NULL
([#&#8203;3229](https://togithub.com/phpstan/phpstan-src/pull/3229)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Allow overriding the PHP 7.2 support for PREG_UNMATCHED_AS_NULL
([#&#8203;3226](https://togithub.com/phpstan/phpstan-src/pull/3226)),
thanks [@&#8203;Seldaek](https://togithub.com/Seldaek)!
- RegexArrayShapeMatcher - Fix PREG_UNMATCHED_AS_NULL with optional
leading groups
([#&#8203;3234](https://togithub.com/phpstan/phpstan-src/pull/3234)),
[#&#8203;11331](https://togithub.com/phpstan/phpstan/issues/11331),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- RegexArrayShapeMatcher - Support preg_quote()'d patterns
([#&#8203;3233](https://togithub.com/phpstan/phpstan-src/pull/3233)),
[#&#8203;11332](https://togithub.com/phpstan/phpstan/issues/11332),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- RegexArrayShapeMatcher - Fix PREG_UNMATCHED_AS_NULL with top level
alternation
([#&#8203;3238](https://togithub.com/phpstan/phpstan-src/pull/3238)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- RegexArrayShapeMatcher - More precise non-empty-string and
numeric-string
([#&#8203;3249](https://togithub.com/phpstan/phpstan-src/pull/3249)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Fix regex parsing by completing the grammar
([#&#8203;3244](https://togithub.com/phpstan/phpstan-src/pull/3244)),
thanks [@&#8203;Seldaek](https://togithub.com/Seldaek)!
- RegexArrayShapeMatcher - `(\d*)` can be empty-string
([#&#8203;3257](https://togithub.com/phpstan/phpstan-src/pull/3257)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Add `diagnose` command to run DiagnoseExtensions
(phpstan/phpstan-src@22c84d2)
- Diagnose extension: Info about extensions installed via
extension-installer
(phpstan/phpstan-src@db71f04)
- Diagnose extension - where is PHPStan running from
(phpstan/phpstan-src@76464ee)
- Parallel scheduler becomes DiagnoseExtension
(phpstan/phpstan-src@c7c9689)
- ResultCacheManager: output restore time in debug mode
([#&#8203;3224](https://togithub.com/phpstan/phpstan-src/pull/3224)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!
- Add hint as to what might be wrong when invalid identifiers are used
([#&#8203;3230](https://togithub.com/phpstan/phpstan-src/pull/3230)),
thanks [@&#8203;Seldaek](https://togithub.com/Seldaek)!
- Optimize array_map with many arrays
(phpstan/phpstan-src@09fbc92),
[#&#8203;11297](https://togithub.com/phpstan/phpstan/issues/11297)
- Improved `sprintf()` inference
([#&#8203;3232](https://togithub.com/phpstan/phpstan-src/pull/3232)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Print elapsed analysis time with `-v`
([#&#8203;3239](https://togithub.com/phpstan/phpstan-src/pull/3239),
[#&#8203;3242](https://togithub.com/phpstan/phpstan-src/pull/3242)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!
- More precise `sprintf()` format arg-based return type
([#&#8203;3192](https://togithub.com/phpstan/phpstan-src/pull/3192)),
[#&#8203;11248](https://togithub.com/phpstan/phpstan/issues/11248),
[#&#8203;10493](https://togithub.com/phpstan/phpstan/issues/10493),
thanks [@&#8203;staabm](https://togithub.com/staabm)!

# Bugfixes 🐛

- Fix return type of round/ceil/floor in non strict type environment
([#&#8203;3223](https://togithub.com/phpstan/phpstan-src/pull/3223)),
[#&#8203;11319](https://togithub.com/phpstan/phpstan/issues/11319),
thanks [@&#8203;BackEndTea](https://togithub.com/BackEndTea)!
- Fix statement analysis after early-terminating statements
([#&#8203;3227](https://togithub.com/phpstan/phpstan-src/pull/3227)),
[#&#8203;11179](https://togithub.com/phpstan/phpstan/issues/11179),
thanks [@&#8203;takaram](https://togithub.com/takaram)!
- Fix match of union of enums
(phpstan/phpstan-src@44e40f0),
[#&#8203;11313](https://togithub.com/phpstan/phpstan/issues/11313)
- Fix `pathinfo()` return type for union type flags
([#&#8203;3120](https://togithub.com/phpstan/phpstan-src/pull/3120)),
[#&#8203;10760](https://togithub.com/phpstan/phpstan/issues/10760),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Fix and simplify discovering composer autoloader project path
(phpstan/phpstan-src@2cc6cda)
- Ignore non-explicit NeverType in purity check
([#&#8203;3243](https://togithub.com/phpstan/phpstan-src/pull/3243)),
[#&#8203;11207](https://togithub.com/phpstan/phpstan/issues/11207),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Non-numeric strings in `pow()` lead to error
([#&#8203;2796](https://togithub.com/phpstan/phpstan-src/pull/2796)),
[#&#8203;10125](https://togithub.com/phpstan/phpstan/issues/10125),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Closure with by-ref parameter is impure
(phpstan/phpstan-src@f1abacd),
[#&#8203;11361](https://togithub.com/phpstan/phpstan/issues/11361)
- PathRoutingParser - check if the file is a symlink that might be in
analysed paths
(phpstan/phpstan-src@c9a6d2e),
[#&#8203;6585](https://togithub.com/phpstan/phpstan/issues/6585)

# Function signature fixes 🤖

- Fix new headers functions in php 8.4
([#&#8203;3221](https://togithub.com/phpstan/phpstan-src/pull/3221)),
thanks [@&#8203;Seldaek](https://togithub.com/Seldaek)!

# Internals 🔍

- Indicate file on TypeInferenceTestCase validation errors
([#&#8203;3166](https://togithub.com/phpstan/phpstan-src/pull/3166)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- nette/di - patch for PHP 8.4 support
(phpstan/phpstan-src@1245ea7)
- InternalError is part of `@api`
([#&#8203;3240](https://togithub.com/phpstan/phpstan-src/pull/3240)),
thanks [@&#8203;janedbal](https://togithub.com/janedbal)!
- Refactor RegexArrayShapeMatcher
([#&#8203;3248](https://togithub.com/phpstan/phpstan-src/pull/3248)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Refactor PrintfParametersRule
([#&#8203;3247](https://togithub.com/phpstan/phpstan-src/pull/3247)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Simplify RegularExpressionPatternRule
([#&#8203;3251](https://togithub.com/phpstan/phpstan-src/pull/3251)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Copy regex grammar from hoa/regex into the project
(phpstan/phpstan-src@bacb3c6)
- Apply Grammar.patch to reflect previous phpstan state
(phpstan/phpstan-src@e71cff4)
- ExecutionEndNode always has a statement
(phpstan/phpstan-src@27e0f91)
- Fix PHP_VERSION_ID comparison in test
([#&#8203;3254](https://togithub.com/phpstan/phpstan-src/pull/3254)),
thanks [@&#8203;staabm](https://togithub.com/staabm)!
- Apply the stricter signatures for PHP 8.0 after the basic ones for PHP
8.0
([#&#8203;3259](https://togithub.com/phpstan/phpstan-src/pull/3259)),
thanks [@&#8203;thg2k](https://togithub.com/thg2k)!
- Refactor function signature map files loading
([#&#8203;3262](https://togithub.com/phpstan/phpstan-src/pull/3262)),
thanks [@&#8203;thg2k](https://togithub.com/thg2k)!

</details>

<details>
<summary>sebastianbergmann/phpunit (phpunit/phpunit)</summary>

###
[`v11.2.8`](https://togithub.com/sebastianbergmann/phpunit/releases/tag/11.2.8):
PHPUnit 11.2.8

[Compare
Source](https://togithub.com/sebastianbergmann/phpunit/compare/11.2.7...11.2.8)

##### Fixed

-
[#&#8203;5898](https://togithub.com/sebastianbergmann/phpunit/issues/5898):
`Test\Passed` event is not emitted for PHPT tests
-   `--coverage-filter` CLI option could not be used multiple times

***

[How to install or update
PHPUnit](https://docs.phpunit.de/en/11.2/installation.html)

</details>

<details>
<summary>rectorphp/rector (rector/rector)</summary>

###
[`v1.2.2`](https://togithub.com/rectorphp/rector/compare/1.2.1...1.2.2)

[Compare
Source](https://togithub.com/rectorphp/rector/compare/1.2.1...1.2.2)

</details>

---

### Configuration

📅 **Schedule**: 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://togithub.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://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/Lendable/composer-license-checker).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marcin Michalski <[email protected]>
  • Loading branch information
renovate[bot] and marmichalski authored Jul 26, 2024
1 parent 2a6a4aa commit 5372bc4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 28 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"require-dev": {
"ergebnis/composer-normalize": "^2.43.0",
"lendable/phpunit-extensions": "^0.3",
"php-cs-fixer/shim": "^3.59.3",
"phpstan/phpstan": "^1.11.7",
"php-cs-fixer/shim": "^3.60.0",
"phpstan/phpstan": "^1.11.8",
"phpstan/phpstan-deprecation-rules": "^1.2.0",
"phpstan/phpstan-phpunit": "^1.4.0",
"phpstan/phpstan-strict-rules": "^1.6.0",
"phpunit/phpunit": "^11.2.7",
"rector/rector": "^1.2.1",
"phpunit/phpunit": "^11.2.8",
"rector/rector": "^1.2.2",
"symfony/filesystem": "^6.2"
},
"autoload": {
Expand Down
48 changes: 24 additions & 24 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ private function setUpTemporaryProjectWithInstalledJson(string|array $data): voi
$attempts = 0;

do {
/** @var non-empty-string $projectPath */
$projectPath = \sprintf(
'%s%s%s',
$tempDir,
Expand Down

0 comments on commit 5372bc4

Please sign in to comment.