10000 Avoid CamelCase · symfony/symfony@1a12b1c · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a12b1c

Browse files
committed
Avoid CamelCase
1 parent 79921b3 commit 1a12b1c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ public static function collectDeprecations($outputFile)
123123
}
124124
static $autoload = true;
125125

126-
$ErrorHandler = class_exists('PHPUnit_Util_ErrorHandler', $autoload) ? 'PHPUnit_Util_ErrorHandler' : 'PHPUnit\Util\ErrorHandler';
126+
$errorHandler = class_exists('PHPUnit_Util_ErrorHandler', $autoload) ? 'PHPUnit_Util_ErrorHandler' : 'PHPUnit\Util\ErrorHandler';
127127
$autoload = false;
128128

129-
return $ErrorHandler::handleError($type, $msg, $file, $line, $context);
129+
return $errorHandler::handleError($type, $msg, $file, $line, $context);
130130
}
131131
$deprecations[] = array(error_reporting(), $msg, $file);
132132
});
@@ -237,9 +237,9 @@ public static function handleError($type, $msg, $file, $line, $context = array()
237237
{
238238
$mode = self::$mode;
239239
if ((E_USER_DEPRECATED !== $type && E_DEPRECATED !== $type) || self::MODE_DISABLED === $mode) {
240-
$ErrorHandler = self::utilPrefix().'ErrorHandler';
240+
$errorHandler = self::utilPrefix().'ErrorHandler';
241241

242-
return $ErrorHandler::handleError($type, $msg, $file, $line, $context);
242+
return $errorHandler::handleError($type, $msg, $file, $line, $context);
243243
}
244244

245245
$trace = debug_backtrace();

0 commit comments

Comments
 (0)
0