From 5372bc40a7371ee47bc48d0e65c89e93b0c5b165 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 20:44:17 +0000 Subject: [PATCH] chore(deps): update composer dev tooling dependencies (#353) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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
PHP-CS-Fixer/shim (php-cs-fixer/shim) ### [`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)
phpstan/phpstan (phpstan/phpstan) ### [`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` ([#​3225](https://togithub.com/phpstan/phpstan-src/pull/3225)), [#​11320](https://togithub.com/phpstan/phpstan/issues/11320), thanks [@​staabm](https://togithub.com/staabm)! - Check mixed in binary operator ([#​3231](https://togithub.com/phpstan/phpstan-src/pull/3231)), [#​7538](https://togithub.com/phpstan/phpstan/issues/7538), [#​10440](https://togithub.com/phpstan/phpstan/issues/10440), thanks [@​schlndh](https://togithub.com/schlndh)! - Check vprintf/vsprintf arguments against placeholder count ([#​3126](https://togithub.com/phpstan/phpstan-src/pull/3126)), thanks [@​staabm](https://togithub.com/staabm)! - Check mixed in unary operator ([#​3253](https://togithub.com/phpstan/phpstan-src/pull/3253)), thanks [@​schlndh](https://togithub.com/schlndh)! - Report "missing return" error closer to where the return is missing (https://github.com/phpstan/phpstan-src/commit/04f8636e6577cbcaefc944725eed74c0d7865ead) - Stricter ++/-- operator check ([#​3255](https://togithub.com/phpstan/phpstan-src/pull/3255)), thanks [@​schlndh](https://togithub.com/schlndh)! - Check preg_quote delimiter sanity ([#​3252](https://togithub.com/phpstan/phpstan-src/pull/3252)), [#​11338](https://togithub.com/phpstan/phpstan/issues/11338), thanks [@​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 ([#​3219](https://togithub.com/phpstan/phpstan-src/pull/3219)), [#​11311](https://togithub.com/phpstan/phpstan/issues/11311), thanks [@​staabm](https://togithub.com/staabm)! - Fix preg_match named capturing groups ([#​3228](https://togithub.com/phpstan/phpstan-src/pull/3228)), [#​11323](https://togithub.com/phpstan/phpstan/issues/11323), thanks [@​staabm](https://togithub.com/staabm)! - RegexArrayShapeMatcher - Fix optional groups with PREG_UNMATCHED_AS_NULL ([#​3229](https://togithub.com/phpstan/phpstan-src/pull/3229)), thanks [@​staabm](https://togithub.com/staabm)! - Allow overriding the PHP 7.2 support for PREG_UNMATCHED_AS_NULL ([#​3226](https://togithub.com/phpstan/phpstan-src/pull/3226)), thanks [@​Seldaek](https://togithub.com/Seldaek)! - RegexArrayShapeMatcher - Fix PREG_UNMATCHED_AS_NULL with optional leading groups ([#​3234](https://togithub.com/phpstan/phpstan-src/pull/3234)), [#​11331](https://togithub.com/phpstan/phpstan/issues/11331), thanks [@​staabm](https://togithub.com/staabm)! - RegexArrayShapeMatcher - Support preg_quote()'d patterns ([#​3233](https://togithub.com/phpstan/phpstan-src/pull/3233)), [#​11332](https://togithub.com/phpstan/phpstan/issues/11332), thanks [@​staabm](https://togithub.com/staabm)! - RegexArrayShapeMatcher - Fix PREG_UNMATCHED_AS_NULL with top level alternation ([#​3238](https://togithub.com/phpstan/phpstan-src/pull/3238)), thanks [@​staabm](https://togithub.com/staabm)! - RegexArrayShapeMatcher - More precise non-empty-string and numeric-string ([#​3249](https://togithub.com/phpstan/phpstan-src/pull/3249)), thanks [@​staabm](https://togithub.com/staabm)! - Fix regex parsing by completing the grammar ([#​3244](https://togithub.com/phpstan/phpstan-src/pull/3244)), thanks [@​Seldaek](https://togithub.com/Seldaek)! - RegexArrayShapeMatcher - `(\d*)` can be empty-string ([#​3257](https://togithub.com/phpstan/phpstan-src/pull/3257)), thanks [@​staabm](https://togithub.com/staabm)! - Add `diagnose` command to run DiagnoseExtensions (https://github.com/phpstan/phpstan-src/commit/22c84d2e64dd30780c995d8a720a487bb484dc02) - Diagnose extension: Info about extensions installed via extension-installer (https://github.com/phpstan/phpstan-src/commit/db71f04aa14f5be6421e92d7b76031605de5ad80) - Diagnose extension - where is PHPStan running from (https://github.com/phpstan/phpstan-src/commit/76464eed45dee10154cb25b9f05586c346046adc) - Parallel scheduler becomes DiagnoseExtension (https://github.com/phpstan/phpstan-src/commit/c7c9689cd86a9811eeaa2bb365ab5bc302109802) - ResultCacheManager: output restore time in debug mode ([#​3224](https://togithub.com/phpstan/phpstan-src/pull/3224)), thanks [@​janedbal](https://togithub.com/janedbal)! - Add hint as to what might be wrong when invalid identifiers are used ([#​3230](https://togithub.com/phpstan/phpstan-src/pull/3230)), thanks [@​Seldaek](https://togithub.com/Seldaek)! - Optimize array_map with many arrays (https://github.com/phpstan/phpstan-src/commit/09fbc92c415a2b9789463b3ca8fa7c73cc3475bd), [#​11297](https://togithub.com/phpstan/phpstan/issues/11297) - Improved `sprintf()` inference ([#​3232](https://togithub.com/phpstan/phpstan-src/pull/3232)), thanks [@​staabm](https://togithub.com/staabm)! - Print elapsed analysis time with `-v` ([#​3239](https://togithub.com/phpstan/phpstan-src/pull/3239), [#​3242](https://togithub.com/phpstan/phpstan-src/pull/3242)), thanks [@​janedbal](https://togithub.com/janedbal)! - More precise `sprintf()` format arg-based return type ([#​3192](https://togithub.com/phpstan/phpstan-src/pull/3192)), [#​11248](https://togithub.com/phpstan/phpstan/issues/11248), [#​10493](https://togithub.com/phpstan/phpstan/issues/10493), thanks [@​staabm](https://togithub.com/staabm)! # Bugfixes 🐛 - Fix return type of round/ceil/floor in non strict type environment ([#​3223](https://togithub.com/phpstan/phpstan-src/pull/3223)), [#​11319](https://togithub.com/phpstan/phpstan/issues/11319), thanks [@​BackEndTea](https://togithub.com/BackEndTea)! - Fix statement analysis after early-terminating statements ([#​3227](https://togithub.com/phpstan/phpstan-src/pull/3227)), [#​11179](https://togithub.com/phpstan/phpstan/issues/11179), thanks [@​takaram](https://togithub.com/takaram)! - Fix match of union of enums (https://github.com/phpstan/phpstan-src/commit/44e40f054569f3eeed81280bf0d2f50659fb1056), [#​11313](https://togithub.com/phpstan/phpstan/issues/11313) - Fix `pathinfo()` return type for union type flags ([#​3120](https://togithub.com/phpstan/phpstan-src/pull/3120)), [#​10760](https://togithub.com/phpstan/phpstan/issues/10760), thanks [@​staabm](https://togithub.com/staabm)! - Fix and simplify discovering composer autoloader project path (https://github.com/phpstan/phpstan-src/commit/2cc6cda6969a63267e70c2074efa0477b69c9083) - Ignore non-explicit NeverType in purity check ([#​3243](https://togithub.com/phpstan/phpstan-src/pull/3243)), [#​11207](https://togithub.com/phpstan/phpstan/issues/11207), thanks [@​staabm](https://togithub.com/staabm)! - Non-numeric strings in `pow()` lead to error ([#​2796](https://togithub.com/phpstan/phpstan-src/pull/2796)), [#​10125](https://togithub.com/phpstan/phpstan/issues/10125), thanks [@​staabm](https://togithub.com/staabm)! - Closure with by-ref parameter is impure (https://github.com/phpstan/phpstan-src/commit/f1abacddb3787ce279e51b1f88f1543d52b9759c), [#​11361](https://togithub.com/phpstan/phpstan/issues/11361) - PathRoutingParser - check if the file is a symlink that might be in analysed paths (https://github.com/phpstan/phpstan-src/commit/c9a6d2e61edfad189a765df3c3a06674a10d4fb5), [#​6585](https://togithub.com/phpstan/phpstan/issues/6585) # Function signature fixes 🤖 - Fix new headers functions in php 8.4 ([#​3221](https://togithub.com/phpstan/phpstan-src/pull/3221)), thanks [@​Seldaek](https://togithub.com/Seldaek)! # Internals 🔍 - Indicate file on TypeInferenceTestCase validation errors ([#​3166](https://togithub.com/phpstan/phpstan-src/pull/3166)), thanks [@​staabm](https://togithub.com/staabm)! - nette/di - patch for PHP 8.4 support (https://github.com/phpstan/phpstan-src/commit/1245ea73e5a24aefc4fac87ebe73d9720deac7c9) - InternalError is part of `@api` ([#​3240](https://togithub.com/phpstan/phpstan-src/pull/3240)), thanks [@​janedbal](https://togithub.com/janedbal)! - Refactor RegexArrayShapeMatcher ([#​3248](https://togithub.com/phpstan/phpstan-src/pull/3248)), thanks [@​staabm](https://togithub.com/staabm)! - Refactor PrintfParametersRule ([#​3247](https://togithub.com/phpstan/phpstan-src/pull/3247)), thanks [@​staabm](https://togithub.com/staabm)! - Simplify RegularExpressionPatternRule ([#​3251](https://togithub.com/phpstan/phpstan-src/pull/3251)), thanks [@​staabm](https://togithub.com/staabm)! - Copy regex grammar from hoa/regex into the project (https://github.com/phpstan/phpstan-src/commit/bacb3c6d11edb5f30176e70ade6e72ac4f2e23dd) - Apply Grammar.patch to reflect previous phpstan state (https://github.com/phpstan/phpstan-src/commit/e71cff468aa4695e9bfa09d01e0ec5194890e7f1) - ExecutionEndNode always has a statement (https://github.com/phpstan/phpstan-src/commit/27e0f91efad4c9fcacae98b2e3394c069e9e5095) - Fix PHP_VERSION_ID comparison in test ([#​3254](https://togithub.com/phpstan/phpstan-src/pull/3254)), thanks [@​staabm](https://togithub.com/staabm)! - Apply the stricter signatures for PHP 8.0 after the basic ones for PHP 8.0 ([#​3259](https://togithub.com/phpstan/phpstan-src/pull/3259)), thanks [@​thg2k](https://togithub.com/thg2k)! - Refactor function signature map files loading ([#​3262](https://togithub.com/phpstan/phpstan-src/pull/3262)), thanks [@​thg2k](https://togithub.com/thg2k)!
sebastianbergmann/phpunit (phpunit/phpunit) ### [`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 - [#​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)
rectorphp/rector (rector/rector) ### [`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)
--- ### 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. --- - [ ] 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). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcin Michalski --- composer.json | 8 ++-- composer.lock | 48 +++++++++---------- ...poserInstalledJsonPackagesProviderTest.php | 1 + 3 files changed, 29 insertions(+), 28 deletions(-) diff --git a/composer.json b/composer.json index 1db7f56c..ec4c91a2 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/composer.lock b/composer.lock index b5d8f47b..f8049787 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f904593a962d9d3a8f939b28d973a79c", + "content-hash": "77847f63126a06f03bd3b381fc3728da", "packages": [ { "name": "psr/container", @@ -1598,16 +1598,16 @@ }, { "name": "php-cs-fixer/shim", - "version": "v3.59.3", + "version": "v3.60.0", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/shim.git", - "reference": "c855876e64de3431bc9279f27af7be40d11d7613" + "reference": "11f328afa9768eed89bacffab02f56263185058c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/c855876e64de3431bc9279f27af7be40d11d7613", - "reference": "c855876e64de3431bc9279f27af7be40d11d7613", + "url": "https://api.github.com/repos/PHP-CS-Fixer/shim/zipball/11f328afa9768eed89bacffab02f56263185058c", + "reference": "11f328afa9768eed89bacffab02f56263185058c", "shasum": "" }, "require": { @@ -1644,22 +1644,22 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/PHP-CS-Fixer/shim/issues", - "source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.59.3" + "source": "https://github.com/PHP-CS-Fixer/shim/tree/v3.60.0" }, - "time": "2024-06-16T14:17:34+00:00" + "time": "2024-07-25T09:27:32+00:00" }, { "name": "phpstan/phpstan", - "version": "1.11.7", + "version": "1.11.8", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "52d2bbfdcae7f895915629e4694e9497d0f8e28d" + "reference": "6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/52d2bbfdcae7f895915629e4694e9497d0f8e28d", - "reference": "52d2bbfdcae7f895915629e4694e9497d0f8e28d", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec", + "reference": "6adbd118e6c0515dd2f36b06cde1d6da40f1b8ec", "shasum": "" }, "require": { @@ -1704,7 +1704,7 @@ "type": "github" } ], - "time": "2024-07-06T11:17:41+00:00" + "time": "2024-07-24T07:01:22+00:00" }, { "name": "phpstan/phpstan-deprecation-rules", @@ -2179,16 +2179,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.2.7", + "version": "11.2.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "15c7e69dec4a8f246840859e6b430bd2abeb5039" + "reference": "a7a29e8d3113806f18f99d670f580a30e8ffff39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/15c7e69dec4a8f246840859e6b430bd2abeb5039", - "reference": "15c7e69dec4a8f246840859e6b430bd2abeb5039", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a7a29e8d3113806f18f99d670f580a30e8ffff39", + "reference": "a7a29e8d3113806f18f99d670f580a30e8ffff39", "shasum": "" }, "require": { @@ -2259,7 +2259,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.2.7" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.2.8" }, "funding": [ { @@ -2275,20 +2275,20 @@ "type": "tidelift" } ], - "time": "2024-07-10T11:50:09+00:00" + "time": "2024-07-18T14:56:37+00:00" }, { "name": "rector/rector", - "version": "1.2.1", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "b38a3eed3ce2046f40c001255e2fec9d2746bacf" + "reference": "044e6364017882d1e346da8690eeabc154da5495" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/b38a3eed3ce2046f40c001255e2fec9d2746bacf", - "reference": "b38a3eed3ce2046f40c001255e2fec9d2746bacf", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/044e6364017882d1e346da8690eeabc154da5495", + "reference": "044e6364017882d1e346da8690eeabc154da5495", "shasum": "" }, "require": { @@ -2326,7 +2326,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/1.2.1" + "source": "https://github.com/rectorphp/rector/tree/1.2.2" }, "funding": [ { @@ -2334,7 +2334,7 @@ "type": "github" } ], - "time": "2024-07-16T00:22:54+00:00" + "time": "2024-07-25T07:44:34+00:00" }, { "name": "sebastian/cli-parser", diff --git a/tests/unit/PackagesProvider/ComposerInstalledJsonPackagesProviderTest.php b/tests/unit/PackagesProvider/ComposerInstalledJsonPackagesProviderTest.php index a829c448..3a6dc787 100644 --- a/tests/unit/PackagesProvider/ComposerInstalledJsonPackagesProviderTest.php +++ b/tests/unit/PackagesProvider/ComposerInstalledJsonPackagesProviderTest.php @@ -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,