Skip to content

Commit 8a30ae3

Browse files
committed
Removed unnecessary __FILE__ variables
It is good practice not to use it with Symfony, and this project is small enought that it's unnecessary
1 parent 0f56ce5 commit 8a30ae3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/PostprocessingHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function ansi_to_html($text)
107107
array_push($stack, "</font>");
108108
break;
109109
default:
110-
error_log(__FUNCTION__."(): Unhandled ANSI code '$mode' in ".__FILE__);
110+
error_log(__FUNCTION__."(): Unhandled ANSI code '$mode'");
111111
break;
112112
}
113113
}

Symfony/src/Codebender/CompilerBundle/Handler/UtilityHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function extract_files($directory, $request_files, $lib_extraction)
9292
if (preg_match($REGEX, $filename, $matches))
9393
$files[$matches[2]][] = "$directory/$matches[1]";
9494
else
95-
error_log(__FUNCTION__."(): Unhandled file extension '$filename' in ".__FILE__);
95+
error_log(__FUNCTION__."(): Unhandled file extension '$filename'");
9696
}
9797

9898
// All files were extracted successfully.

0 commit comments

Comments
 (0)