From 93c2c10cc6c3bba353bd4bbfef4a18594bd2d3b1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 1 Jul 2026 11:14:34 +0000 Subject: [PATCH] Update all non-major dependencies | datasource | package | from | to | | ---------- | ----------------------- | ------ | ------ | | packagist | phpstan/phpstan | 2.2.2 | 2.2.3 | | packagist | phpstan/phpstan-phpunit | 2.0.16 | 2.0.17 | --- src/Reflection/ReflectionMethod.php | 2 - src/Reflection/ReflectionProperty.php | 4 -- tools/composer.json | 4 +- tools/composer.lock | 79 ++++++++++++++++++++++----- 4 files changed, 68 insertions(+), 21 deletions(-) diff --git a/src/Reflection/ReflectionMethod.php b/src/Reflection/ReflectionMethod.php index 9fdd7ed0d..a570ccd6b 100644 --- a/src/Reflection/ReflectionMethod.php +++ b/src/Reflection/ReflectionMethod.php @@ -503,7 +503,6 @@ private function callStaticMethod(array $args): mixed /** @psalm-suppress InvalidStringClass */ $closure = Closure::bind(fn (string $implementingClassName, string $_methodName, array $methodArgs): mixed => $implementingClassName::{$_methodName}(...$methodArgs), null, $implementingClassName); - /** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */ assert($closure instanceof Closure); return $closure->__invoke($implementingClassName, $this->getName(), $args); @@ -515,7 +514,6 @@ private function callObjectMethod(object $object, array $args): mixed /** @psalm-suppress MixedMethodCall */ $closure = Closure::bind(fn (object $object, string $methodName, array $methodArgs): mixed => $object->{$methodName}(...$methodArgs), $object, $this->getImplementingClass()->getName()); - /** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */ assert($closure instanceof Closure); return $closure->__invoke($object, $this->getName(), $args); diff --git a/src/Reflection/ReflectionProperty.php b/src/Reflection/ReflectionProperty.php index 671d139a2..6fec1934e 100644 --- a/src/Reflection/ReflectionProperty.php +++ b/src/Reflection/ReflectionProperty.php @@ -500,7 +500,6 @@ public function getValue(object|null $object = null): mixed $closure = Closure::bind(fn (string $implementingClassName, string $propertyName): mixed => $implementingClassName::${$propertyName}, null, $implementingClassName); - /** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */ assert($closure instanceof Closure); return $closure->__invoke($implementingClassName, $this->getName()); @@ -510,7 +509,6 @@ public function getValue(object|null $object = null): mixed $closure = Closure::bind(fn (object $instance, string $propertyName): mixed => $instance->{$propertyName}, $instance, $implementingClassName); - /** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */ assert($closure instanceof Closure); return $closure->__invoke($instance, $this->getName()); @@ -534,7 +532,6 @@ public function setValue(mixed $object, mixed $value = null): void $_implementingClassName::${$_propertyName} = $value; }, null, $implementingClassName); - /** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */ assert($closure instanceof Closure); $closure->__invoke($implementingClassName, $this->getName(), func_num_args() === 2 ? $value : $object); @@ -548,7 +545,6 @@ public function setValue(mixed $object, mixed $value = null): void $instance->{$propertyName} = $value; }, $instance, $implementingClassName); - /** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */ assert($closure instanceof Closure); $closure->__invoke($instance, $this->getName(), $value); diff --git a/tools/composer.json b/tools/composer.json index 3ac1035cb..f510979e2 100644 --- a/tools/composer.json +++ b/tools/composer.json @@ -2,8 +2,8 @@ "require": { "doctrine/coding-standard": "^14.0.0", "infection/infection": "^0.34.0", - "phpstan/phpstan": "^2.2.2", - "phpstan/phpstan-phpunit": "^2.0.16", + "phpstan/phpstan": "^2.2.3", + "phpstan/phpstan-phpunit": "^2.0.17", "vimeo/psalm": "^6.16.1", "roave/backward-compatibility-check": "^8.21.0" }, diff --git a/tools/composer.lock b/tools/composer.lock index dbab8cfad..2ac11ad17 100644 --- a/tools/composer.lock +++ b/tools/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": "be4491700191f9d569041e48a128fc02", + "content-hash": "29cdcb835b918b43690b8faba88bb4cc", "packages": [ { "name": "amphp/amp", @@ -3159,6 +3159,57 @@ }, "time": "2024-03-12T13:22:30+00:00" }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, { "name": "php-standard-library/async", "version": "6.2.1", @@ -5197,11 +5248,11 @@ }, { "name": "phpstan/phpstan", - "version": "2.2.2", + "version": "2.2.3", "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e5cc34d491a90e79c216d824f60fe21fd4d93bd6", - "reference": "e5cc34d491a90e79c216d824f60fe21fd4d93bd6", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/4048833dd47b377287818841877fb3087289509c", + "reference": "4048833dd47b377287818841877fb3087289509c", "shasum": "" }, "require": { @@ -5257,25 +5308,26 @@ "type": "github" } ], - "time": "2026-06-05T09:00:01+00:00" + "time": "2026-06-30T21:15:26+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "2.0.16", + "version": "2.0.17", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32" + "reference": "c2f977551f0736d60467b3d754b2e0cf4e337b3f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/6ab598e1bc106e6827fd346ae4a12b4a5d634c32", - "reference": "6ab598e1bc106e6827fd346ae4a12b4a5d634c32", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/c2f977551f0736d60467b3d754b2e0cf4e337b3f", + "reference": "c2f977551f0736d60467b3d754b2e0cf4e337b3f", "shasum": "" }, "require": { + "phar-io/version": "^3.2", "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.1.32" + "phpstan/phpstan": "^2.2.3" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -5285,7 +5337,8 @@ "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/phpstan-deprecation-rules": "^2.0", "phpstan/phpstan-strict-rules": "^2.0", - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^9.6", + "shipmonk/name-collision-detector": "^2.1" }, "type": "phpstan-extension", "extra": { @@ -5311,9 +5364,9 @@ ], "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.16" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/2.0.17" }, - "time": "2026-02-14T09:05:21+00:00" + "time": "2026-06-29T05:32:23+00:00" }, { "name": "psr/clock",