runonce/migrate.php
public function handleError($errno, $errstr, $errfile, $errline)
    {
        if ($errno === E_NOTICE) {
            return;
        }

        throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
    }
public function handleError($errno, $errstr, $errfile, $errline)
    {
        if ($errno === E_NOTICE) {
            return;
        }

        throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
    }
Handle errors properly as a workaround of the broken cca/composer-plugin error handler.

@param int    $errno   Contains the level of the error raised, as an integer.
@param string $errstr  The error message.
@param string $errfile The file in which the error occured.
@param int    $errline The line in the file on which the error occured.

@return void

@throws \ErrorException Always, the error converted to an ErrorException.