Update phpunit/phpunit from 8.3.4 to 8.4.2 #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
If you have a high test coverage index, and your tests for this pull request are passing, it should be both safe and recommended to merge this update.
Here is a list of changes between the version you use, and the version this pull request updates to:
InvovationMocker
toInvocationHandler
to better reflect what it is doing.PHPUnit\Framework\TestCase#(get|set)Tests
parameters"array_merge()
in loop inPHPUnit\Util\Test#getLinesToBeCoveredOrUsed()
array_merge()
repeated operation: replaced with single variadic callPHPUnit\Util\Test#parseTestMethodAnnotations()
DocBlock#requirements()
so that repeated calls do not lead to overheadbaseline.xml
comment - not supported by psalmThrowable
phar-io/version#16PHPUnit\Framework\TestCase#(get|set)Tests
parametersDocBlock
API declarationDocBlock#requirements()
return typesThrowable
toPHPUnit\Framework\Exception\Exception::__construct()
DocBlock
implementationDocBlock#$className
is never nullable according to current semanticsReflectionFunctionAbstract
inDocBlock
ctorisClass
flagDocBlock
APIDocBlock
DocBlock
DocBlock
typePHPUnit\Util\Test::parseRequirements()
API@testWith
and@dataProvider
parsing into theDocBlock
value type@expectedException
parsing into theDocBlock
value typeDocBlock
operations into a value type.phpstorm.meta.php
entry forTestCase#createStub()
:self
for when we can upgrade to PHP 7.4InvocationStubber#will()
- useful for callbacks and suchInvocationMocker
inheritance mismatch, fixedStub
reference: was pointing to method instead of class stubself
types onInvocationStubber
: requires PHP 7.4InvocationMocker#will() : self
- only works on PHP 7.4InvocationMocker#will() : self
return type mismatch as false positiveTestCase#createStub()
--columns
command line argumentThis is an automated pull request from Violinist: Continuously and automatically monitor and update your composer dependencies. Have ideas on how to improve this message? All violinist messages are open-source, and can be improved here.