Add comment to ternary operators fix

[MAILPOET-3232]
This commit is contained in:
Rostislav Wolny
2020-10-21 09:45:48 +02:00
committed by Veljko V
parent d3f723fa5b
commit ac367463f9

View File

@@ -6,7 +6,9 @@ set_error_handler(function ($severity, $message, $file, $line) {
});
$replacements = [
// Fix deprecation warnings for nested ternary operators
// Fix for PHP 7.4 deprecation warnings for nested ternary operators without brackets
// This is caused by a bug in PHP Parser used within PHP Scoper. We can remove it after we update to PHP Scoper
// that contains updated PHP Parser.
[
'file' => '../vendor-prefixed/nesbot/carbon/src/Carbon/CarbonInterval.php',
'find' => [