Skip to content

feat: setup phpstan & rector #130

feat: setup phpstan & rector

feat: setup phpstan & rector #130

Triggered via pull request October 13, 2023 08:59
Status Failure
Total duration 42s
Artifacts

ci.yml

on: pull_request
Code style
14s
Code style
Matrix: Atoum tests
Matrix: PHPStan checks
Fit to window
Zoom out
Zoom in

Annotations

21 errors
PHPStan checks (8.1, --prefer-lowest): src/DataCollector/GuzzleHttpDataCollector.php#L40
Method M6Web\Bundle\GuzzleHttpBundle\DataCollector\GuzzleHttpDataCollector::collect() has no return type specified.
PHPStan checks (8.1, --prefer-lowest): src/DataCollector/GuzzleHttpDataCollector.php#L47
Method M6Web\Bundle\GuzzleHttpBundle\DataCollector\GuzzleHttpDataCollector::reset() has no return type specified.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/GuzzleHttpPass.php#L21
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\GuzzleHttpPass::process() has no return type specified.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L1
Ignored error pattern #^Parameter \#4 \$isDebugEnabled of method M6Web\\Bundle\\GuzzleHttpBundle\\DependencyInjection\\M6WebGuzzleHttpExtension\:\:loadClient\(\) expects bool, array\|bool\|float\|int\|string\|UnitEnum\|null given\.$# in path /home/runner/work/GuzzleHttpBundle/GuzzleHttpBundle/src/DependencyInjection/M6WebGuzzleHttpExtension.php was not matched in reported errors.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L1
Ignored error pattern #^Parameter \#4 \$isDebugEnabled of method M6Web\\Bundle\\GuzzleHttpBundle\\DependencyInjection\\M6WebGuzzleHttpExtension\:\:setGuzzleProxyHandler\(\) expects bool, array\|bool\|float\|int\|string\|UnitEnum\|null given\.$# in path /home/runner/work/GuzzleHttpBundle/GuzzleHttpBundle/src/DependencyInjection/M6WebGuzzleHttpExtension.php was not matched in reported errors.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L21
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::load() has no return type specified.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L21
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::load() has parameter $configs with no value type specified in iterable type array.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L33
Parameter #4 $isDebugEnabled of method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::setGuzzleProxyHandler() expects bool, array|bool|float|int|string|null given.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L37
Parameter #4 $isDebugEnabled of method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::loadClient() expects bool, array|bool|float|int|string|null given.
PHPStan checks (8.1, --prefer-lowest): src/DependencyInjection/MiddlewarePass.php#L16
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\MiddlewarePass::process() has no return type specified.
Atoum tests (8.2, --prefer-lowest)
Process completed with exit code 1.
PHPStan checks (8.2, --prefer-lowest): src/DataCollector/GuzzleHttpDataCollector.php#L40
Method M6Web\Bundle\GuzzleHttpBundle\DataCollector\GuzzleHttpDataCollector::collect() has no return type specified.
PHPStan checks (8.2, --prefer-lowest): src/DataCollector/GuzzleHttpDataCollector.php#L47
Method M6Web\Bundle\GuzzleHttpBundle\DataCollector\GuzzleHttpDataCollector::reset() has no return type specified.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/GuzzleHttpPass.php#L21
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\GuzzleHttpPass::process() has no return type specified.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L1
Ignored error pattern #^Parameter \#4 \$isDebugEnabled of method M6Web\\Bundle\\GuzzleHttpBundle\\DependencyInjection\\M6WebGuzzleHttpExtension\:\:loadClient\(\) expects bool, array\|bool\|float\|int\|string\|UnitEnum\|null given\.$# in path /home/runner/work/GuzzleHttpBundle/GuzzleHttpBundle/src/DependencyInjection/M6WebGuzzleHttpExtension.php was not matched in reported errors.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L1
Ignored error pattern #^Parameter \#4 \$isDebugEnabled of method M6Web\\Bundle\\GuzzleHttpBundle\\DependencyInjection\\M6WebGuzzleHttpExtension\:\:setGuzzleProxyHandler\(\) expects bool, array\|bool\|float\|int\|string\|UnitEnum\|null given\.$# in path /home/runner/work/GuzzleHttpBundle/GuzzleHttpBundle/src/DependencyInjection/M6WebGuzzleHttpExtension.php was not matched in reported errors.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L21
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::load() has no return type specified.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L21
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::load() has parameter $configs with no value type specified in iterable type array.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L33
Parameter #4 $isDebugEnabled of method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::setGuzzleProxyHandler() expects bool, array|bool|float|int|string|null given.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/M6WebGuzzleHttpExtension.php#L37
Parameter #4 $isDebugEnabled of method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\M6WebGuzzleHttpExtension::loadClient() expects bool, array|bool|float|int|string|null given.
PHPStan checks (8.2, --prefer-lowest): src/DependencyInjection/MiddlewarePass.php#L16
Method M6Web\Bundle\GuzzleHttpBundle\DependencyInjection\MiddlewarePass::process() has no return type specified.