Skip to content

Commit

Permalink
Update PHPStan to 1.12.12 (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored Nov 29, 2024
1 parent b489cfe commit 1fa8808
Show file tree
Hide file tree
Showing 11 changed files with 88 additions and 56 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"php": ">=7.4",
"justinrainbow/json-schema": "^5.3",
"php-parallel-lint/php-parallel-lint": "1.4",
"phpstan/phpstan": "1.12.8",
"phpstan/phpstan": "1.12.12",
"phpstan/phpstan-deprecation-rules": "1.2.1",
"phpstan/phpstan-phpunit": "1.4.0",
"phpstan/phpstan-phpunit": "1.4.1",
"phpstan/phpstan-strict-rules": "1.6.1",
"phpstan/phpstan-symfony": "1.4.12",
"spaze/phpstan-disallowed-calls": "2.16.1",
Expand Down
36 changes: 18 additions & 18 deletions composer.lock

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

28 changes: 14 additions & 14 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1021,17 +1021,17 @@
},
{
"name": "phpstan/phpstan",
"version": "1.12.8",
"version_normalized": "1.12.8.0",
"version": "1.12.12",
"version_normalized": "1.12.12.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "f6a60a4d66142b8156c9da923f1972657bc4748c"
"reference": "b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/f6a60a4d66142b8156c9da923f1972657bc4748c",
"reference": "f6a60a4d66142b8156c9da923f1972657bc4748c",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0",
"reference": "b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0",
"shasum": ""
},
"require": {
Expand All @@ -1040,7 +1040,7 @@
"conflict": {
"phpstan/phpstan-shim": "*"
},
"time": "2024-11-06T19:06:49+00:00",
"time": "2024-11-28T22:13:23+00:00",
"bin": [
"phpstan",
"phpstan.phar"
Expand Down Expand Up @@ -1132,22 +1132,22 @@
},
{
"name": "phpstan/phpstan-phpunit",
"version": "1.4.0",
"version_normalized": "1.4.0.0",
"version": "1.4.1",
"version_normalized": "1.4.1.0",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan-phpunit.git",
"reference": "f3ea021866f4263f07ca3636bf22c64be9610c11"
"reference": "11d4235fbc6313ecbf93708606edfd3222e44949"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/f3ea021866f4263f07ca3636bf22c64be9610c11",
"reference": "f3ea021866f4263f07ca3636bf22c64be9610c11",
"url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/11d4235fbc6313ecbf93708606edfd3222e44949",
"reference": "11d4235fbc6313ecbf93708606edfd3222e44949",
"shasum": ""
},
"require": {
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.11"
"phpstan/phpstan": "^1.12"
},
"conflict": {
"phpunit/phpunit": "<7.0"
Expand All @@ -1158,7 +1158,7 @@
"phpstan/phpstan-strict-rules": "^1.5.1",
"phpunit/phpunit": "^9.5"
},
"time": "2024-04-20T06:39:00+00:00",
"time": "2024-11-12T12:43:59+00:00",
"type": "phpstan-extension",
"extra": {
"phpstan": {
Expand All @@ -1181,7 +1181,7 @@
"description": "PHPUnit extensions and rules for PHPStan",
"support": {
"issues": "https://github.com/phpstan/phpstan-phpunit/issues",
"source": "https://github.com/phpstan/phpstan-phpunit/tree/1.4.0"
"source": "https://github.com/phpstan/phpstan-phpunit/tree/1.4.1"
},
"install-path": "../phpstan/phpstan-phpunit"
},
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' => 'ec4b9f268a46e305489bdc54d500d55431798df2',
'reference' => 'b489cfe351754c46a6dea03a5370002abde61600',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'ec4b9f268a46e305489bdc54d500d55431798df2',
'reference' => 'b489cfe351754c46a6dea03a5370002abde61600',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down Expand Up @@ -149,9 +149,9 @@
'dev_requirement' => false,
),
'phpstan/phpstan' => array(
'pretty_version' => '1.12.8',
'version' => '1.12.8.0',
'reference' => 'f6a60a4d66142b8156c9da923f1972657bc4748c',
'pretty_version' => '1.12.12',
'version' => '1.12.12.0',
'reference' => 'b5ae1b88f471d3fd4ba1aa0046234b5ca3776dd0',
'type' => 'library',
'install_path' => __DIR__ . '/../phpstan/phpstan',
'aliases' => array(),
Expand All @@ -167,9 +167,9 @@
'dev_requirement' => false,
),
'phpstan/phpstan-phpunit' => array(
'pretty_version' => '1.4.0',
'version' => '1.4.0.0',
'reference' => 'f3ea021866f4263f07ca3636bf22c64be9610c11',
'pretty_version' => '1.4.1',
'version' => '1.4.1.0',
'reference' => '11d4235fbc6313ecbf93708606edfd3222e44949',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit',
'aliases' => array(),
Expand Down
2 changes: 1 addition & 1 deletion vendor/phpstan/phpstan-phpunit/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"require": {
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.11"
"phpstan/phpstan": "^1.12"
},
"conflict": {
"phpunit/phpunit": "<7.0"
Expand Down
3 changes: 3 additions & 0 deletions vendor/phpstan/phpstan-phpunit/extension.neon
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ parameters:
- markTestIncomplete
- markTestSkipped
stubFiles:
- stubs/Assert.stub
- stubs/AssertionFailedError.stub
- stubs/ExpectationFailedException.stub
- stubs/InvocationMocker.stub
- stubs/MockBuilder.stub
- stubs/MockObject.stub
Expand Down
13 changes: 13 additions & 0 deletions vendor/phpstan/phpstan-phpunit/stubs/Assert.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace PHPUnit\Framework;

abstract class Assert
{
/**
* @phpstan-assert list $array
*
* @throws ExpectationFailedException
*/
final public static function assertIsList(mixed $array, string $message = ''): void {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace PHPUnit\Framework;

class AssertionFailedError extends \Exception
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace PHPUnit\Framework;

final class ExpectationFailedException extends AssertionFailedError
{

}
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-----

iQIzBAABCgAdFiEEynwsejDI6OEnSoR2UcZzBf/C5cAFAmcrviwACgkQUcZzBf/C
5cCm4RAAmbBHfvvohZzqaDax4d5ynXpiqmlZYa5f5uqvR/WTQJUyr1UURJ71Nh/S
+vNktFpQJJCv4FqMy3Llz1CIiKovFpMbTK3fbUbjok/D25Zya4epWjxJ/7uBkiBt
AiY8EMuaTWgEvAvUt5fLcJ5OnOLgBoeDd2QXnNUZwwPqIO+2eS2KzzOGw03mH1lK
I4gQ7TMvbWWU3V6gprlgpcKEbLUBQcIharpDDagDn/4jl2jYWALq/x/y3p+9H5Bs
tKTpyXqxML6JkMfeyHTYICaSRxgtf0ysq/POUOVyvsFtFCzAms/yfLeO4VBsVhqM
wwB3CdKqNlvjzD8vLsJAlm0v5pPElZMju74T1bKCPIfUTn1K3hbDY13gRguUe++d
7XShl6lIh22SpZv2WkqoHa2BDKIAioDz7h1g4qHzaECIJ1VPseRsmK3fmKonI+w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