Skip to content

Commit a5adf67

Browse files
committed
Renamed method for consistency (ref #3630)
1 parent 62af587 commit a5adf67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Runner.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Runner
5353
*/
5454
public function runPHPCS()
5555
{
56-
$this->register_out_of_memory_shutdown_message('phpcs');
56+
$this->registerOutOfMemoryShutdownMessage('phpcs');
5757

5858
try {
5959
Util\Timing::startTiming();
@@ -155,7 +155,7 @@ public function runPHPCS()
155155
*/
156156
public function runPHPCBF()
157157
{
158-
$this->register_out_of_memory_shutdown_message('phpcbf');
158+
$this->registerOutOfMemoryShutdownMessage('phpcbf');
159159

160160
if (defined('PHP_CODESNIFFER_CBF') === false) {
161161
define('PHP_CODESNIFFER_CBF', true);
@@ -902,7 +902,7 @@ public function printProgress(File $file, $numFiles, $numProcessed)
902902
*
903903
* @return void
904904
*/
905-
private function register_out_of_memory_shutdown_message($command)
905+
private function registerOutOfMemoryShutdownMessage($command)
906906
{
907907
// Allocate all needed memory beforehand as much as possible.
908908
$errorMsg = PHP_EOL.'The PHP_CodeSniffer "%1$s" command ran out of memory.'.PHP_EOL;
@@ -930,7 +930,7 @@ static function () use (
930930
}
931931
);
932932

933-
}//end register_out_of_memory_shutdown_message()
933+
}//end registerOutOfMemoryShutdownMessage()
934934

935935

936936
}//end class

0 commit comments

Comments
 (0)