This repository was archived by the owner on Mar 6, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +22
-24
lines changed Expand file tree Collapse file tree 6 files changed +22
-24
lines changed Original file line number Diff line number Diff line change 66/.php_cs.cache
77/stubs
88/.phpunit.result.cache
9+ .phpunit.result.cache
Original file line number Diff line number Diff line change 2020 "friendsofphp/php-cs-fixer" : " ^2.17" ,
2121 "phpactor/test-utils" : " ^1.0" ,
2222 "phpstan/phpstan" : " ~0.12.0" ,
23- "phpunit/phpunit" : " ~8.0" ,
24- "symfony/var-dumper" : " ^5.0"
23+ "phpunit/phpunit" : " ^9.0" ,
24+ "symfony/var-dumper" : " ^5.0" ,
25+ "phpspec/prophecy-phpunit" : " ^2.0"
2526 },
2627 "extra" : {
2728 "branch-alias" : {
4748 " vendor/bin/phpunit"
4849 ]
4950 }
50- }
51+ }
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
2-
32<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
4- <phpunit
5- colors =" true"
6- bootstrap =" tests/autoload.php"
7- >
8-
9- <testsuites >
10- <testsuite name =" Type Inference" >
11- <directory >./tests</directory >
12- </testsuite >
13- </testsuites >
14-
15- <filter >
16- <whitelist addUncoveredFilesFromWhitelist =" true" >
17- <directory >.</directory >
18- <exclude >
19- <directory >vendor/</directory >
20- </exclude >
21- </whitelist >
22- </filter >
23-
3+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" colors =" true" bootstrap =" tests/autoload.php" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
4+ <coverage includeUncoveredFiles =" true" >
5+ <include >
6+ <directory >.</directory >
7+ </include >
8+ <exclude >
9+ <directory >vendor/</directory >
10+ </exclude >
11+ </coverage >
12+ <testsuites >
13+ <testsuite name =" Type Inference" >
14+ <directory >./tests</directory >
15+ </testsuite >
16+ </testsuites >
2417</phpunit >
Original file line number Diff line number Diff line change 99
1010class MethodBuilderTest extends TestCase
1111{
12+ use \Prophecy \PhpUnit \ProphecyTrait;
1213 public function testExceptionOnAddNonParameterBuilder ()
1314 {
1415 $ this ->expectException (InvalidBuilderException::class);
Original file line number Diff line number Diff line change 1010
1111class FilterPhpVersionDirectoryIteratorTest extends TestCase
1212{
13+ use \Prophecy \PhpUnit \ProphecyTrait;
1314 /**
1415 * @dataProvider provideDirectoriesToFilter
1516 */
Original file line number Diff line number Diff line change 1212
1313class SourceBuilderTest extends TestCase
1414{
15+ use \Prophecy \PhpUnit \ProphecyTrait;
1516 /**
1617 * @var Updater
1718 */
You can’t perform that action at this time.
0 commit comments