Skip to content

Commit b603a53

Browse files
authored
Merge pull request #1570 from Roave/renovate/all-minor-patch
Update all non-major dependencies
2 parents 85f1ce0 + 93c2c10 commit b603a53

4 files changed

Lines changed: 68 additions & 21 deletions

File tree

src/Reflection/ReflectionMethod.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ private function callStaticMethod(array $args): mixed
503503
/** @psalm-suppress InvalidStringClass */
504504
$closure = Closure::bind(fn (string $implementingClassName, string $_methodName, array $methodArgs): mixed => $implementingClassName::{$_methodName}(...$methodArgs), null, $implementingClassName);
505505

506-
/** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */
507506
assert($closure instanceof Closure);
508507

509508
return $closure->__invoke($implementingClassName, $this->getName(), $args);
@@ -515,7 +514,6 @@ private function callObjectMethod(object $object, array $args): mixed
515514
/** @psalm-suppress MixedMethodCall */
516515
$closure = Closure::bind(fn (object $object, string $methodName, array $methodArgs): mixed => $object->{$methodName}(...$methodArgs), $object, $this->getImplementingClass()->getName());
517516

518-
/** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */
519517
assert($closure instanceof Closure);
520518

521519
return $closure->__invoke($object, $this->getName(), $args);

src/Reflection/ReflectionProperty.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,6 @@ public function getValue(object|null $object = null): mixed
500500

501501
$closure = Closure::bind(fn (string $implementingClassName, string $propertyName): mixed => $implementingClassName::${$propertyName}, null, $implementingClassName);
502502

503-
/** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */
504503
assert($closure instanceof Closure);
505504

506505
return $closure->__invoke($implementingClassName, $this->getName());
@@ -510,7 +509,6 @@ public function getValue(object|null $object = null): mixed
510509

511510
$closure = Closure::bind(fn (object $instance, string $propertyName): mixed => $instance->{$propertyName}, $instance, $implementingClassName);
512511

513-
/** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */
514512
assert($closure instanceof Closure);
515513

516514
return $closure->__invoke($instance, $this->getName());
@@ -534,7 +532,6 @@ public function setValue(mixed $object, mixed $value = null): void
534532
$_implementingClassName::${$_propertyName} = $value;
535533
}, null, $implementingClassName);
536534

537-
/** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */
538535
assert($closure instanceof Closure);
539536

540537
$closure->__invoke($implementingClassName, $this->getName(), func_num_args() === 2 ? $value : $object);
@@ -548,7 +545,6 @@ public function setValue(mixed $object, mixed $value = null): void
548545
$instance->{$propertyName} = $value;
549546
}, $instance, $implementingClassName);
550547

551-
/** @phpstan-ignore function.alreadyNarrowedType, instanceof.alwaysTrue */
552548
assert($closure instanceof Closure);
553549

554550
$closure->__invoke($instance, $this->getName(), $value);

tools/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"require": {
33
"doctrine/coding-standard": "^14.0.0",
44
"infection/infection": "^0.34.0",
5-
"phpstan/phpstan": "^2.2.2",
6-
"phpstan/phpstan-phpunit": "^2.0.16",
5+
"phpstan/phpstan": "^2.2.3",
6+
"phpstan/phpstan-phpunit": "^2.0.17",
77
"vimeo/psalm": "^6.16.1",
88
"roave/backward-compatibility-check": "^8.21.0"
99
},

tools/composer.lock

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

0 commit comments

Comments
 (0)