Skip to content

Commit

Permalink
TestCase::willPluginOutputShow(): make static
Browse files Browse the repository at this point in the history
... to allow the function to be called from data providers.
  • Loading branch information
jrfnl committed Apr 19, 2022
1 parent a1b6e4e commit 5ba72ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase.php
Expand Up @@ -220,10 +220,10 @@ protected static function onWindows()
*
* @return bool
*/
protected function willPluginOutputShow()
protected static function willPluginOutputShow()
{
return ((\CLI_PHP_MINOR === '5.5'
&& $this->onWindows() === true
&& self::onWindows() === true
&& strpos(\COMPOSER_VERSION, '1') === 0) === false);
}

Expand Down

0 comments on commit 5ba72ef

Please sign in to comment.