update to phpunit 10 #1434
Annotations
8 errors
|
phpstan
Process completed with exit code 1.
|
|
phpstan:
tests/Builder/ArchiveBuilderTest.php#L105
Call to deprecated method returnValue() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturn()</code> instead of <code>$double->will($this->returnValue())</code>
|
|
phpstan:
tests/Builder/ArchiveBuilderTest.php#L77
Call to deprecated method returnCallback() of class PHPUnit\Framework\TestCase:
Use <code>$double->willReturnCallback()</code> instead of <code>$double->will($this->returnCallback())</code>
|
|
phpstan:
src/PackageSelection/PackageSelection.php#L780
Call to function is_a() with Composer\Package\Link and 'Composer\\Package\\Link' will always evaluate to true.
|
|
phpstan:
src/Builder/ArchiveBuilderHelper.php#L61
Construct empty() is not allowed. Use more strict comparison.
|
|
phpstan:
src/Builder/ArchiveBuilderHelper.php#L61
Construct empty() is not allowed. Use more strict comparison.
|
|
phpstan:
src/Builder/ArchiveBuilderHelper.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
|
phpstan:
src/Builder/ArchiveBuilderHelper.php#L60
Construct empty() is not allowed. Use more strict comparison.
|