This commit is contained in:
parent
4910317c38
commit
28491fd4ea
4 changed files with 1240 additions and 1315 deletions
|
@ -17,18 +17,18 @@
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.3",
|
"php": ">=8.3",
|
||||||
"ext-apcu": "*",
|
"ext-apcu": "*",
|
||||||
"php-di/php-di": "^7.0.1",
|
"php-di/php-di": "^7.0.6",
|
||||||
"nikic/fast-route": "^1.3",
|
"nikic/fast-route": "^1.3",
|
||||||
"symfony/http-foundation": "^6.2.5",
|
"symfony/http-foundation": "^7.0"
|
||||||
"vimeo/psalm": "^5.6"
|
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpstan/phpstan": "^1.9.14",
|
"phpstan/phpstan": "^1.10.46",
|
||||||
"lubiana/code-quality": "^1.1",
|
"lubiana/code-quality": "^1.2",
|
||||||
"phpstan/extension-installer": "^1.2",
|
"phpstan/extension-installer": "^1.3.1",
|
||||||
"phpstan/phpstan-strict-rules": "^1.4.5",
|
"phpstan/phpstan-strict-rules": "^1.5.2",
|
||||||
"thecodingmachine/phpstan-strict-rules": "^1.0",
|
"thecodingmachine/phpstan-strict-rules": "^1.0",
|
||||||
"pmjones/php-styler": "0.x-dev"
|
"pmjones/php-styler": "^0.14.0",
|
||||||
|
"vimeo/psalm": "^5.16"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
|
|
2526
composer.lock
generated
2526
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -1,13 +1,8 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<files psalm-version="5.6.0@e784128902dfe01d489c4123d69918a9f3c1eac5">
|
<files psalm-version="5.16.0@2897ba636551a8cb61601cc26f6ccfbba6c36591">
|
||||||
<file src="src/Infrastructure/Finder.php">
|
<file src="src/Infrastructure/Finder.php">
|
||||||
<UnresolvableInclude>
|
<UnresolvableInclude>
|
||||||
<code>require_once (string) $file</code>
|
<code>require_once (string) $file</code>
|
||||||
</UnresolvableInclude>
|
</UnresolvableInclude>
|
||||||
</file>
|
</file>
|
||||||
<file src="src/Infrastructure/functions.php">
|
|
||||||
<MixedArgumentTypeCoercion>
|
|
||||||
<code>$callable</code>
|
|
||||||
</MixedArgumentTypeCoercion>
|
|
||||||
</file>
|
|
||||||
</files>
|
</files>
|
||||||
|
|
|
@ -7,9 +7,9 @@ use function array_values;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @template T
|
* @template T
|
||||||
* @param array<T> $input
|
* @param T[] $input
|
||||||
* @param callable(mixed, mixed=):scalar $callable
|
* @param callable(T):bool $callable
|
||||||
* @return array<int, T>
|
* @return T[]
|
||||||
*/
|
*/
|
||||||
function arrayFilter(array $input, callable $callable): array
|
function arrayFilter(array $input, callable $callable): array
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue