Skip to content

Commit

Permalink
BC break: removed method TAssertions::showStringOrArray
Browse files Browse the repository at this point in the history
  • Loading branch information
konecnyjakub committed Dec 16, 2024
1 parent 46615fb commit 2a80fce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Version 7.0.0-dev
- BC break: replaced method IResultsFormatter::render with outputResults
- BC break: only array can be passed to attribute Skip (if any value is passed)
- improved error message for assertions assertSame and assertNotSame when any passed value is boolean
- deprecated method TAssertions::showStringOrArray in favor of new showValue (the latter accepts value of any type)
- BC break: replaced method TAssertions::showStringOrArray with showValue (the latter accepts value of any type)
- allowing skipping tests based on OS family with default skip checker
- BC break: renamed TestsStartedEvent to TestsStarted and TestsFinishedEvent to TestsFinished
- BC break: made Job::getSkip() protected
Expand Down
9 changes: 0 additions & 9 deletions src/TAssertions.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@ protected function showValue(mixed $variable): string
return var_export($variable, true);
}

#[\Deprecated("Use method showValue instead")]
/**
* @deprecated Use method {@see self::showValue()} instead
*/
protected function showStringOrArray(string|array $variable): string
{
return $this->showValue($variable);
}

/**
* Tries an assertion
*/
Expand Down

0 comments on commit 2a80fce

Please sign in to comment.