File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 4141 "phpunit/phpunit" : " ^7.5|^9.0|^10.0" ,
4242 "mikey179/vfsstream" : " ^1.6" ,
4343 "phpspec/prophecy" : " ^1.10" ,
44- "friendsofphp/php-cs-fixer" : " 3.4.0"
44+ "friendsofphp/php-cs-fixer" : " 3.4.0" ,
45+ "phpspec/prophecy-phpunit" : " ^2.3"
4546 },
4647 "autoload" : {
4748 "psr-4" : {
5960 "bin" : [
6061 " bin-stub/phparkitect"
6162 ]
62- }
63+ }
Original file line number Diff line number Diff line change 1111use PhpParser \NodeTraverser ;
1212use PHPUnit \Framework \TestCase ;
1313use Prophecy \Argument ;
14+ use Prophecy \PhpUnit \ProphecyTrait ;
1415
1516class FileParserTest extends TestCase
1617{
18+ use ProphecyTrait;
19+
1720 public function test_parse_file (): void
1821 {
1922 $ traverser = $ this ->prophesize (NodeTraverser::class);
Original file line number Diff line number Diff line change 77use Arkitect \ClassSet ;
88use Arkitect \CLI \Progress \DebugProgress ;
99use PHPUnit \Framework \TestCase ;
10+ use Prophecy \PhpUnit \ProphecyTrait ;
1011use Symfony \Component \Console \Output \OutputInterface ;
1112
1213class DebugProgressTest extends TestCase
1314{
15+ use ProphecyTrait;
16+
1417 public function test_it_should_generate_text_on_start_parsing_file (): void
1518 {
1619 $ output = $ this ->prophesize (OutputInterface::class);
You can’t perform that action at this time.
0 commit comments