repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Expression/Value/Builder/StructuredValueBuilder.php | src/Expression/Value/Builder/StructuredValueBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Expression\Value\Builder;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\StructuredValue;
use Yiisoft\Db\Query\QueryInterface;
use Yiisoft\Db\Schema\Data\JsonLazyArray;
use Yiisoft\Db\Schema\Data\LazyArray;
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Expression/Value/Builder/AbstractArrayValueBuilder.php | src/Expression/Value/Builder/AbstractArrayValueBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Expression\Value\Builder;
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
use Yiisoft\Db\Expression\Value\ArrayValue;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Query\QueryInterface;
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
use Yi... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Expression/Value/Builder/AbstractStructuredValueBuilder.php | src/Expression/Value/Builder/AbstractStructuredValueBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Expression\Value\Builder;
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Expression\Value\StructuredValue;
use Yiisoft\Db\Helper\DbArrayHelper;
use Yiisoft\Db\Query\QueryInterface;
use Yiisoft\Db\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Expression/Value/Builder/ValueBuilder.php | src/Expression/Value/Builder/ValueBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Expression\Value\Builder;
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Expression\Value\Value;
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
/**
* Builder for {@see Value} expressions tha... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Expression/Value/Builder/DateTimeValueBuilder.php | src/Expression/Value/Builder/DateTimeValueBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Expression\Value\Builder;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Expression\ExpressionBuilderInterface;
use Yiisoft\Db\Expression\Value\DateTimeValue;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
use ... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Command/CommandInterface.php | src/Command/CommandInterface.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Command;
use Closure;
use JsonException;
use Throwable;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Constant\IndexType;
use Yiisoft\Db\Constant\PseudoType;
use Yiisoft\Db\Consta... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | true |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/src/Command/AbstractCommand.php | src/Command/AbstractCommand.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Command;
use Closure;
use Throwable;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Exception\Exception;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Query\DataReaderInterface;
use Yiisoft\Db\Qu... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/QuoterTest.php | tests/Db/Schema/QuoterTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Schema\Quoter;
/**
* @group db
*/
final class QuoterTest extends TestCase
{
public function testQuoteSimpleColumnNameWithStart... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/TableSchemaTest.php | tests/Db/Schema/TableSchemaTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constraint\Check;
use Yiisoft\Db\Constraint\DefaultValue;
use Yiisoft\Db\Constraint\ForeignKey;
use Yiisoft\Db\Constraint\Index;
use Yiisoft\Db\Schema\Column\ColumnBuilder;
use Yiisoft\Db\Schema\TableS... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/SchemaTest.php | tests/Db/Schema/SchemaTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema;
use Yiisoft\Db\Cache\SchemaCache;
use Yiisoft\Db\Constraint\Check;
use Yiisoft\Db\Constraint\DefaultValue;
use Yiisoft\Db\Constraint\ForeignKey;
use Yiisoft\Db\Constraint\Index;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Schema\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Column/ColumnTest.php | tests/Db/Schema/Column/ColumnTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Column;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constraint\ForeignKey;
use Yiisoft\Db\Expression\Value\ArrayValue;
use Yiisoft\Db\Schema\Column\ArrayColumn;
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Column/EnumColumnTest.php | tests/Db/Schema/Column/EnumColumnTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Column;
use LogicException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Schema\Column\EnumColumn;
final class EnumColumnTest extends TestCase
{
public function testValues(): void
{
$column = new EnumColumn();
$this->asse... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Column/ColumnFactoryTest.php | tests/Db/Schema/Column/ColumnFactoryTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Column;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Schema\Column\AbstractArrayColumn;
use Yiisoft\Db\Schema\Column\ArrayLazyColumn;
use Yiisoft\Db\Schema\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Data/ResourceStreamTest.php | tests/Db/Schema/Data/ResourceStreamTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Data;
use LogicException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\GettypeResult;
use Yiisoft\Db\Schema\Data\StringableStream;
use function fclose;
use function fopen;
use function gettype;
use function serialize;
use function unseri... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Data/LazyArrayJsonTest.php | tests/Db/Schema/Data/LazyArrayJsonTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Data;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Schema\Data\JsonLazyArray;
use function iterator_to_array;
/**
* @group db
*/
final class LazyArrayJsonTest extends... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Data/LazyArrayStructuredTest.php | tests/Db/Schema/Data/LazyArrayStructuredTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Data;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Schema\Data\StructuredLazyArray;
/**
* @group db
*/
final class LazyArrayStructuredTest extends TestCase
{
public function testNullValue()
{
$lazyA... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Schema/Data/LazyArrayTest.php | tests/Db/Schema/Data/LazyArrayTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Schema\Data;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Schema\Data\LazyArray;
/**
* @group db
*/
final class LazyArrayTest extends TestCase
{
public function testNullValue()
{
$lazyArray = new LazyArray... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Driver/Pdo/PdoConnectionTest.php | tests/Db/Driver/Pdo/PdoConnectionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Driver\Pdo;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Cache\SchemaCache;
use Yiisoft\Db\Exception\InvalidCallException;
use Yiisoft\Db\Exception\InvalidConfigException;
use Yiisoft\Db\Tests\Support\Stub\StubConnection;
use Yiisoft\Db\Tests\Support\Stu... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Driver/Pdo/PdoDriverTest.php | tests/Db/Driver/Pdo/PdoDriverTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Driver\Pdo;
use PDO;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Tests\Support\Assert;
use Yiisoft\Db\Tests\Support\Stub\StubPdoDriver;
/**
* @group db
*
* @psalm-suppress PropertyNotSetInConstructor
*/
final class PdoDriverTest extends TestCase
{
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Driver/Pdo/PdoServerInfoTest.php | tests/Db/Driver/Pdo/PdoServerInfoTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Driver\Pdo;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Tests\Support\TestHelper;
class PdoServerInfoTest extends TestCase
{
public function testGetTimezone(): void
{
$db = TestHelper::cre... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Query/QueryTest.php | tests/Db/Query/QueryTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Query;
use LogicException;
use PHPUnit\Framework\Attributes\DataProvider;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Tests\Support\Assert;
use Yiisoft\Db\Tests\Support\In... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Cache/SchemaCacheTest.php | tests/Db/Cache/SchemaCacheTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Cache;
use PHPUnit\Framework\TestCase;
use Psr\SimpleCache\CacheInterface;
use RuntimeException;
use Yiisoft\Db\Cache\SchemaCache;
use Yiisoft\Db\Exception\PsrInvalidArgumentException;
use Yiisoft\Db\Tests\Support\Assert;
use Yiisoft\Test\Support\SimpleCac... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Exception/ExceptionTest.php | tests/Db/Exception/ExceptionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Exception;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Exception\Exception;
/**
* @group db
*
* @psalm-suppress PropertyNotSetInConstructor
*/
final class ExceptionTest extends TestCase
{
public function testException(): void
{
$exc... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Exception/ConvertExceptionTest.php | tests/Db/Exception/ConvertExceptionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Exception;
use Exception;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Exception\ConvertException;
/**
* @group db
*
* @psalm-suppress PropertyNotSetInConstructor
*/
final class ConvertExceptionTest extends TestCase
{
public function testRun(): ... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/ColumnDefinitionBuilderTest.php | tests/Db/QueryBuilder/ColumnDefinitionBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\QueryBuilder\AbstractColumnDefinitionBuilder;
use Yiisoft\Db\Schema\Column\ColumnBuilder;
use Yiisoft\Db\Schema\Column\ColumnInterface;
use Yiisoft\Db\Tests\Support\Stub\ColumnDefinitionBuilder;
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/QueryBuilderTest.php | tests/Db/QueryBuilder/QueryBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder;
use Closure;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Connection\ServerInfoInterface;
use Yiisoft\Db\Exception\Exception;
use InvalidArgumentException;
use Yiisoft\Db... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/InTest.php | tests/Db/QueryBuilder/Condition/InTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\QueryBuilder\Condition\In;
/**
* @group db
*/
final class InTest extends TestCase
{
public function testConstructor(): void
{
$inConditi... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/NotExistsTest.php | tests/Db/QueryBuilder/Condition/NotExistsTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\QueryBuilder\Condition\NotExists;
use Yiisoft\Db\Tests\Support\TestHelper;
/**
* @group db
*/
final class NotExistsTest exte... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/AndXTest.php | tests/Db/QueryBuilder/Condition/AndXTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\QueryBuilder\Condition\AndX;
/**
* @group db
*/
final class AndXTest extends TestCase
{
public function testConstructor(): void
{
$andCondition = new AndX(['a' => 1],... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/BetweenTest.php | tests/Db/QueryBuilder/Condition/BetweenTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\QueryBuilder\Condition\Between;
/**
* @group db
*/
final class BetweenTest extends TestCase
{
public function testConstructor(): void
{
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/NotTest.php | tests/Db/QueryBuilder/Condition/NotTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\QueryBuilder\Condition\Not;
/**
* @group db
*/
final class NotTest extends TestCase
{
public function testConstructor(): void
{
$notCond... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/LikeTest.php | tests/Db/QueryBuilder/Condition/LikeTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\Attributes\TestWith;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\QueryBuilder\Condition\Like;
use Yiisoft\Db\QueryBuilder\Condition\LikeMode;
/**
* @group db
*/
final class L... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/AllTest.php | tests/Db/QueryBuilder/Condition/AllTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\QueryBuilder\Condition\All;
use Yiisoft\Db\Tests\Support\TestHelper;
use function PHPUnit\Framework\assertSame;
final class AllTest extends TestCase
{
public function testQuery():... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/NoneTest.php | tests/Db/QueryBuilder/Condition/NoneTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\QueryBuilder\Condition\None;
use Yiisoft\Db\Tests\Support\TestHelper;
use function PHPUnit\Framework\assertSame;
final class NoneTest extends TestCase
{
public function testQuery(... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/ExistsTest.php | tests/Db/QueryBuilder/Condition/ExistsTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Connection\ConnectionInterface;
use InvalidArgumentException;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\QueryBuilder\Condition\Exists;
/**
* @group db
*/
final class ExistsTest exte... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/EqualsTest.php | tests/Db/QueryBuilder/Condition/EqualsTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\QueryBuilder\Condition\Equals;
use function PHPUnit\Framework\assertSame;
/**
* @group db
*/
final class... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/SimpleTest.php | tests/Db/QueryBuilder/Condition/SimpleTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\QueryBuilder\Condition\Simple;
/**
* @group db
*/
final class SimpleTest extends TestCase
{
public function testConstructor(): void
{
$s... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/NotBetweenTest.php | tests/Db/QueryBuilder/Condition/NotBetweenTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\QueryBuilder\Condition\NotBetween;
/**
* @group db
*/
final class NotBetweenTest extends TestCase
{
public function testConstructor(): void
{
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/Builder/CompareBuilderTest.php | tests/Db/QueryBuilder/Condition/Builder/CompareBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition\Builder;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\QueryBuilder\Condit... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/QueryBuilder/Condition/Builder/LikeBuilderTest.php | tests/Db/QueryBuilder/Condition/Builder/LikeBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\QueryBuilder\Condition\Builder;
use PHPUnit\Framework\Attributes\TestWith;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\QueryBuilder\Condition\Builder\LikeBuilder;
use Yiisoft\Db\Qu... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Syntax/ColumnDefinitionParserTest.php | tests/Db/Syntax/ColumnDefinitionParserTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Syntax;
use Yiisoft\Db\Syntax\ColumnDefinitionParser;
use Yiisoft\Db\Tests\Common\CommonColumnDefinitionParserTest;
/**
* @group db
*/
final class ColumnDefinitionParserTest extends CommonColumnDefinitionParserTest
{
protected function createColumnD... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Helper/DbStringHelperTest.php | tests/Db/Helper/DbStringHelperTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Helper;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Helper\DbStringHelper;
/**
* @group db
*/
final class DbStringHelperTest extends TestCase
{
public function testIsReadQuery(): void
{
$this->assertTrue(DbStringHelper::isReadQuery('S... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Helper/DbArrayHelperTest.php | tests/Db/Helper/DbArrayHelperTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Helper;
use Closure;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Helper\DbArrayHelper;
use Yiisoft\Db\Tests\Provider\DbArrayHelperProvider;
/**
* @group db
*/
final class DbArrayHelperTest extend... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Helper/DbUuidHelperTest.php | tests/Db/Helper/DbUuidHelperTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Helper;
use PHPUnit\Framework\TestCase;
use InvalidArgumentException;
use Yiisoft\Db\Helper\DbUuidHelper;
/**
* @group db
*/
final class DbUuidHelperTest extends TestCase
{
/**
* @dataProvider successUuids
*/
public function testConver... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Connection/ConnectionTest.php | tests/Db/Connection/ConnectionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Connection;
use PHPUnit\Framework\Attributes\TestWith;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Cache\SchemaCache;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Tests\S... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Connection/ConnectionProviderTest.php | tests/Db/Connection/ConnectionProviderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Connection;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Connection\ConnectionProvider;
use Yiisoft\Db\Tests\Support\TestHelper;
final class ConnectionProviderTest extends TestCase
{
public function testConnectionProvid... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Constraint/DefaultValueTest.php | tests/Db/Constraint/DefaultValueTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Constraint;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constraint\DefaultValue;
/**
* @group db
*/
final class DefaultValueTest extends TestCase
{
public function testDefaults(): void
{
$defaultValue = new DefaultValue();
$t... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Constraint/ForeignKeyTest.php | tests/Db/Constraint/ForeignKeyTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Constraint;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\ReferentialAction;
use Yiisoft\Db\Constraint\ForeignKey;
/**
* @group db
*/
final class ForeignKeyTest extends TestCase
{
public function testDefaults(): void
{
$foreign... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Constraint/CheckTest.php | tests/Db/Constraint/CheckTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Constraint;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constraint\Check;
/**
* @group db
*/
final class CheckTest extends TestCase
{
public function testDefaults(): void
{
$check = new Check();
$this->assertSame('', $check->... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Constraint/IndexTest.php | tests/Db/Constraint/IndexTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Constraint;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constraint\Index;
/**
* @group db
*/
final class IndexTest extends TestCase
{
public function testDefaults(): void
{
$index = new Index();
$this->assertSame('', $index->... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/CompositeExpressionBuilderTest.php | tests/Db/Expression/CompositeExpressionBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\CompositeExpression;
use Yiisoft\Db\Expression\CompositeExpressionBuilder;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Tests\Support\TestHelper;
/**
* @group db
*/
final clas... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Function/LengthTest.php | tests/Db/Expression/Function/LengthTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Function;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Expression\Function\Length;
use Yiisoft\Db\Expression\Value\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Function/MultiOperandFunctionTest.php | tests/Db/Expression/Function/MultiOperandFunctionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Function;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\ArrayValue;
use Yiisoft\Db\Expression\Function\ArrayMerge;
use Yiisoft\Db\Expression\Funct... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Function/ArrayMergeTest.php | tests/Db/Expression/Function/ArrayMergeTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Function;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Function\ArrayMerge;
use Yiisoft\Db\Schema\Column\IntegerColumn;
final class ArrayMergeTest extends TestCase
{
public function testType(): void
{
$expression = ... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Statement/CaseXTest.php | tests/Db/Expression/Statement/CaseXTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Statement;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Expression\Statement\CaseX;
use Yiisoft\Db\Expression\Statement\WhenThen... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/DateTimeValueTest.php | tests/Db/Expression/Value/DateTimeValueTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value;
use DateTimeImmutable;
use InvalidArgumentException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Expression\Value\DateTimeValue;
final class DateTimeVa... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/ArrayValueTest.php | tests/Db/Expression/Value/ArrayValueTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value;
use ArrayIterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\ArrayValue;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Query\QueryInterface;
use Yiisoft\Db\Schema\Column\Ar... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/StructuredValueTest.php | tests/Db/Expression/Value/StructuredValueTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value;
use ArrayIterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\StructuredValue;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Schema\Column\AbstractStructuredColumn;
use Yiis... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/JsonValueTest.php | tests/Db/Expression/Value/JsonValueTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value;
use ArrayIterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\JsonValue;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Schema\Data\JsonLazyArray;
use Yiisoft\Db\Tests\Suppor... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/Builder/ParamBuilderTest.php | tests/Db/Expression/Value/Builder/ParamBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value\Builder;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\Builder\ParamBuilder;
use Yiisoft\Db\Expression\Expression;
/**
* @group db
*/
final class ParamBuilderTest extends TestCase
{
public function testBuild(): voi... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/Builder/DateTimeValueBuilderTest.php | tests/Db/Expression/Value/Builder/DateTimeValueBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value\Builder;
use DateTimeImmutable;
use DateTimeZone;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Expression\Value\Build... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/Builder/ArrayValueBuilderTest.php | tests/Db/Expression/Value/Builder/ArrayValueBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value\Builder;
use ArrayIterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\ArrayValue;
use Yiisoft\Db\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/Builder/StructuredValueBuilderTest.php | tests/Db/Expression/Value/Builder/StructuredValueBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value\Builder;
use ArrayIterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\StructuredValue;
use Yiisof... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Expression/Value/Builder/JsonValueBuilderTest.php | tests/Db/Expression/Value/Builder/JsonValueBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Expression\Value\Builder;
use ArrayIterator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\JsonValue;
use Yiisoft\Db\E... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Db/Command/CommandTest.php | tests/Db/Command/CommandTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Db\Command;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Constant\PseudoType;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Schema\Column\Colum... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/CompareValue.php | tests/Support/CompareValue.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
abstract class CompareValue {}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/StringEnum.php | tests/Support/StringEnum.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
enum StringEnum: string
{
case EMPTY = '';
case ONE = 'one';
case TWO = 'two';
case THREE = 'three';
}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/IsOneOfAssert.php | tests/Support/IsOneOfAssert.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use PHPUnit\Framework\Constraint\Constraint;
use Yiisoft\VarDumper\VarDumper;
use function implode;
use function in_array;
/**
* @psalm-suppress PropertyNotSetInConstructor
*/
final class IsOneOfAssert extends Constraint
{
/** @psalm-param st... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/JsonSerializableObject.php | tests/Support/JsonSerializableObject.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use JsonSerializable;
/**
* Object that implements the `JsonSerializable` interface for testing purposes.
*/
final class JsonSerializableObject implements JsonSerializable
{
public function __construct(private readonly array $data) {}
pub... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/IntegrationTestCase.php | tests/Support/IntegrationTestCase.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Connection\ConnectionInterface;
abstract class IntegrationTestCase extends TestCase
{
private static ?ConnectionInterface $connection = null;
final protected function getSharedConnection(): Con... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/TraversableObject.php | tests/Support/TraversableObject.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use Countable;
use Exception;
use Iterator;
/**
* TraversableObject
*
* Object that implements `Traversable` and `Countable`, but counting throws an exception;
* Used for testing support for traversable objects instead of arrays.
*/
final class... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/TestHelper.php | tests/Support/TestHelper.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use Yiisoft\Db\Cache\SchemaCache;
use Yiisoft\Db\Tests\Support\Stub\StubConnection;
use Yiisoft\Db\Tests\Support\Stub\StubPdoDriver;
use Yiisoft\Test\Support\SimpleCache\MemorySimpleCache;
final class TestHelper
{
public static function createSq... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Assert.php | tests/Support/Assert.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use PHPUnit\Framework\TestCase;
use ReflectionClass;
use ReflectionException;
use ReflectionObject;
use ReflectionProperty;
use Yiisoft\Db\Constraint\Check;
use Yiisoft\Db\Constraint\DefaultValue;
use Yiisoft\Db\Constraint\ForeignKey;
use Yiisoft\Db\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/AnyValue.php | tests/Support/AnyValue.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
final class AnyValue extends CompareValue
{
private static ?self $instance = null;
public static function getInstance(): self
{
if (self::$instance === null) {
self::$instance = new self();
}
return s... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stringable.php | tests/Support/Stringable.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
class Stringable implements \Stringable
{
public function __construct(private string $value) {}
public function __toString(): string
{
return $this->value;
}
}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/IntEnum.php | tests/Support/IntEnum.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
enum IntEnum: int
{
case ONE = 1;
case TWO = 2;
case THREE = 3;
}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/AnyCaseValue.php | tests/Support/AnyCaseValue.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support;
use function strtolower;
final class AnyCaseValue extends CompareValue
{
public string|array $value = '';
/**
* @psalm-param string|string[] $value
*/
public function __construct(string|array $value)
{
if (is_array... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/Transaction.php | tests/Support/Stub/Transaction.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Driver\Pdo\AbstractPdoTransaction;
final class Transaction extends AbstractPdoTransaction {}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/Command.php | tests/Support/Stub/Command.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Driver\Pdo\AbstractPdoCommand;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
final class Command extends AbstractPdoCommand
{
public function showDatabases(): array
{
... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/StubColumnFactory.php | tests/Support/Stub/StubColumnFactory.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\Schema\Column\AbstractColumnFactory;
class StubColumnFactory extends AbstractColumnFactory
{
protected function getType(string $dbType, array $info = []): string
{
if (!empty($i... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/SqlParser.php | tests/Support/Stub/SqlParser.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Syntax\AbstractSqlParser;
class SqlParser extends AbstractSqlParser
{
public function getNextPlaceholder(?int &$position = null): ?string
{
$result = null;
$length = $this->length - 1;
while ($thi... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/Schema.php | tests/Support/Stub/Schema.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Schema\AbstractSchema;
use Yiisoft\Db\Schema\Column\ColumnInterface;
use Yiisoft\Db\Schema\TableSchemaInterface;
class Schema extends AbstractSchema
{
protected function getCach... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/QueryBuilder.php | tests/Support/Stub/QueryBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\QueryBuilder\AbstractQueryBuilder;
final class QueryBuilder extends AbstractQueryBuilder
{
public function __construct(ConnectionInterface $db)
{
$quoter = $db->getQu... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/StubPdoDriver.php | tests/Support/Stub/StubPdoDriver.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Driver\Pdo\AbstractPdoDriver;
final class StubPdoDriver extends AbstractPdoDriver
{
public function getDriverName(): string
{
return 'db';
}
}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/DDLQueryBuilder.php | tests/Support/Stub/DDLQueryBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\QueryBuilder\AbstractDDLQueryBuilder;
final class DDLQueryBuilder extends AbstractDDLQueryBuilder {}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/DMLQueryBuilder.php | tests/Support/Stub/DMLQueryBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\QueryBuilder\AbstractDMLQueryBuilder;
final class DMLQueryBuilder extends AbstractDMLQueryBuilder {}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/Column.php | tests/Support/Stub/Column.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Schema\Column\AbstractColumn;
final class Column extends AbstractColumn
{
protected const DEFAULT_TYPE = '';
public function dbTypecast(mixed $value): mixed
{
return $value;
}
public function phpType... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/ColumnDefinitionBuilder.php | tests/Support/Stub/ColumnDefinitionBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\Constant\ColumnType;
use Yiisoft\Db\QueryBuilder\AbstractColumnDefinitionBuilder;
use Yiisoft\Db\Schema\Column\ColumnInterface;
final class ColumnDefinitionBuilder extends AbstractColumnDefinitionBuilder
{
protected const AUT... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/DQLQueryBuilder.php | tests/Support/Stub/DQLQueryBuilder.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use Yiisoft\Db\QueryBuilder\AbstractDQLQueryBuilder;
final class DQLQueryBuilder extends AbstractDQLQueryBuilder {}
| php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Support/Stub/StubConnection.php | tests/Support/Stub/StubConnection.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Support\Stub;
use PDO;
use Yiisoft\Db\Command\CommandInterface;
use Yiisoft\Db\Driver\Pdo\AbstractPdoConnection;
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
use Yiisoft\Db\Schema\Column\ColumnFactoryInterface;
use Yiisoft\Db\Schema\Quoter;
use Yiisoft\... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonConnectionTest.php | tests/Common/CommonConnectionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use PHPUnit\Framework\TestCase;
use Throwable;
use Yiisoft\Db\Driver\Pdo\PdoConnectionInterface;
use Yiisoft\Db\Exception\Exception;
use Yiisoft\Db\Exception\NotSupportedException;
use Yiisoft\Db\Profiler\Context\ConnectionContext;
use Yiisoft\Db\Prof... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonColumnBuilderTest.php | tests/Common/CommonColumnBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use Yiisoft\Db\Tests\Provider\ColumnBuilderProvider;
use Yiisoft\Db\Tests\Support\IntegrationTestCase;
use function array_merge;
abstract class CommonColumnBuilderTest extends IntegrationTestCas... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonQueryTest.php | tests/Common/CommonQueryTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use Closure;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Expression\ExpressionInterface;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Query\Qu... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonQueryGetTableAliasTest.php | tests/Common/CommonQueryGetTableAliasTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use InvalidArgumentException;
use Yiisoft\Db\Expression\Expression;
use Yiisoft\Db\Query\Query;
use Yiisoft\Db\Tests\Support\IntegrationTestCase;
abstract class CommonQueryGetTableAliasTest extends IntegrationTestCase
{
public function testAliase... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonCommandTest.php | tests/Common/CommonCommandTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use Closure;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use PHPUnit\Framework\TestCase;
use Throwable;
use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Constant\DataType;
use Yiisoft\Db\Expression\Value\Param;
use Yiisoft\Db\C... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | true |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonEnumColumnTest.php | tests/Common/CommonEnumColumnTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use PHPUnit\Framework\Attributes\TestWith;
use Yiisoft\Db\Schema\Column\EnumColumn;
use Yiisoft\Db\Schema\TableSchemaInterface;
use Yiisoft\Db\Tests\Support\IntegrationTestCase;
abstract class CommonEnumColumnTest extends IntegrationTestCase
{
pr... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonSqlParserTest.php | tests/Common/CommonSqlParserTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use PHPUnit\Framework\TestCase;
use Yiisoft\Db\Syntax\AbstractSqlParser;
use Yiisoft\Db\Tests\Provider\SqlParserProvider;
abstract class CommonSqlParserTest extends TestCase
{
#[DataProviderE... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonQueryBuilderTest.php | tests/Common/CommonQueryBuilderTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use Closure;
use DateTimeImmutable;
use DateTimeZone;
use InvalidArgumentException;
use LogicException;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use PHPUnit\Framework\Attributes\DoesNotPerfo... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | true |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonPdoConnectionTest.php | tests/Common/CommonPdoConnectionTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use PDO;
use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Psr\Log\LogLevel;
use Throwable;
use Yiisoft\Db\Driver\Pdo\AbstractPdoConnection;
use Yiisoft\Db\Driver\Pdo\AbstractPdoTransaction;
use Yiisoft\Db\Driver\Pdo\PdoDri... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
yiisoft/db | https://github.com/yiisoft/db/blob/25c86c3c4077e2705ede19f55e7b7050eeda6b41/tests/Common/CommonQuoterTest.php | tests/Common/CommonQuoterTest.php | <?php
declare(strict_types=1);
namespace Yiisoft\Db\Tests\Common;
use PHPUnit\Framework\Attributes\DataProviderExternal;
use Yiisoft\Db\Tests\Provider\QuoterProvider;
use Yiisoft\Db\Tests\Support\IntegrationTestCase;
abstract class CommonQuoterTest extends IntegrationTestCase
{
#[DataProviderExternal(QuoterProv... | php | BSD-3-Clause | 25c86c3c4077e2705ede19f55e7b7050eeda6b41 | 2026-01-05T03:01:31.998427Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.