Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

nreynis/phpunit-6154

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproduction testcase for issue sebastianbergmann/phpunit#6154

Running PHPStan with composer analyze will yield the following error:

 ------ -----------------------------------------------------------------
  Line   test/MyServiceTest.php
 ------ -----------------------------------------------------------------
  16     Call to an undefined method
         PHPUnit\Framework\MockObject\Builder\InvocationStubber::with().
         🪪  method.notFound
 ------ -----------------------------------------------------------------

Running the sam analysis with PHPUnit 11 do work as expected:

composer require --dev --with-all-dependencies phpunit/phpunit:^11.5
composer analyze


 [OK] No errors

Releases

No releases published

Packages

 
 
 

Contributors

Languages