Your project must not contain invalid function or method calls

More information: https://insight.symfony.com/what-we-analyse/php.invalid_call

  1. * @param string $message
  2. * @param \Throwable|null $prev
  3. */
  4. public function __construct(string $message, ?\Throwable $prev = null)
  5. {
  6. parent::__construct($message, $prev?->getCode() ?: 0, $prev);
    Parameter #2 $code of method Exception::__construct() expects int, int|string given.
    Time to fix: about 9 minutes
    Read doc Permalink Copy Prompt
    Last edited by Fery Wardiyanto
  7. }
  8. }