Skip to content

Commit

Permalink
composer update
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Nov 4, 2022
1 parent 8c1192e commit d4b9c41
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 42 deletions.
30 changes: 15 additions & 15 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,17 +352,17 @@
},
{
"name": "phpstan/phpstan",
"version": "1.9.0",
"version_normalized": "1.9.0.0",
"version": "1.9.1",
"version_normalized": "1.9.1.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "e08de53a5eec983de78a787a88e72518cf8fe43a"
"reference": "a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/e08de53a5eec983de78a787a88e72518cf8fe43a",
"reference": "e08de53a5eec983de78a787a88e72518cf8fe43a",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f",
"reference": "a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f",
"shasum": ""
},
"require": {
Expand All @@ -371,7 +371,7 @@
"conflict": {
"phpstan/phpstan-shim": "*"
},
"time": "2022-11-03T07:26:48+00:00",
"time": "2022-11-04T13:35:59+00:00",
"bin": [
"phpstan",
"phpstan.phar"
Expand All @@ -394,7 +394,7 @@
],
"support": {
"issues": "https://github.com/phpstan/phpstan/issues",
"source": "https://github.com/phpstan/phpstan/tree/1.9.0"
"source": "https://github.com/phpstan/phpstan/tree/1.9.1"
},
"funding": [
{
Expand Down Expand Up @@ -573,23 +573,23 @@
},
{
"name": "phpstan/phpstan-symfony",
"version": "1.2.14",
"version_normalized": "1.2.14.0",
"version": "1.2.16",
"version_normalized": "1.2.16.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-symfony.git",
"reference": "f7dd737329504115adaa987697a759a66dd2ee8a"
"reference": "d6ea16206b1b645ded5b43736d8ef5ae1168eb55"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/f7dd737329504115adaa987697a759a66dd2ee8a",
"reference": "f7dd737329504115adaa987697a759a66dd2ee8a",
"url": "https://api.github.com/repos/phpstan/phpstan-symfony/zipball/d6ea16206b1b645ded5b43736d8ef5ae1168eb55",
"reference": "d6ea16206b1b645ded5b43736d8ef5ae1168eb55",
"shasum": ""
},
"require": {
"ext-simplexml": "*",
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.8.2"
"phpstan/phpstan": "^1.9.1"
},
"conflict": {
"symfony/framework-bundle": "<3.0"
Expand All @@ -611,7 +611,7 @@
"symfony/polyfill-php80": "^1.24",
"symfony/serializer": "^5.4"
},
"time": "2022-10-05T11:19:29+00:00",
"time": "2022-11-04T13:16:15+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand Down Expand Up @@ -641,7 +641,7 @@
"description": "Symfony Framework extensions and rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-symfony/issues",
"source": "https://github.com/phpstan/phpstan-symfony/tree/1.2.14"
"source": "https://github.com/phpstan/phpstan-symfony/tree/1.2.16"
},
"install-path": "../phpstan/phpstan-symfony"
},
Expand Down
16 changes: 8 additions & 8 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '539503fc1874751398d39724b23258cd527ff766',
'reference' => '8c1192e2b024c2196c82135c8972972510d5d293',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => '539503fc1874751398d39724b23258cd527ff766',
'reference' => '8c1192e2b024c2196c82135c8972972510d5d293',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -65,9 +65,9 @@
'dev_requirement' => false,
),
'phpstan/phpstan' => array(
'pretty_version' => '1.9.0',
'version' => '1.9.0.0',
'reference' => 'e08de53a5eec983de78a787a88e72518cf8fe43a',
'pretty_version' => '1.9.1',
'version' => '1.9.1.0',
'reference' => 'a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f',
'type' => 'library',
'install_path' => __DIR__ . '/../phpstan/phpstan',
'aliases' => array(),
Expand Down Expand Up @@ -101,9 +101,9 @@
'dev_requirement' => false,
),
'phpstan/phpstan-symfony' => array(
'pretty_version' => '1.2.14',
'version' => '1.2.14.0',
'reference' => 'f7dd737329504115adaa987697a759a66dd2ee8a',
'pretty_version' => '1.2.16',
'version' => '1.2.16.0',
'reference' => 'd6ea16206b1b645ded5b43736d8ef5ae1168eb55',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../phpstan/phpstan-symfony',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v3.0.0
uses: metcalfc/changelog-generator@v4.0.1
with:
myToken: ${{ secrets.PHPSTAN_BOT_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion vendor/phpstan/phpstan-symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"require": {
"php": "^7.2 || ^8.0",
"ext-simplexml": "*",
"phpstan/phpstan": "^1.8.2"
"phpstan/phpstan": "^1.9.1"
},
"conflict": {
"symfony/framework-bundle": "<3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Analyser\Scope;
use PHPStan\Reflection\MethodReflection;
use PHPStan\Type\Accessory\AccessoryArrayListType;
use PHPStan\Type\ArrayType;
use PHPStan\Type\Constant\ConstantStringType;
use PHPStan\Type\DynamicMethodReturnTypeExtension;
use PHPStan\Type\MixedType;
use PHPStan\Type\Generic\GenericClassStringType;
use PHPStan\Type\IntegerType;
use PHPStan\Type\ObjectType;
use PHPStan\Type\Type;
use function count;
Expand All @@ -33,15 +35,18 @@ public function getTypeFromMethodCall(
): Type
{
if (count($methodCall->getArgs()) === 0) {
return new ArrayType(new MixedType(), new ArrayType(new MixedType(), new ObjectType('Symfony\Component\Messenger\Stamp\StampInterface')));
return new ArrayType(
new GenericClassStringType(new ObjectType('Symfony\Component\Messenger\Stamp\StampInterface')),
AccessoryArrayListType::intersectWith(new ArrayType(new IntegerType(), new ObjectType('Symfony\Component\Messenger\Stamp\StampInterface')))
);
}

$argType = $scope->getType($methodCall->getArgs()[0]->value);
if (!$argType instanceof ConstantStringType) {
return new ArrayType(new MixedType(), new ObjectType('Symfony\Component\Messenger\Stamp\StampInterface'));
return AccessoryArrayListType::intersectWith(new ArrayType(new IntegerType(), new ObjectType('Symfony\Component\Messenger\Stamp\StampInterface')));
}

return new ArrayType(new MixedType(), new ObjectType($argType->getValue()));
return AccessoryArrayListType::intersectWith(new ArrayType(new IntegerType(), new ObjectType($argType->getValue())));
}

}
Binary file modified vendor/phpstan/phpstan/phpstan.phar
Binary file not shown.
26 changes: 13 additions & 13 deletions vendor/phpstan/phpstan/phpstan.phar.asc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE0yaA1ZV9xxFr4pwUzxoQjQ565yAFAmNjbSoACgkQzxoQjQ56
5yDmXg//d5XNlGLjSj0SImpc7IebKvVWuDYUhrZOldBPb+O7h2QUNMEfys7JT5yZ
dSVQ+kznxcCisCrMWVUT797XszHUNRtV/K1p+bVVSAS8m2LX1zHoacE07RIworW7
19gXDRo9bbr3MWeHj47g7nDDv0dyN1uwhIgBxKsZtkztTVBVZ2/+vWz5uLOAXV0/
1pDlnr7hb1yKh/OtQ5JXLTA0RRCwyCJqjSgUquBYdi0K91ewJ7xu+jUKBvA3XFd/
5RdsSCr9s0MYtD2ib5/vQxIOTMcxVgyhmWkExkP8QpP8lBsKbzb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Anv6XFmKySJJEZAagSiR9cP
zkg5oi0hWKkBY83G6xJZmGnNiDUQsOiSxz0nFz+wkWAN7hZXZmg=
=D54v
-----END PGP SIGNATURE-----

0 comments on commit d4b9c41

Please sign in to comment.