Your project must not contain invalid function or method calls
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.invalid_call
- * @param string $message
- * @param \Throwable|null $prev
- */
- public function __construct(string $message, ?\Throwable $prev = null)
- {
- parent::__construct($message, $prev?->getCode() ?: 0, $prev);
- }
- }