Use phpstan's int-mask-of<T> #248
Annotations
5 errors
Run PHPStan:
src/JsonSchema/Constraints/StringConstraint.php#L1
Ignored error pattern #^Parameter \#2 \$encoding of function mb_strlen expects string\|null, string\|false given\.$# in path /home/runner/work/json-schema/json-schema/src/JsonSchema/Constraints/StringConstraint.php was not matched in reported errors.
|
Run PHPStan:
src/JsonSchema/Constraints/StringConstraint.php#L57
Parameter #2 $encoding of function mb_strlen expects string, string|false given.
|
Run PHPStan:
src/JsonSchema/Uri/Retrievers/FileGetContents.php#L1
Ignored error pattern #^Parameter \#1 \$callback of function set_error_handler expects \(callable\(int, string, string, int\)\: bool\)\|null, Closure\(mixed, mixed\)\: void given\.$# in path /home/runner/work/json-schema/json-schema/src/JsonSchema/Uri/Retrievers/FileGetContents.php was not matched in reported errors.
|
Run PHPStan:
src/JsonSchema/Uri/Retrievers/FileGetContents.php#L33
Parameter #1 $callback of function set_error_handler expects (callable(int, string, string, int, array): bool)|null, Closure(mixed, mixed): void given.
|
Run PHPStan
Process completed with exit code 1.
|
Loading