yyerror
@param string $message
@param string[] $expected
@return void
967739
public function yyerror( $message, $expected = null )
	{
		if ( ! is_null( $this->errorText ) && ! is_null( $expected ) && count( $expected ) > 0 )
		{
			$errorMsg = $message . ", expecting";
			for ( $n = 0; $n < count( $expected ); ++ $n )
				$errorMsg .= " " . $expected[ $n ];
			$this->errorText[] = "$errorMsg\n";
		} else
			$this->errorText[] = "$message\n";
	}
472878
protected function assertGreaterThan($expected, $actual, $message = '')
    {
        \PHPUnit\Framework\Assert::assertGreaterThan($expected, $actual, $message);
    }
852423
protected function writeError(OutputInterface $output, string $message)
    {
        if ($output instanceof ConsoleOutputInterface) {
            $output = $output->getErrorOutput();
        }

        $output->writeln($this->getHelper('formatter')->formatBlock($message, 'error'));
    }
1364041
private function error(string $message, $status = 1)
    {
        $this->printer->printError($message);
        exit($status);
    }
7532
public function assertGreaterThanOrEqual($expected, $message = '')
    {
        Assert::assertGreaterThanOrEqual($expected, $this->getData(), $message);

        return $this;
    }
871995
function logError( $message, array $more_info = [] ) {

		$more_info['path'] = $this->outputPath;

		parent::logError( $message, $more_info );
	}
1035852
public function error($message)
    {
        if ($this->logger) {
            $this->logger->error($message);
        }
        if (!$this->debug) {
            throw new \RuntimeException($message);
        }
    }
1164577
protected function assertSame($expected, $actual, $message = '')
    {
        \PHPUnit\Framework\Assert::assertSame($expected, $actual, $message);
    }
1371660
public function assertNotInternalType($expected, $message = '')
    {
        Assert::assertNotInternalType($expected, $this->getData(), $message);

        return $this;
    }
962392
static function assertEqualIterable(iterable $expected, $actual, string $message = ''): void
    {
        static::assertThat($actual, static::equalIterable($expected), $message);
    }
1162854
public function error ($message, $isRaw = false)
		{
			Yii::$app->notification->error($message, $isRaw);
		}
1003190
public static function error(...$messages): void
    {
        static::init();

        if (!static::isTemporaryDisabled('error')) {
            foreach (static::$adapters as $adapter) {
                /* @var $adapter \Koldy\Log\Adapter\AbstractLogAdapter */
                if ($adapter->isLevelEnabled(self::ERROR)) {
                    $adapter->error((new Message(self::ERROR))->setMessages($messages));
                }
            }
        }
    }
1221129
public function assertLessThanOrEqual($expected, $message = '')
    {
        Assert::assertLessThanOrEqual($expected, $this->getData(), $message);

        return $this;
    }
1127712
private function error(OutputInterface $output, $message, $args = array())
    {
        /** @noinspection HtmlUnknownTag */
        $output->writeln('<error>' . sprintf($message, $args) . '</error>');
        exit(0);
    }
735349
public function assertSame($expected, $message = '')
    {
        Assert::assertSame($expected, $this->getData(), $message);

        return $this;
    }
739767
protected function assertNotSame($expected, $actual, $message = '')
    {
        \PHPUnit\Framework\Assert::assertNotSame($expected, $actual, $message);
    }
647036
public function assertNotSame($expected, $message = '')
    {
        Assert::assertNotSame($expected, $this->getData(), $message);

        return $this;
    }