mirror of
https://github.com/dg/dibi.git
synced 2025-08-02 20:27:35 +02:00
added declare(strict_types=1);
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
||||||
die('Install dependencies using `composer install --dev`');
|
die('Install dependencies using `composer install --dev`');
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Dibi\Type;
|
use Dibi\Type;
|
||||||
|
|
||||||
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
||||||
die('Install dependencies using `composer install --dev`');
|
die('Install dependencies using `composer install --dev`');
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
||||||
die('Install dependencies using `composer install --dev`');
|
die('Install dependencies using `composer install --dev`');
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
if (@!include __DIR__ . '/../vendor/autoload.php') {
|
||||||
die('Install dependencies using `composer install --dev`');
|
die('Install dependencies using `composer install --dev`');
|
||||||
}
|
}
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Bridges\Nette;
|
namespace Dibi\Bridges\Nette;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Bridges\Tracy;
|
namespace Dibi\Bridges\Tracy;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
use Traversable;
|
use Traversable;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Drivers;
|
namespace Dibi\Drivers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Loggers;
|
namespace Dibi\Loggers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Loggers;
|
namespace Dibi\Loggers;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Reflection;
|
namespace Dibi\Reflection;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Reflection;
|
namespace Dibi\Reflection;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Reflection;
|
namespace Dibi\Reflection;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Reflection;
|
namespace Dibi\Reflection;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Reflection;
|
namespace Dibi\Reflection;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi\Reflection;
|
namespace Dibi\Reflection;
|
||||||
|
|
||||||
use Dibi;
|
use Dibi;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
use ReflectionClass;
|
use ReflectionClass;
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Dibi\Type;
|
use Dibi\Type;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
* Copyright (c) 2005 David Grudl (https://davidgrudl.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Dibi;
|
namespace Dibi;
|
||||||
|
|
||||||
|
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\Connection;
|
use Dibi\Connection;
|
||||||
|
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\Row;
|
use Dibi\Row;
|
||||||
|
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\Row;
|
use Dibi\Row;
|
||||||
|
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\Fluent;
|
use Dibi\Fluent;
|
||||||
|
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider? ../databases.ini mysql
|
* @dataProvider? ../databases.ini mysql
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\Row;
|
use Dibi\Row;
|
||||||
|
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Dibi\Helpers;
|
use Dibi\Helpers;
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider? ../databases.ini postgre
|
* @dataProvider? ../databases.ini postgre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini !=odbc, !=sqlsrv
|
* @dataProvider ../databases.ini !=odbc, !=sqlsrv
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\Type;
|
use Dibi\Type;
|
||||||
|
|
||||||
@@ -164,7 +166,7 @@ test(function () {
|
|||||||
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
||||||
Assert::exception(function () use ($result) {
|
Assert::exception(function () use ($result) {
|
||||||
$result->test(['col' => TRUE]);
|
$result->test(['col' => TRUE]);
|
||||||
}, Exception::class);
|
}, TypeError::class);
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
||||||
|
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
||||||
@@ -183,7 +185,7 @@ test(function () {
|
|||||||
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
||||||
Assert::exception(function () use ($result) {
|
Assert::exception(function () use ($result) {
|
||||||
$result->test(['col' => TRUE]);
|
$result->test(['col' => TRUE]);
|
||||||
}, Exception::class);
|
}, TypeError::class);
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
||||||
|
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
||||||
@@ -201,7 +203,7 @@ test(function () {
|
|||||||
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
||||||
Assert::exception(function () use ($result) {
|
Assert::exception(function () use ($result) {
|
||||||
$result->test(['col' => TRUE]);
|
$result->test(['col' => TRUE]);
|
||||||
}, Exception::class);
|
}, TypeError::class);
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
||||||
|
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
||||||
@@ -217,7 +219,7 @@ test(function () {
|
|||||||
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
Assert::same(['col' => NULL], $result->test(['col' => NULL]));
|
||||||
Assert::exception(function () use ($result) {
|
Assert::exception(function () use ($result) {
|
||||||
$result->test(['col' => TRUE]);
|
$result->test(['col' => TRUE]);
|
||||||
}, Exception::class);
|
}, TypeError::class);
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
Assert::same(['col' => NULL], $result->test(['col' => FALSE]));
|
||||||
|
|
||||||
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
Assert::same(['col' => NULL], $result->test(['col' => '']));
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider? ../databases.ini sqlsrv
|
* @dataProvider? ../databases.ini sqlsrv
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider? ../databases.ini sqlsrv
|
* @dataProvider? ../databases.ini sqlsrv
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @phpversion 5.5
|
* @phpversion 5.5
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini
|
* @dataProvider ../databases.ini
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
use Dibi\DateTime;
|
use Dibi\DateTime;
|
||||||
|
|
||||||
|
@@ -1,5 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
// The Nette Tester command-line runner can be
|
// The Nette Tester command-line runner can be
|
||||||
// invoked through the command: ../../vendor/bin/tester .
|
// invoked through the command: ../../vendor/bin/tester .
|
||||||
|
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* @dataProvider? ../databases.ini mysql
|
* @dataProvider? ../databases.ini mysql
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* @dataProvider? ../databases.ini postgre
|
* @dataProvider? ../databases.ini postgre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -5,6 +5,8 @@
|
|||||||
* @dataProvider ../databases.ini sqlite
|
* @dataProvider ../databases.ini sqlite
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider ../databases.ini !=odbc
|
* @dataProvider ../databases.ini !=odbc
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
@@ -4,6 +4,8 @@
|
|||||||
* @dataProvider? ../databases.ini mysql
|
* @dataProvider? ../databases.ini mysql
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
use Tester\Assert;
|
use Tester\Assert;
|
||||||
|
|
||||||
require __DIR__ . '/bootstrap.php';
|
require __DIR__ . '/bootstrap.php';
|
||||||
|
Reference in New Issue
Block a user