Skip to content

Update nikic/php-parser requirement from ^4.16 to ^4.16 || ^5.0 #58

Update nikic/php-parser requirement from ^4.16 to ^4.16 || ^5.0

Update nikic/php-parser requirement from ^4.16 to ^4.16 || ^5.0 #58

Triggered via pull request January 8, 2024 15:40
Status Failure
Total duration 28s
Artifacts

static.yml

on: pull_request
Matrix: phpstan
Fit to window
Zoom out
Zoom in

Annotations

5 errors
phpstan (8.2): src/Core/Internal/Proxy/DefaultProxyFactory.php#L177
Parameter #1 $params of method PhpParser\Builder\FunctionLike::addParams() expects array<PhpParser\Builder\Param|PhpParser\Node\Param>, array<int, PhpParser\Node> given.
phpstan (8.2): src/Core/Internal/Proxy/DefaultProxyFactory.php#L266
Parameter #1 $type of class PhpParser\Node\NullableType constructor expects PhpParser\Node\Identifier|PhpParser\Node\Name, string given.
phpstan (8.2): src/Core/Type.php#L169
Access to undefined constant PhpParser\ParserFactory::PREFER_PHP7.
phpstan (8.2): src/Core/Type.php#L169
Call to an undefined method PhpParser\ParserFactory::create().
phpstan (8.2)
Process completed with exit code 1.