for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LE_ACME2\Exception;
use LE_ACME2\Utilities;
abstract class AbstractException extends \Exception {
public function __construct(string $message) {
Utilities\Logger::getInstance()->add(
add()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
Utilities\Logger::getInstance()->/** @scrutinizer ignore-call */ add(
Utilities\Logger::LEVEL_DEBUG,
'Exception "' . get_called_class() . '" thrown '
);
parent::__construct($message);
}