Skip to content

Commit

Permalink
Merge branch '7.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 23, 2018
2 parents 42d4850 + 0c42e41 commit 5dd42dc
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 15 deletions.
4 changes: 0 additions & 4 deletions src/Framework/Assert.php
Expand Up @@ -287,8 +287,6 @@ public static function assertAttributeNotContains($needle, string $haystackAttri
/**
* Asserts that a haystack contains only values of a given type.
*
* @param null|bool $isNativeType
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
Expand Down Expand Up @@ -349,8 +347,6 @@ public static function assertAttributeContainsOnly(string $type, string $haystac
/**
* Asserts that a haystack does not contain only values of a given type.
*
* @param null|bool $isNativeType
*
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
*/
Expand Down
4 changes: 0 additions & 4 deletions src/Framework/Assert/Functions.php
Expand Up @@ -157,8 +157,6 @@ function assertAttributeNotContains($needle, string $haystackAttributeName, $hay
/**
* Asserts that a haystack contains only values of a given type.
*
* @param null|bool $isNativeType
*
* @throws Exception
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
Expand Down Expand Up @@ -197,8 +195,6 @@ function assertAttributeContainsOnly(string $type, string $haystackAttributeName
/**
* Asserts that a haystack does not contain only values of a given type.
*
* @param null|bool $isNativeType
*
* @throws Exception
* @throws ExpectationFailedException
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
Expand Down
2 changes: 0 additions & 2 deletions src/Framework/ExceptionWrapper.php
Expand Up @@ -102,8 +102,6 @@ public function getOriginalException(): ?Throwable
* Method to contain static originalException to exclude it from stacktrace to prevent the stacktrace contents,
* which can be quite big, from being garbage-collected, thus blocking memory until shutdown.
* Approach works both for var_dump() and var_export() and print_r()
*
* @param null|Throwable $exceptionToStore
*/
private function originalException(Throwable $exceptionToStore = null): ?Throwable
{
Expand Down
2 changes: 0 additions & 2 deletions src/Framework/MockObject/MockBuilder.php
Expand Up @@ -177,8 +177,6 @@ public function getMockForTrait()
/**
* Specifies the subset of methods to mock. Default is to mock none of them.
*
* @param null|array $methods
*
* @return MockBuilder
*/
public function setMethods(array $methods = null)
Expand Down
6 changes: 3 additions & 3 deletions src/Util/TestDox/NamePrettifier.php
Expand Up @@ -69,9 +69,9 @@ public function prettifyTestCase(TestCase $test): string
$annotation = $annotations['method']['testdox'][0];
$providedData = $this->mapTestMethodParameterNamesToProvidedDataValues($test);

$result = trim(
str_replace(
array_keys($providedData),
$result = \trim(
\str_replace(
\array_keys($providedData),
$providedData,
$annotation
)
Expand Down

0 comments on commit 5dd42dc

Please sign in to comment.