1
0
Fork 0

Add a comment explaining the use of @ instead of Silencer in this specific situation.

pull/4886/head
Niels Keurentjes 2016-02-06 02:04:48 +01:00
parent c2d9960898
commit 86fc85fe56
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ class ClassMapGenerator
}
try {
// Use @ here instead of Silencer to actively suppress 'unhelpful' output
// @link https://github.com/composer/composer/pull/4886
$contents = @php_strip_whitespace($path);
if (!$contents) {
if (!file_exists($path)) {