Add a comment explaining the use of @ instead of Silencer in this specific situation.
parent
c2d9960898
commit
86fc85fe56
|
@ -123,6 +123,8 @@ class ClassMapGenerator
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// Use @ here instead of Silencer to actively suppress 'unhelpful' output
|
||||||
|
// @link https://github.com/composer/composer/pull/4886
|
||||||
$contents = @php_strip_whitespace($path);
|
$contents = @php_strip_whitespace($path);
|
||||||
if (!$contents) {
|
if (!$contents) {
|
||||||
if (!file_exists($path)) {
|
if (!file_exists($path)) {
|
||||||
|
|
Loading…
Reference in New Issue