Skip to content

Commit

Permalink
Enable native_constant_invocation CS fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jul 26, 2018
1 parent fe3fca1 commit 85c9541
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeprecationErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static function register($mode = 0)
echo "\n".ucfirst($group).' deprecation triggered by '.$class.'::'.$method.':';
echo "\n".$msg;
echo "\nStack trace:";
echo "\n".str_replace(' '.getcwd().DIRECTORY_SEPARATOR, ' ', $e->getTraceAsString());
echo "\n".str_replace(' '.getcwd().\DIRECTORY_SEPARATOR, ' ', $e->getTraceAsString());
echo "\n";

exit(1);
Expand Down Expand Up @@ -230,7 +230,7 @@ private static function hasColorSupport()
return true;
}

if (DIRECTORY_SEPARATOR === '\\') {
if (\DIRECTORY_SEPARATOR === '\\') {
return (\function_exists('sapi_windows_vt100_support')
&& sapi_windows_vt100_support(STDOUT))
|| false !== getenv('ANSICON')
Expand Down

0 comments on commit 85c9541

Please sign in to comment.