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/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/mocks/TestRequestComponent.php
tests/framework/web/mocks/TestRequestComponent.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\mocks; use yii\web\Request; class TestRequestComponent extends Request { /** * @var bool|null override getIsAjax() method ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/SessionTest.php
tests/framework/web/session/SessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session; use yii\web\Session; use yiiunit\TestCase; /** * @group web */ class SessionTest extends TestCase { use SessionTestT...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/AbstractDbSessionTest.php
tests/framework/web/session/AbstractDbSessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session; use PDO; use Exception; use stdClass; use Yii; use yii\db\Connection; use yii\db\Migration; use yii\db\Query; use yii\web\D...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/SessionTestTrait.php
tests/framework/web/session/SessionTestTrait.php
<?php namespace yiiunit\framework\web\session; use yii\web\Session; trait SessionTestTrait { public function initStrictModeTest($class): void { /** @var Session $session */ $session = new $class(); $session->useStrictMode = false; $this->assertEquals(false, $session->getUseSt...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/CacheSessionTest.php
tests/framework/web/session/CacheSessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session; use yiiunit\TestCase; use Yii; use yii\caching\FileCache; use yii\web\CacheSession; /** * @group web */ class CacheSessi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/mssql/DbSessionTest.php
tests/framework/web/session/mssql/DbSessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session\mssql; use yiiunit\framework\web\session\AbstractDbSessionTest; /** * Class DbSessionTest. * * @author Dmytro Naumenko <...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/sqlite/DbSessionTest.php
tests/framework/web/session/sqlite/DbSessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session\sqlite; use yiiunit\framework\web\session\AbstractDbSessionTest; use Yii; /** * Class DbSessionTest. * * @author Dmytro ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/pgsql/DbSessionTest.php
tests/framework/web/session/pgsql/DbSessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session\pgsql; use yiiunit\framework\web\session\AbstractDbSessionTest; /** * Class DbSessionTest. * * @author Dmytro Naumenko <...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/session/mysql/DbSessionTest.php
tests/framework/web/session/mysql/DbSessionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\session\mysql; use yiiunit\framework\web\session\AbstractDbSessionTest; /** * Class DbSessionTest. * * @author Dmytro Naumenko <...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/stubs/ModelStub.php
tests/framework/web/stubs/ModelStub.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\stubs; use yii\base\Model; class ModelStub extends Model { public $id; public $title; public $hidden; public funct...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/stubs/VendorImage.php
tests/framework/web/stubs/VendorImage.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\stubs; use yii\web\UploadedFile; class VendorImage extends UploadedFile { }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/stubs/ModelBindingStub.php
tests/framework/web/stubs/ModelBindingStub.php
<?php namespace yiiunit\framework\web\stubs; use yii\db\ActiveRecord; use yii\web\NotFoundHttpException; class ModelBindingStub extends ActiveRecord { /** * @return self; * @throw NotFoundHttpException */ public static function build() { throw new NotFoundHttpException('Not Found I...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/stubs/CachedUrlRule.php
tests/framework/web/stubs/CachedUrlRule.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web\stubs; use yii\web\UrlRule; class CachedUrlRule extends UrlRule { public $createCounter = 0; public function createUrl($ma...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/mutex/MutexTestTrait.php
tests/framework/mutex/MutexTestTrait.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\mutex; use yii\base\InvalidConfigException; use yii\mutex\Mutex; /** * Class MutexTestTrait. */ trait MutexTestTrait { /** *...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/mutex/FileMutexTest.php
tests/framework/mutex/FileMutexTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\mutex; use Yii; use yii\base\InvalidConfigException; use yii\mutex\FileMutex; use yiiunit\TestCase; /** * Class FileMutexTest. * * @...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/mutex/MysqlMutexTest.php
tests/framework/mutex/MysqlMutexTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\mutex; use Yii; use yii\base\InvalidConfigException; use yii\db\Expression; use yii\mutex\MysqlMutex; use yiiunit\framework\db\DatabaseT...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/mutex/PgsqlMutexTest.php
tests/framework/mutex/PgsqlMutexTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\mutex; use Yii; use yii\base\InvalidConfigException; use yii\mutex\PgsqlMutex; use yiiunit\framework\db\DatabaseTestCase; /** * Class ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/mutex/RetryAcquireTraitTest.php
tests/framework/mutex/RetryAcquireTraitTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\mutex; use Yii; use yii\base\InvalidConfigException; use yiiunit\framework\mutex\mocks\DumbMutex; use yiiunit\TestCase; /** * Class Re...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/mutex/mocks/DumbMutex.php
tests/framework/mutex/mocks/DumbMutex.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\mutex\mocks; use yii\mutex\Mutex; use yii\mutex\RetryAcquireTrait; /** * Class DumbMutex. * * @author Robert Korulczyk <robert@korul...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/config-docker.php
tests/data/config-docker.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * This is the configuration file for the Yii 2 unit tests. * * You can override configuration values by creating a `config.local.php` file * and manipulate th...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/config.php
tests/data/config.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * This is the configuration file for the Yii 2 unit tests. * * You can override configuration values by creating a `config.local.php` file * and manipulate th...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/CallableClass.php
tests/data/base/CallableClass.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\base; class CallableClass { public function __invoke() { return true; } }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/InvalidRulesModel.php
tests/data/base/InvalidRulesModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\base; use yii\base\Model; /** * InvalidRulesModel. */ class InvalidRulesModel extends Model { public function rules() { ret...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/TraversableObject.php
tests/data/base/TraversableObject.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\base; use Iterator; use Countable; use ReturnTypeWillChange; use Exception; /** * TraversableObject * Object tha...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/Singer.php
tests/data/base/Singer.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\base; use yii\base\Model; /** * Singer. */ class Singer extends Model { public static $tableName; public $firstName; public $l...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/Speaker.php
tests/data/base/Speaker.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\base; use yii\base\Model; /** * Speaker. */ class Speaker extends Model { public $firstName; public $las...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/RulesModel.php
tests/data/base/RulesModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\base; use yii\base\Model; /** * Model to test different rules combinations in ModelTest. */ class RulesModel extends Model { public $ac...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/base/ArrayAccessObject.php
tests/data/base/ArrayAccessObject.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\base; use ArrayAccess; use ReturnTypeWillChange; /** * ArrayAccessObject * Object that extends [[TraversableObje...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/cache/MockDependency.php
tests/data/cache/MockDependency.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\cache; use yii\caching\Dependency; /** * Class MockDependency. * * @author Boudewijn Vahrmeijer <vahrmeijer@gmail.com> * @since 2.0.11 *...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/helpers/CustomDebugInfo.php
tests/data/helpers/CustomDebugInfo.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\helpers; /** * CustomDebugInfo serves for the testing of `__debugInfo()` PHP magic method. * * @see \yiiunit\framework\helpers\VarDumperTes...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/TestValidator.php
tests/data/validators/TestValidator.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\validators; use yii\validators\Validator; class TestValidator extends Validator { private $_validatedAttribute...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/ValidatorTestEachAndInlineMethodModel.php
tests/data/validators/models/ValidatorTestEachAndInlineMethodModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yii\base\Model; class ValidatorTestEachAndInlineMethodModel extends Model { public $arrayProperty = [true, false];...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/FakedValidationModel.php
tests/data/validators/models/FakedValidationModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yii\base\Model; class FakedValidationModel extends Model { public $val_attr_a; public $val_attr_b; public ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/FakedValidationTypedModel.php
tests/data/validators/models/FakedValidationTypedModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yii\base\Model; use yii\web\UploadedFile; class FakedValidationTypedModel extends Model { public ?UploadedFile $si...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/ValidatorTestTypedPropModel.php
tests/data/validators/models/ValidatorTestTypedPropModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yii\base\Model; class ValidatorTestTypedPropModel extends Model { public array $arrayTypedProperty = [true, false]...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/ValidatorTestFunctionModel.php
tests/data/validators/models/ValidatorTestFunctionModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yii\base\Model; class ValidatorTestFunctionModel extends Model { public $firstAttribute; public function requ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/ValidatorTestRefModel.php
tests/data/validators/models/ValidatorTestRefModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yiiunit\data\ar\ActiveRecord; /** * @property int id * @property string a_field * @property int ref */ class Valid...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/validators/models/ValidatorTestMainModel.php
tests/data/validators/models/ValidatorTestMainModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\validators\models; use yiiunit\data\ar\ActiveRecord; class ValidatorTestMainModel extends ActiveRecord { public $testMainVal = 1; pu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/controllers/TestController.php
tests/data/controllers/TestController.php
<?php declare(strict_types=1); namespace yiiunit\data\controllers; use yii\web\Controller; use yii\web\ErrorAction; class TestController extends Controller { public $layout = '@yiiunit/data/views/layout.php'; private $actionConfig = []; public function setActionConfig($config = []): void { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/junction_test.php
tests/data/console/migrate_create/junction_test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{junctionTable}}}`. * Has foreign keys to the tables: * * - `{{%{...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_foreign_key.php
tests/data/console/migrate_create/create_foreign_key.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. * Has foreign keys to the tables: * * - `{{%user}}` ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_products_from_store_table.php
tests/data/console/migrate_create/create_products_from_store_table.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php use yii\db\Migration; /** * Handles the creation of table `{table}`. */ class {$class} extends Migration { /** * {@inheritdoc} ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/default.php
tests/data/console/migrate_create/default.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Class {$class} */ class {$class} extends Migration { /** * {@inheritdoc} */ public ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_title_with_comma_default_values.php
tests/data/console/migrate_create/create_title_with_comma_default_values.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%test}}`. */ class {$class} extends Migration { /** * {@inh...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/add_columns_test.php
tests/data/console/migrate_create/add_columns_test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles adding columns to table `{{%{table}}}`. */ class {$class} extends Migration { /** * ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/add_columns_fk.php
tests/data/console/migrate_create/add_columns_fk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles adding columns to table `{{%{table}}}`. * Has foreign keys to the tables: * * - `{{%user}}`...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_fields_with_col_method_after_default_value.php
tests/data/console/migrate_create/create_fields_with_col_method_after_default_value.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%test}}`. */ class {$class} extends Migration { /** * {@inh...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_fields.php
tests/data/console/migrate_create/create_fields.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_test.php
tests/data/console/migrate_create/create_test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_id_field_not_as_pk.php
tests/data/console/migrate_create/create_id_field_not_as_pk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/add_two_columns_test.php
tests/data/console/migrate_create/add_two_columns_test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles adding columns to table `{{%{table}}}`. */ class {$class} extends Migration { /** * ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/drop_columns_test.php
tests/data/console/migrate_create/drop_columns_test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles dropping columns from table `{{%{table}}}`. */ class {$class} extends Migration { /** ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/drop_fields.php
tests/data/console/migrate_create/drop_fields.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the dropping of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_unsigned_pk.php
tests/data/console/migrate_create/create_unsigned_pk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/add_columns_prefix.php
tests/data/console/migrate_create/add_columns_prefix.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles adding columns to table `{{%{table}}}`. * Has foreign keys to the tables: * * - `{{%user}}`...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_unsigned_big_pk.php
tests/data/console/migrate_create/create_unsigned_big_pk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_title_pk.php
tests/data/console/migrate_create/create_title_pk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_field_with_colon_default_values.php
tests/data/console/migrate_create/create_field_with_colon_default_values.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%test}}`. */ class {$class} extends Migration { /** * {@inh...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/drop_products_from_store_table.php
tests/data/console/migrate_create/drop_products_from_store_table.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the dropping of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_prefix.php
tests/data/console/migrate_create/create_prefix.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. * Has foreign keys to the tables: * * - `{{%user}}` ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/drop_test.php
tests/data/console/migrate_create/drop_test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the dropping of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/migrate_create/create_id_pk.php
tests/data/console/migrate_create/create_id_pk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return <<<CODE <?php {$namespace}use yii\db\Migration; /** * Handles the creation of table `{{%{table}}}`. */ class {$class} extends Migration { /** * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/FakeNoDefaultController.php
tests/data/console/controllers/FakeNoDefaultController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\console\controllers; use yii\console\Controller; /** * @author Dmitry V. Alekseev <mail@alexeevdv.ru> * @since 2.0.16 */ class FakeNoDefau...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/FakeController.php
tests/data/console/controllers/FakeController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\console\controllers; use yii\console\Controller; /** * @author Dmitry V. Alekseev <mail@alexeevdv.ru> * @since 2.0.16 */ class FakeControl...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/FakeEmptyController.php
tests/data/console/controllers/FakeEmptyController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\console\controllers; use yii\console\Controller; /** * @author Dmitry V. Alekseev <mail@alexeevdv.ru> * @since 2.0.16 */ class FakeEmptyCo...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/SecondFixture.php
tests/data/console/controllers/fixtures/SecondFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; use yii\test\Fixture; class SecondFixture extends Fixture { public function load...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/FirstIndependentActiveFixture.php
tests/data/console/controllers/fixtures/FirstIndependentActiveFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; use yii\test\ActiveFixture; class FirstIndependentActiveFixture extends ActiveFixtur...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/FirstFixture.php
tests/data/console/controllers/fixtures/FirstFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; use yii\test\Fixture; class FirstFixture extends Fixture { public function load(...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/SecondIndependentActiveFixture.php
tests/data/console/controllers/fixtures/SecondIndependentActiveFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; use yii\test\ActiveFixture; class SecondIndependentActiveFixture extends ActiveFixtu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/GlobalFixture.php
tests/data/console/controllers/fixtures/GlobalFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; use yii\test\Fixture; class GlobalFixture extends Fixture { public function load...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/FixtureStorage.php
tests/data/console/controllers/fixtures/FixtureStorage.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; class FixtureStorage { public static $globalFixturesData = []; public static...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/DependentActiveFixture.php
tests/data/console/controllers/fixtures/DependentActiveFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures; use yii\test\ActiveFixture; class DependentActiveFixture extends ActiveFixture { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/subdir/SecondFixture.php
tests/data/console/controllers/fixtures/subdir/SecondFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures\subdir; use yii\test\Fixture; use yiiunit\data\console\controllers\fixtures\FixtureSto...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/console/controllers/fixtures/subdir/FirstFixture.php
tests/data/console/controllers/fixtures/subdir/FirstFixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\console\controllers\fixtures\subdir; use yii\test\Fixture; use yiiunit\data\console\controllers\fixtures\FixtureSto...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/i18n/messages/de/test.php
tests/data/i18n/messages/de/test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * Messages are copy-pasted in \yiiunit\framework\i18n\DbMessageSourceTest::setUpBeforeClass() * Do not forget to update it in after changing this file! */ retu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/i18n/messages/de-DE/test.php
tests/data/i18n/messages/de-DE/test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * Messages are copy-pasted in \yiiunit\framework\i18n\DbMessageSourceTest::setUpBeforeClass() * Do not forget to update it in after changing this file! */ retu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/i18n/messages/en-US/test.php
tests/data/i18n/messages/en-US/test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * Messages are copy-pasted in \yiiunit\framework\i18n\DbMessageSourceTest::setUpBeforeClass() * Do not forget to update it in after changing this file! */ retu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/i18n/messages/en-150/test.php
tests/data/i18n/messages/en-150/test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * Messages are copy-pasted in \yiiunit\framework\i18n\DbMessageSourceTest::setUpBeforeClass() * Do not forget to update it in after changing this file! */ retu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/i18n/messages/ru/test.php
tests/data/i18n/messages/ru/test.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ /** * Messages are copy-pasted in \yiiunit\framework\i18n\DbMessageSourceTest::setUpBeforeClass() * Do not forget to update it in after changing this file! */ retu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Order.php
tests/data/ar/Order.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; use yii\db\ActiveQuery; /** * Class Order. * * @property int $id * @property int $customer_id * @property int $created_at * @proper...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Dossier.php
tests/data/ar/Dossier.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; use yii\db\ActiveQuery; /** * Class Dossier * * @property int $id * @property int $department_id * @property int $employee_id * @p...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/OrderItem.php
tests/data/ar/OrderItem.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; use yii\behaviors\AttributeTypecastBehavior; /** * Class OrderItem. * * @property int $order_id * @property int $item_id * @property...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Storage.php
tests/data/ar/Storage.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Class Storage * * @author Dmytro Naumenko <d.naumenko.a@gmail.com> * @property int $id * @property array $data */ class Storag...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Animal.php
tests/data/ar/Animal.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\ar; /** * Class Animal. * * @author Jose Lorente <jose.lorente.martin@gmail.com> * @property int $id * @proper...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Cat.php
tests/data/ar/Cat.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\ar; use Exception; /** * Class Cat. * * @author Jose Lorente <jose.lorente.martin@gmail.com> * @since 2.0 */ ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Department.php
tests/data/ar/Department.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; use yii\db\ActiveQuery; /** * Class Department * * @property int $id * @property string $title * * @property Employee[] $employees...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Type.php
tests/data/ar/Type.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Model representing type table. * * @property int $int_col * @property int $int_col2 DEFAULT 1 * @property int $smallint_col DEF...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/ActiveRecord.php
tests/data/ar/ActiveRecord.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * ActiveRecord is ... * * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class ActiveRecord extends \yii\db\ActiveRecord...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/OrderItemWithNullFK.php
tests/data/ar/OrderItemWithNullFK.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Class OrderItem. * * @property int $order_id * @property int $item_id * @property int $quantity * @property string $subtotal ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Profile.php
tests/data/ar/Profile.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Class Profile. * * @property int $id * @property string $description */ class Profile extends ActiveRecord { public static ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/OrderWithConstructor.php
tests/data/ar/OrderWithConstructor.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\ar; use ReflectionClass; /** * OrderWithConstructor. * * @property int $id * @property int $customer_id * @pr...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/NullValues.php
tests/data/ar/NullValues.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Class NullValues. * * @property int $id * @property int $var1 * @property int $var2 * @property int $var3 * @property string ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Customer.php
tests/data/ar/Customer.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\ar; use yii\db\ActiveQuery; use yiiunit\framework\db\ActiveRecordTest; /** * Class Customer. * * @property int ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/CustomerWithAlias.php
tests/data/ar/CustomerWithAlias.php
<?php namespace yiiunit\data\ar; /** * Class Customer. * * @property int $id * @property string $name * @property string $email * @property string $address * @property int $status * * @method static CustomerQuery findBySql($sql, $params = []) */ class CustomerWithAlias extends ActiveRecord { public cons...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/NoAutoLabels.php
tests/data/ar/NoAutoLabels.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ declare(strict_types=1); namespace yiiunit\data\ar; use yii\base\InvalidArgumentException; /** * @property int $attr1 * @property int $attr2 */ class NoAutoLab...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/OrderWithNullFK.php
tests/data/ar/OrderWithNullFK.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Class Order. * * @property int $id * @property int $customer_id * @property int $created_at * @property string $total */ clas...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Category.php
tests/data/ar/Category.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * Class Category. * * @property int $id * @property string $name */ class Category extends ActiveRecord { public static funct...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/BitValues.php
tests/data/ar/BitValues.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * @see https://github.com/yiisoft/yii2/issues/9006 * * @property int $id * @property int $val */ class BitValues extends ActiveRe...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/Beta.php
tests/data/ar/Beta.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * @property int $id * @property string $alpha_string_identifier * @property Alpha $alpha */ class Beta extends ActiveRecord { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/data/ar/DefaultPk.php
tests/data/ar/DefaultPk.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\data\ar; /** * DefaultPk. * * @author Jan Waล› <janek.jan@gmail.com> * @property int $id */ class DefaultPk extends ActiveRecord { public s...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false