Skip to content

Commit 00300f1

Browse files
Fix CS/WS issues
1 parent f3f258a commit 00300f1

File tree

13 files changed

+176
-176
lines changed

13 files changed

+176
-176
lines changed

src/Framework/Assert/Functions.php

Lines changed: 146 additions & 146 deletions
Large diffs are not rendered by default.

src/Framework/MockObject/InvocationHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function matches(Invocation $invocation): bool
177177
}
178178

179179
/**
180-
* @throws \PHPUnit\Framework\ExpectationFailedException
180+
* @throws ExpectationFailedException
181181
*/
182182
public function verify(): void
183183
{

src/Framework/MockObject/Rule/ConsecutiveParameters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public function apply(BaseInvocation $invocation): void
7878
}
7979

8080
/**
81-
* @throws \PHPUnit\Framework\ExpectationFailedException
8281
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
82+
* @throws ExpectationFailedException
8383
*/
8484
public function verify(): void
8585
{

src/Framework/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ abstract class TestCase extends Assert implements SelfDescribing, Test
289289
private $snapshot;
290290

291291
/**
292-
* @var \Prophecy\Prophet
292+
* @var Prophet
293293
*/
294294
private $prophet;
295295

src/Framework/TestSuite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,13 +530,13 @@ public function setGroupDetails(array $groups): void
530530
/**
531531
* Runs the tests and collects their result in a TestResult.
532532
*
533-
* @throws \PHPUnit\Framework\CodeCoverageException
534533
* @throws \SebastianBergmann\CodeCoverage\CoveredCodeNotExecutedException
535534
* @throws \SebastianBergmann\CodeCoverage\InvalidArgumentException
536535
* @throws \SebastianBergmann\CodeCoverage\MissingCoversAnnotationException
537536
* @throws \SebastianBergmann\CodeCoverage\RuntimeException
538537
* @throws \SebastianBergmann\CodeCoverage\UnintentionallyCoveredCodeException
539538
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
539+
* @throws CodeCoverageException
540540
* @throws Warning
541541
*/
542542
public function run(TestResult $result = null): TestResult

src/TextUI/Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class Command
187187
private $versionStringPrinted = false;
188188

189189
/**
190-
* @throws \PHPUnit\Framework\Exception
190+
* @throws Exception
191191
*/
192192
public static function main(bool $exit = true): int
193193
{
@@ -1265,7 +1265,7 @@ private function handleListGroups(TestSuite $suite, bool $exit): int
12651265
}
12661266

12671267
/**
1268-
* @throws \PHPUnit\Framework\Exception
1268+
* @throws Exception
12691269
*/
12701270
private function handleListSuites(bool $exit): int
12711271
{

src/Util/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ private function getConfigurationArguments(DOMNodeList $nodes): array
982982
}
983983

984984
/**
985-
* @throws \PHPUnit\Framework\Exception
985+
* @throws Exception
986986
*/
987987
private function getTestSuite(DOMElement $testSuiteNode, string $testSuiteFilter = ''): TestSuite
988988
{

src/Util/Json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ final class Json
2929
/**
3030
* Prettify json string.
3131
*
32-
* @throws \PHPUnit\Framework\Exception
32+
* @throws Exception
3333
*/
3434
public static function prettify(string $json): string
3535
{

tests/end-to-end/regression/2137/Issue2137Test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ class Issue2137Test extends PHPUnit\Framework\TestCase
1212
/**
1313
* @dataProvider provideBrandService
1414
*
15-
* @throws \PHPUnit\Framework\ExpectationFailedException
16-
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
1715
* @throws Exception
16+
* @throws PHPUnit\Framework\ExpectationFailedException
17+
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
1818
*/
1919
public function testBrandService($provided, $expected): void
2020
{
@@ -32,9 +32,9 @@ public function provideBrandService()
3232
/**
3333
* @dataProvider provideBrandService
3434
*
35-
* @throws \PHPUnit\Framework\ExpectationFailedException
36-
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
3735
* @throws Exception
36+
* @throws PHPUnit\Framework\ExpectationFailedException
37+
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
3838
*/
3939
public function testSomethingElseInvalid($provided, $expected): void
4040
{

tests/unit/Framework/Constraint/IsJsonTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public static function evaluateDataprovider(): array
3030
*
3131
* @dataProvider evaluateDataprovider
3232
*
33-
* @throws \PHPUnit\Framework\ExpectationFailedException
3433
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
34+
* @throws ExpectationFailedException
3535
*/
3636
public function testEvaluate($expected, $jsonOther): void
3737
{

0 commit comments

Comments
 (0)