mirror of
https://github.com/dg/dibi.git
synced 2025-08-05 05:37:39 +02:00
removed support for PHP 7
This commit is contained in:
@@ -147,9 +147,9 @@ if ($config['system'] === 'mysql') {
|
||||
->limit(' 1; DROP TABLE users')
|
||||
->offset(' 1; DROP TABLE users');
|
||||
|
||||
Assert::error(function () use ($fluent) {
|
||||
Assert::exception(function () use ($fluent) {
|
||||
(string) $fluent;
|
||||
}, E_USER_ERROR, "Expected number, ' 1; DROP TABLE users' given.");
|
||||
}, Dibi\Exception::class, "Expected number, ' 1; DROP TABLE users' given.");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user