chore: Update PHPStan level to max #1704
Annotations
10 errors
Static Code Analysis:
src/PhpPact/Consumer/Driver/Pact/PactDriver.php#L26
Cannot access property $handle on PhpPact\Consumer\Model\Pact\Pact|null.
|
Static Code Analysis:
src/PhpPact/Consumer/Driver/Pact/PactDriver.php#L37
Cannot access property $handle on PhpPact\Consumer\Model\Pact\Pact|null.
|
Static Code Analysis:
src/PhpPact/Consumer/Driver/Pact/PactDriver.php#L50
Method PhpPact\Consumer\Driver\Pact\PactDriver::getPact() should return PhpPact\Consumer\Model\Pact\Pact but returns PhpPact\Consumer\Model\Pact\Pact|null.
|
Static Code Analysis:
src/PhpPact/Consumer/Driver/Pact/PactDriver.php#L106
Cannot access property $handle on PhpPact\Consumer\Model\Pact\Pact|null.
|
Static Code Analysis:
src/PhpPact/Consumer/Matcher/Matcher.php#L73
Parameter #1 $value of class PhpPact\Consumer\Matcher\Matchers\Type constructor expects array|bool|float|int|object|string|null, mixed given.
|
Static Code Analysis:
src/PhpPact/Consumer/Matcher/Matcher.php#L338
Parameter #1 $value of class PhpPact\Consumer\Matcher\Matchers\Equality constructor expects array|bool|float|int|object|string|null, mixed given.
|
Static Code Analysis:
src/PhpPact/Consumer/Matcher/Matcher.php#L375
Parameter #1 $value of class PhpPact\Consumer\Matcher\Matchers\NotEmpty constructor expects array|bool|float|int|object|string, mixed given.
|
Static Code Analysis:
src/PhpPact/Consumer/Matcher/Matcher.php#L463
Parameter #1 $value of class PhpPact\Consumer\Matcher\Matchers\MatchAll constructor expects array|object, mixed given.
|
Static Code Analysis:
src/PhpPact/Plugin/Driver/Pact/AbstractPluginPactDriver.php#L14
Cannot access property $handle on PhpPact\Consumer\Model\Pact\Pact|null.
|
Static Code Analysis:
src/PhpPact/Plugin/Driver/Pact/AbstractPluginPactDriver.php#L37
Cannot access property $handle on PhpPact\Consumer\Model\Pact\Pact|null.
|
Loading