Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
 - composer/pcre updated from 3.3.1 to 3.3.2 patch
   See changes: composer/pcre@3.3.1...3.3.2
   Release notes: https://github.com/composer/pcre/releases/tag/3.3.2

 - jetbrains/phpstorm-attributes updated from 1.1 to 1.2 minor
   See changes: JetBrains/phpstorm-attributes@1.1...1.2
   Release notes: https://github.com/JetBrains/phpstorm-attributes/releases/tag/1.2

 - phpstan/phpstan updated from 2.0.1 to 2.0.2 patch
   See changes: phpstan/phpstan@2.0.1...2.0.2
   Release notes: https://github.com/phpstan/phpstan/releases/tag/2.0.2

 - phpstan/phpstan-nette updated from 2.0.0 to 2.0.1 patch
   See changes: phpstan/phpstan-nette@2.0.0...2.0.1
   Release notes: https://github.com/phpstan/phpstan-nette/releases/tag/2.0.1

 - roave/security-advisories updated from dev-latest@e633174 to dev-latest@9f1d9b2
   See changes: Roave/SecurityAdvisories@e633174...9f1d9b2

 - spaze/phpcs-phar updated from 3.10.3 to 3.11.1 minor
   See changes: spaze/phpcs-phar@3.10.3...3.11.1
   Release notes: https://github.com/spaze/phpcs-phar/releases/tag/3.11.1

 - spaze/phpstan-disallowed-calls updated from v4.0.0 to v4.0.1 patch
   See changes: spaze/phpstan-disallowed-calls@v4.0.0...v4.0.1
   Release notes: https://github.com/spaze/phpstan-disallowed-calls/releases/tag/v4.0.1
  • Loading branch information
spaze committed Nov 18, 2024
1 parent 587b36d commit a6e8435
Show file tree
Hide file tree
Showing 16 changed files with 184 additions and 172 deletions.
111 changes: 56 additions & 55 deletions app/composer.lock

Large diffs are not rendered by default.

123 changes: 62 additions & 61 deletions app/vendor/composer/installed.json

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions app/vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
),
'versions' => array(
'composer/pcre' => array(
'pretty_version' => '3.3.1',
'version' => '3.3.1.0',
'reference' => '63aaeac21d7e775ff9bc9d45021e1745c97521c4',
'pretty_version' => '3.3.2',
'version' => '3.3.2.0',
'reference' => 'b2bed4734f0cc156ee1fe9c0da2550420d99a21e',
'type' => 'library',
'install_path' => __DIR__ . '/./pcre',
'aliases' => array(),
Expand Down Expand Up @@ -65,9 +65,9 @@
),
),
'jetbrains/phpstorm-attributes' => array(
'pretty_version' => '1.1',
'version' => '1.1.0.0',
'reference' => '22fb28d679deceedba8366dbae65cc8ebfc17e26',
'pretty_version' => '1.2',
'version' => '1.2.0.0',
'reference' => '64de815a4509c29e00d5e3474087fd24c171afc2',
'type' => 'library',
'install_path' => __DIR__ . '/../jetbrains/phpstorm-attributes',
'aliases' => array(),
Expand Down Expand Up @@ -313,7 +313,7 @@
'phpcsstandards/php_codesniffer' => array(
'dev_requirement' => true,
'replaced' => array(
0 => '3.10.3',
0 => '3.11.1',
),
),
'phpstan/phpdoc-parser' => array(
Expand All @@ -326,9 +326,9 @@
'dev_requirement' => true,
),
'phpstan/phpstan' => array(
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => 'ab4e9b4415a5fc9e4d27f7fe16c8bc9d067dcd6d',
'pretty_version' => '2.0.2',
'version' => '2.0.2.0',
'reference' => '6c98c7600fc717b2c78c11ef60040d5b1e359c82',
'type' => 'library',
'install_path' => __DIR__ . '/../phpstan/phpstan',
'aliases' => array(),
Expand All @@ -344,9 +344,9 @@
'dev_requirement' => true,
),
'phpstan/phpstan-nette' => array(
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'reference' => 'cacb6983bbdf44d5c3a7222e5ca74f61f8531806',
'pretty_version' => '2.0.1',
'version' => '2.0.1.0',
'reference' => '200d1926c57f6feda0d0f3056985fceccd8003c0',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../phpstan/phpstan-nette',
'aliases' => array(),
Expand Down Expand Up @@ -403,7 +403,7 @@
'roave/security-advisories' => array(
'pretty_version' => 'dev-latest',
'version' => 'dev-latest',
'reference' => 'e63317470a1b96346be224a68f9e64567e1001c3',
'reference' => '9f1d9b2460cdd0422e8cfd58763bf3156ad7f487',
'type' => 'metapackage',
'install_path' => null,
'aliases' => array(
Expand Down Expand Up @@ -493,9 +493,9 @@
'dev_requirement' => false,
),
'spaze/phpcs-phar' => array(
'pretty_version' => '3.10.3',
'version' => '3.10.3.0',
'reference' => '382b8f366b45130cb9f424441b82fad37605e7e4',
'pretty_version' => '3.11.1',
'version' => '3.11.1.0',
'reference' => 'b3ced1b725e7463914dcc9e0a641d4bb2dc94f4e',
'type' => 'library',
'install_path' => __DIR__ . '/../spaze/phpcs-phar',
'aliases' => array(),
Expand All @@ -511,9 +511,9 @@
'dev_requirement' => false,
),
'spaze/phpstan-disallowed-calls' => array(
'pretty_version' => 'v4.0.0',
'version' => '4.0.0.0',
'reference' => '7c3c42222498719765041d205d89adb4b008fe59',
'pretty_version' => 'v4.0.1',
'version' => '4.0.1.0',
'reference' => '0f030fd3fb770ee7c262445c8ad3c0b470a32ac5',
'type' => 'phpstan-extension',
'install_path' => __DIR__ . '/../spaze/phpstan-disallowed-calls',
'aliases' => array(),
Expand Down Expand Up @@ -549,7 +549,7 @@
'squizlabs/php_codesniffer' => array(
'dev_requirement' => true,
'replaced' => array(
0 => '3.10.3',
0 => '3.11.1',
),
),
'symfony/cache' => array(
Expand Down
4 changes: 2 additions & 2 deletions app/vendor/composer/pcre/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"require-dev": {
"phpunit/phpunit": "^8 || ^9",
"phpstan/phpstan": "^1.11.10",
"phpstan/phpstan-strict-rules": "^1.1"
"phpstan/phpstan": "^1.12 || ^2",
"phpstan/phpstan-strict-rules": "^1 || ^2"
},
"conflict": {
"phpstan/phpstan": "<1.11.10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,24 @@ public function specifyTypes(MethodReflection $methodReflection, StaticCall $nod
$context = $context->negate();
}

// @phpstan-ignore function.alreadyNarrowedType
if (method_exists('PHPStan\Analyser\SpecifiedTypes', 'setRootExpr')) {
$typeSpecifier = $this->typeSpecifier->create(
$matchesArg->value,
$matchedType,
$context,
$scope
)->setRootExpr($node);

return $overwrite ? $typeSpecifier->setAlwaysOverwriteTypes() : $typeSpecifier;
}

// @phpstan-ignore arguments.count
return $this->typeSpecifier->create(
$matchesArg->value,
$matchedType,
$context,
// @phpstan-ignore argument.type
$overwrite,
$scope,
$node
Expand Down
7 changes: 1 addition & 6 deletions app/vendor/composer/pcre/src/PcreException.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,8 @@ private static function pcreLastErrorMessage($code)
return preg_last_error_msg();
}

// older php versions did not set the code properly in all cases
if (PHP_VERSION_ID < 70201 && $code === 0) {
return 'UNDEFINED_ERROR';
}

$constants = get_defined_constants(true);
if (!isset($constants['pcre'])) {
if (!isset($constants['pcre']) || !is_array($constants['pcre'])) {
return 'UNDEFINED_ERROR';
}

Expand Down
4 changes: 3 additions & 1 deletion app/vendor/jetbrains/phpstorm-attributes/src/Deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class Deprecated {
"8.0",
"8.1",
"8.2",
"8.3",
"8.4",
];

/**
Expand All @@ -34,7 +36,7 @@ class Deprecated {
* <li>%class%: If the attribute is provided for method "m", then for "$this->f()->m()", %class% will be "$this->f()"</li>
* </ul>
* The following example shows how to wrap a function call in another call and swap arguments:<br />
* "#[Deprecated(replaceWith: "wrappedCall(%name%(%parameter1%, %parameter0%))")] f($a, $b){}<br />
* "#[Deprecated(replacement: "wrappedCall(%name%(%parameter1%, %parameter0%))")] f($a, $b){}<br />
* f(1,2) will be replaced with wrappedCall(f(2,1))
* @param string $since Element is deprecated starting with the provided PHP language level, applicable only for PhpStorm stubs entries
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
#[Attribute(Attribute::TARGET_FUNCTION | Attribute::TARGET_METHOD | Attribute::TARGET_PARAMETER | Attribute::TARGET_PROPERTY)]
class ExpectedValues {
public function __construct(array $values = [], array $flags = [], string $valuesFromClass = null, string $flagsFromClass = null)
public function __construct(array $values = [], array $flags = [], ?string $valuesFromClass = null, ?string $flagsFromClass = null)
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use PHPStan\Analyser\Scope;
use PHPStan\Rules\Rule;
use PHPStan\Rules\RuleErrorBuilder;
use PHPStan\Type\ObjectType;
use function in_array;
use function sprintf;
use function strtolower;
Expand Down Expand Up @@ -51,8 +52,8 @@ private function extractPatterns(StaticCall $staticCall, Scope $scope): array
if (!$staticCall->class instanceof Node\Name || !$staticCall->name instanceof Node\Identifier) {
return [];
}
$className = $scope->resolveName($staticCall->class);
if ($className !== Strings::class) {
$caller = $scope->resolveTypeByName($staticCall->class);
if (!(new ObjectType(Strings::class))->isSuperTypeOf($caller)->yes()) {
return [];
}
$methodName = strtolower((string) $staticCall->name);
Expand Down
6 changes: 2 additions & 4 deletions app/vendor/phpstan/phpstan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,10 @@ can be checked before you run the actual line.
&nbsp;&nbsp;&nbsp;
<a href="https://inviqa.com/"><img src="website/src/images/sponsor/inviqa.png" alt="Inviqa" width="254" height="65"></a>
<br>
<a href="https://www.getresponse.com/"><img src="website/src/images/sponsor/getresponse.png" alt="GetResponse" width="283" height="64"></a>
&nbsp;&nbsp;&nbsp;
<a href="https://www.shoptet.cz/"><img src="website/src/images/sponsor/shoptet.png" alt="Shoptet" width="283" height="64"></a>
<br>
<a href="https://route4me.com/"><img src="website/src/images/sponsor/route4me.png" alt="Route4Me: Route Optimizer and Route Planner Software" width="283" height="64"></a>
&nbsp;&nbsp;&nbsp;
<a href="https://route4me.com/"><img src="website/src/images/sponsor/route4me.png" alt="Route4Me: Route Optimizer and Route Planner Software" width="283" height="64"></a>
<br>
<a href="https://jobs.ticketswap.com/"><img src="website/src/images/sponsor/ticketswap.png" alt="TicketSwap" width="269" height="64"></a>


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

iQIzBAABCgAdFiEEynwsejDI6OEnSoR2UcZzBf/C5cAFAmcyJeMACgkQUcZzBf/C
5cCV0A//Sg3/cyjMFpusDfq8uk57ADL2jerPD4oPRG9/smKWf14pAsWwk7PQOcQe
zb2f+YW1tEouiyc/+RQoc+Xkv2om2N7RwaH4C7/dNnV6HYEsQS3U5cP4le/d32U6
0wtu0Se6FieFEc5Z/wEZzbGZCa3xToIFXIC8awNvZO6p5JGB29dWeIZgbmpHHN/6
yIxBGom0PYIf5My+J9nTlM0hYICKKGzU4NdCQzFVdenA/YCdXwr8lvec1ZwKcb2z
Y6sJWaBvYIGPg4ej5oVuEm/vUx4NXnKpmn5Up+wOXRjzoS6ZcduO9gxCwgJ8Uh1r
MzdTbeopFh/ZIw7HgoG32BS1yZWjBFzW5MUwCzugil9Q6wfkc5hCWFG0DvKbhZK3
6rCPqfJQ//8C+870Ej+rX6nndn93KHp696dRjiSDFVnB3kFOUcHhFYdaSzdaWZ2x
E26PwyI4NBIynS153EIo2S1poIAWsAXQTWaFyRqrUq+QkeioxdKJr7UVtmZJcqH3
v5lytzJwYvmYk57CjCoJDWwY6y1b7YN1zkjzlNozlcvbF4ftzIIXZW5CcOeg1Dij
jZEOhVnEygbCvYcXCn3RSC5OZe0wz/B5EuT4HnLpeyyE+tLg2evqfJXqwagwRZoL
EiMpKZlYY2kEdgezzefYH1ElCvmjaa5BRTlXYswVW/G7KKJ6fq8=
=lVJA
iQIzBAABCgAdFiEEynwsejDI6OEnSoR2UcZzBf/C5cAFAmc5+rcACgkQUcZzBf/C
5cCQ5g/+Odj8c1mm0Fj4rJ3Qrj36uMU+YaVCt2+s9W0Fey0Dgt3zoasBqbkWuoje
npZgB1Dhfi+/FvaezxHdl9BCwQRD6D1TFvNSPKjBPihdCG61LXOH4FJZ+tY2Ugw9
ysEsOO1y0QtCx8A5bslatvDH2hCfFcwxakG4t741md3DbRVK1Evar6xySYfjHqGI
0U7xeAFmoRrXb1B81Nhmknx/MjHB0SDXCZ3G3GSsn9xtXk8JB1Pv9/A5g0jR7SFc
ciqA3FUQVlQeZVQvUPy3yTlhudCrVU2dtCgUyOUrAwyB1guriCqxQgzRRSUyLCMI
fy7MF2HHWU0xtBAJu3VWMhx1Xev0jLEF/kf1oGGsef/DO43WV40cybwLPItOpyjX
aKfFjmNHAlN+NTzneYBLtM7UGGV4Nj5RpgiCDc3jB9EBMY8gvOJ7Dr7KCWV2Fp35
jjq64yHasnzXS7nsgYNsqzMHs3y9ZXUGnixE+nFszoeCEUEmuNSpusaoSy28YBTP
/EHzOljf4w98IxFo0ednuVLrXNI+mZpj9rfuTj106zFHI9/Vb+rwqJ3VD8v319mI
FNzTO/fACdp1KS35zxHQ4gLQ8q3RYqncgG9LNZ15fkdk9pi5v+c8Dh3UTWd3VM0V
bd/jl4qOTMG5w8y6w1niM3oOC3edV0BtMSbbA1kcfilJ0F83p1M=
=bWVd
-----END PGP SIGNATURE-----
4 changes: 2 additions & 2 deletions app/vendor/spaze/phpcs-phar/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
],
"replace": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"phpcsstandards/php_codesniffer": "3.10.3",
"squizlabs/php_codesniffer": "3.10.3"
"phpcsstandards/php_codesniffer": "3.11.1",
"squizlabs/php_codesniffer": "3.11.1"
},
"require": {
"composer-runtime-api": "^2.1"
Expand Down
Binary file modified app/vendor/spaze/phpcs-phar/phpcs.phar
Binary file not shown.
Binary file modified app/vendor/spaze/phpcs-phar/phpcs.phar.asc
Binary file not shown.
8 changes: 4 additions & 4 deletions app/vendor/spaze/phpstan-disallowed-calls/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
},
"require": {
"php": "^7.4 || ^8.0",
"phpstan/phpstan": "^2.0"
"phpstan/phpstan": "^1.12.6 || ^2.0"
},
"require-dev": {
"nette/neon": "^3.2",
"nette/neon": "^3.3.1",
"nikic/php-parser": "^4.13 || ^5.0",
"phpunit/phpunit": "^8.5 || ^10.1 || ^11.0",
"phpunit/phpunit": "^8.5.14 || ^10.1 || ^11.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"php-parallel-lint/php-console-highlighter": "^1.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-deprecation-rules": "^1.2 || ^2.0",
"spaze/coding-standard": "^1.7"
},
"autoload": {
Expand Down

0 comments on commit a6e8435

Please sign in to comment.