Skip to content

Commit

Permalink
Merge branch '7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 13, 2018
2 parents 16161ef + 9c69283 commit 458cb3b
Show file tree
Hide file tree
Showing 37 changed files with 0 additions and 73 deletions.
2 changes: 0 additions & 2 deletions src/Framework/Constraint/ArrayHasKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public function __construct($key)
/**
* Returns a string representation of the constraint.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down Expand Up @@ -77,7 +76,6 @@ protected function matches($other): bool
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
3 changes: 0 additions & 3 deletions src/Framework/Constraint/ArraySubset.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public function __construct($subset, $strict = false)
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down Expand Up @@ -96,7 +95,6 @@ public function evaluate($other, $description = '', $returnResult = false)
/**
* Returns a string representation of the constraint.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand All @@ -114,7 +112,6 @@ public function toString(): string
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/Attribute.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public function __construct(Constraint $constraint, $attributeName)
* @param bool $returnResult Whether to return a result or throw an exception
*
* @throws ExpectationFailedException
* @throws \Exception
* @throws \PHPUnit\Framework\Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/Composite.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public function __construct(Constraint $innerConstraint)
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/ExceptionCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ protected function matches($other): bool
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/GreaterThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function __construct($value)
/**
* Returns a string representation of the constraint.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/IsEqual.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ public function evaluate($other, $description = '', $returnResult = false)
* Returns a string representation of the constraint.
*
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return string
*/
Expand Down
3 changes: 0 additions & 3 deletions src/Framework/Constraint/IsIdentical.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public function __construct($value)
*
* @throws ExpectationFailedException
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down Expand Up @@ -110,7 +109,6 @@ public function evaluate($other, $description = '', $returnResult = false)
* Returns a string representation of the constraint.
*
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return string
*/
Expand All @@ -133,7 +131,6 @@ public function toString(): string
* @param mixed $other evaluated value or object
*
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return string
*/
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/IsInstanceOf.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ protected function matches($other): bool
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/IsJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ protected function matches($other): bool
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/JsonMatches.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ protected function matches($other): bool
* @throws ExpectationFailedException
* @throws \PHPUnit\Framework\Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
protected function fail($other, $description, ComparisonFailure $comparisonFailure = null): void
{
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/LessThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public function __construct($value)
/**
* Returns a string representation of the constraint.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/LogicalAnd.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ public function setConstraints(array $constraints): void
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Framework/Constraint/LogicalNot.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ public static function negate($string): string
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down Expand Up @@ -164,7 +163,6 @@ public function count(): int
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/LogicalOr.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function setConstraints(array $constraints): void
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/LogicalXor.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public function setConstraints(array $constraints): void
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down
2 changes: 0 additions & 2 deletions src/Framework/Constraint/TraversableContains.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ public function __construct($value, bool $checkForObjectIdentity = true, bool $c
/**
* Returns a string representation of the constraint.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down Expand Up @@ -112,7 +111,6 @@ protected function matches($other): bool
*
* @param mixed $other evaluated value or object
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/Constraint/TraversableContainsOnly.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public function __construct(string $type, bool $isNativeType = true)
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return mixed
*/
Expand Down
1 change: 0 additions & 1 deletion src/Framework/IncompleteTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public function getMessage(): string
/**
* Returns a string representation of the test case.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
1 change: 0 additions & 1 deletion src/Framework/SkippedTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ public function getMessage(): string
/**
* Returns a string representation of the test case.
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*
* @return string
Expand Down
11 changes: 0 additions & 11 deletions src/Framework/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ protected function tearDown()/* The :void return type declaration that should be
* Returns a string representation of the test case.
*
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function toString(): string
{
Expand Down Expand Up @@ -348,7 +347,6 @@ public function getAnnotations(): array

/**
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function getName(bool $withDataSet = true): ?string
{
Expand All @@ -363,7 +361,6 @@ public function getName(bool $withDataSet = true): ?string
* Returns the size of the test.
*
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function getSize(): int
{
Expand All @@ -375,7 +372,6 @@ public function getSize(): int

/**
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function hasSize(): bool
{
Expand All @@ -384,7 +380,6 @@ public function hasSize(): bool

/**
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function isSmall(): bool
{
Expand All @@ -393,7 +388,6 @@ public function isSmall(): bool

/**
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function isMedium(): bool
{
Expand All @@ -402,7 +396,6 @@ public function isMedium(): bool

/**
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function isLarge(): bool
{
Expand Down Expand Up @@ -553,7 +546,6 @@ public function hasFailed(): bool
* @throws SebastianBergmann\CodeCoverage\RuntimeException
* @throws SebastianBergmann\CodeCoverage\UnintentionallyCoveredCodeException
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function run(TestResult $result = null): TestResult
{
Expand Down Expand Up @@ -1875,7 +1867,6 @@ private function snapshotGlobalState(): void
/**
* @throws RiskyTestError
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
* @throws \InvalidArgumentException
*/
private function restoreGlobalState(): void
Expand Down Expand Up @@ -1956,7 +1947,6 @@ private function createGlobalStateSnapshot(bool $backupGlobals): Snapshot
/**
* @throws RiskyTestError
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
* @throws \InvalidArgumentException
*/
private function compareGlobalStateSnapshots(Snapshot $before, Snapshot $after): void
Expand Down Expand Up @@ -2045,7 +2035,6 @@ private function shouldInvocationMockerBeReset(MockObject $mock): bool
* @throws SebastianBergmann\ObjectEnumerator\InvalidArgumentException
* @throws SebastianBergmann\ObjectReflector\InvalidArgumentException
* @throws SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
private function registerMockObjectsFromTestArguments(array $testArguments, array &$visited = []): void
{
Expand Down
2 changes: 0 additions & 2 deletions src/Framework/TestResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ public function startTest(Test $test): void
* @param Test $test
* @param float $time
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
public function endTest(Test $test, $time): void
Expand Down Expand Up @@ -615,7 +614,6 @@ public function getCollectCodeCoverageInformation(): bool
* @throws OriginalCoveredCodeNotExecutedException
* @throws OriginalMissingCoversAnnotationException
* @throws UnintentionallyCoveredCodeException
* @throws \Exception
* @throws \ReflectionException
* @throws \SebastianBergmann\CodeCoverage\InvalidArgumentException
* @throws \SebastianBergmann\CodeCoverage\RuntimeException
Expand Down
1 change: 0 additions & 1 deletion src/Framework/TestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,6 @@ public function setGroupDetails(array $groups): void
* Runs the tests and collects their result in a TestResult.
*
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
public function run(TestResult $result = null): TestResult
{
Expand Down
2 changes: 0 additions & 2 deletions src/Runner/PhptTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public function count(): int
* @throws \SebastianBergmann\CodeCoverage\RuntimeException
* @throws \SebastianBergmann\CodeCoverage\UnintentionallyCoveredCodeException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return TestResult
*/
Expand Down Expand Up @@ -315,7 +314,6 @@ private function assertPhptExpectation(array $sections, $output): void
* @param array $settings
*
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*
* @return bool
*/
Expand Down
1 change: 0 additions & 1 deletion src/Util/Log/JUnit.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ public function endTestSuite(TestSuite $suite): void
*
* @param Test $test
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
public function startTest(Test $test): void
Expand Down
2 changes: 0 additions & 2 deletions src/Util/PHP/AbstractPhpProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ public static function factory(): self
* @param Test $test
* @param TestResult $result
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
public function runTestJob($job, Test $test, TestResult $result): void
Expand Down Expand Up @@ -273,7 +272,6 @@ protected function settingsToParameters(array $settings): string
* @param string $stderr
*
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
* @throws \Exception
*/
private function processChildResult(Test $test, TestResult $result, $stdout, $stderr): void
{
Expand Down
1 change: 0 additions & 1 deletion src/Util/TestDox/ResultPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ public function endTestSuite(TestSuite $suite): void
*
* @param Test $test
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
public function startTest(Test $test): void
Expand Down
1 change: 0 additions & 1 deletion src/Util/TestDox/XmlResultPrinter.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ public function startTest(Test $test): void
* @param Test $test
* @param float $time
*
* @throws \Exception
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
public function endTest(Test $test, float $time): void
Expand Down
Loading

0 comments on commit 458cb3b

Please sign in to comment.