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/db/oci/ActiveRecordTest.php
tests/framework/db/oci/ActiveRecordTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; use yii\db\ActiveRecordInterface; use yii\db\ActiveQuery; use yiiunit\data\ar\BitValues; use yiiunit\data\ar\DefaultPk; use yiiu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/QueryTest.php
tests/framework/db/oci/QueryTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; /** * @group db * @group oci */ class QueryTest extends \yiiunit\framework\db\QueryTest { protected $driverName = 'oci'; ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/QueryBuilderTest.php
tests/framework/db/oci/QueryBuilderTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; use Closure; use Exception; use yii\base\NotSupportedException; use yii\db\Expression; use yii\db\oci\QueryBuilder; use yii\db\o...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/CommandTest.php
tests/framework/db/oci/CommandTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; use Exception; use Throwable; use yii\caching\ArrayCache; use yii\db\Connection; use yii\db\Query; use yii\db\Schema; /** * @g...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/ActiveFixtureTest.php
tests/framework/db/oci/ActiveFixtureTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; /** * @group db * @group oci * @group test */ class ActiveFixtureTest extends \yiiunit\framework\test\ActiveFixtureTest { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/ActiveQueryTest.php
tests/framework/db/oci/ActiveQueryTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; /** * @group db * @group oci */ class ActiveQueryTest extends \yiiunit\framework\db\ActiveQueryTest { public $driverName ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/BatchQueryResultTest.php
tests/framework/db/oci/BatchQueryResultTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; /** * @group db * @group oci */ class BatchQueryResultTest extends \yiiunit\framework\db\BatchQueryResultTest { public $d...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/oci/SchemaTest.php
tests/framework/db/oci/SchemaTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\db\oci; use Exception; use yii\db\CheckConstraint; use yiiunit\framework\db\AnyValue; /** * @group db * @group oci */ class SchemaTe...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/enums/StatusTypeString.php
tests/framework/db/enums/StatusTypeString.php
<?php namespace yiiunit\framework\db\enums; enum StatusTypeString: string { case Active = 'active'; case Inactive = 'inactive'; }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/enums/Status.php
tests/framework/db/enums/Status.php
<?php namespace yiiunit\framework\db\enums; enum Status { case Active; case Inactive; }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/db/enums/StatusTypeInt.php
tests/framework/db/enums/StatusTypeInt.php
<?php namespace yiiunit\framework\db\enums; enum StatusTypeInt: int { case Active = 1; case Inactive = 0; }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/ArrayFixtureTest.php
tests/framework/test/ArrayFixtureTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\test; use yii\base\InvalidConfigException; use yii\test\ArrayFixture; use yiiunit\TestCase; /** * @group fixture */ class ArrayFixtur...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/FixtureTest.php
tests/framework/test/FixtureTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\test; use yii\test\Fixture; use yii\test\FixtureTrait; use yiiunit\TestCase; class Fixture1 extends Fixture { public $depends = ['y...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/ActiveFixtureTest.php
tests/framework/test/ActiveFixtureTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\test; use Yii; use yii\db\Connection; use yii\test\ActiveFixture; use yii\test\FixtureTrait; use yiiunit\data\ar\ActiveRecord; use yiiun...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/custom/customer.php
tests/framework/test/custom/customer.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return [ 'directory' => [ 'email' => 'directory@example.com', 'name' => 'directory name', 'address' => 'directory-address1', 'sta...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/data/array_fixture.php
tests/framework/test/data/array_fixture.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return [ 'customer1' => [ 'email' => 'customer1@example.com', 'name' => 'customer1', 'address' => 'address1', 'status' => 1, ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/data/profile.php
tests/framework/test/data/profile.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return [ 'profile1' => [ 'id' => 1, 'description' => 'profile 1', ], 'profile2' => [ 'id' => 2, 'description' => 'profile...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/test/data/customer.php
tests/framework/test/data/customer.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ return [ 'customer1' => [ 'email' => 'customer1@example.com', 'name' => 'customer1', 'address' => 'address1', 'status' => 1, ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/FakeHelpControllerWithoutOutput.php
tests/framework/console/FakeHelpControllerWithoutOutput.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use yii\console\controllers\HelpController; class FakeHelpControllerWithoutOutput extends HelpController { public $outputS...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/UnknownCommandExceptionTest.php
tests/framework/console/UnknownCommandExceptionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use Yii; use yii\console\UnknownCommandException; use yiiunit\TestCase; /** * @group console */ class UnknownCommandExceptio...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/FakeController.php
tests/framework/console/FakeController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use yii\console\Controller; use yii\console\Response; /** * @author Misbahul D Munir <misbahuldmunir@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/framework/console/ControllerTest.php
tests/framework/console/ControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use yii\data\ArrayDataProvider; use RuntimeException; use yii\console\Exception; use yiiunit\framework\console\stubs\DummyServi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/RequestTest.php
tests/framework/console/RequestTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use yii\console\Request; use yiiunit\TestCase; /** * @group console */ class RequestTest extends TestCase { public stati...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/FakePhp71Controller.php
tests/framework/console/FakePhp71Controller.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use yii\data\DataProviderInterface; use yiiunit\framework\console\stubs\DummyService; use yii\console\Controller; use yii\conso...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/FakeHelpController.php
tests/framework/console/FakeHelpController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console; use yii\console\controllers\HelpController; class FakeHelpController extends HelpController { private static $_actionIndex...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/SilencedCacheController.php
tests/framework/console/controllers/SilencedCacheController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use yii\console\controllers\CacheController; /** * CacheController that discards output. */ class SilencedCacheC...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/MigrateControllerTest.php
tests/framework/console/controllers/MigrateControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use yii\db\Exception; use Yii; use yii\console\controllers\MigrateController; use yii\console\ExitCode; use yii\db\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/ServeControllerTest.php
tests/framework/console/controllers/ServeControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\console\controllers\ServeController; use yiiunit\TestCase; /** * Unit test for [[\yii\console\co...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/EchoMigrateController.php
tests/framework/console/controllers/EchoMigrateController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use yii\console\controllers\MigrateController; /** * MigrateController that writes output via echo instead of usi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/FixtureControllerTest.php
tests/framework/console/controllers/FixtureControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\console\controllers\FixtureController; use yiiunit\data\ar\ActiveRecord; use yiiunit\data\console\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/HelpControllerTest.php
tests/framework/console/controllers/HelpControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use yii\base\Module; use yii\console\controllers\HelpController; use yii\helpers\Console; use yiiunit\TestCase; /*...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/POMessageControllerTest.php
tests/framework/console/controllers/POMessageControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\helpers\FileHelper; use yii\i18n\GettextPoFile; /** * Tests that [[\yii\console\controllers\Mess...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/StdOutBufferControllerTrait.php
tests/framework/console/controllers/StdOutBufferControllerTrait.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; /** * StdOutBufferControllerTrait is a trait, which can be applied to [[yii\console\Controller]], * allowing to s...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/AssetControllerTest.php
tests/framework/console/controllers/AssetControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Exception; use Yii; use yii\base\Module; use yii\console\controllers\AssetController; use yii\helpers\ArrayHelp...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/BaseMessageControllerTest.php
tests/framework/console/controllers/BaseMessageControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\base\Module; use yii\console\controllers\MessageController; use yii\helpers\FileHelper; use yii\he...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/PHPMessageControllerTest.php
tests/framework/console/controllers/PHPMessageControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\helpers\FileHelper; use yii\helpers\VarDumper; /** * Tests that [[\yii\console\controllers\Messa...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/CacheControllerTest.php
tests/framework/console/controllers/CacheControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\caching\ArrayCache; use yii\console\controllers\CacheController; use yiiunit\TestCase; /** * Uni...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/MigrateControllerTestTrait.php
tests/framework/console/controllers/MigrateControllerTestTrait.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use Yii; use yii\base\Module; use yii\console\controllers\BaseMigrateController; use yii\console\ExitCode; use yii\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/DbMessageControllerTest.php
tests/framework/console/controllers/DbMessageControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\controllers; use yii\console\Application; use yii\console\Controller; use yii\helpers\ArrayHelper; use yii\db\Query; use yii\db\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/controllers/stub/index.php
tests/framework/console/controllers/stub/index.php
<?php echo 'Hello!';
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/widgets/TableTest.php
tests/framework/console/widgets/TableTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\widgets; use yii\console\widgets\Table; use yii\helpers\Console; use yiiunit\TestCase; /** * @group console */ class TableTes...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/console/stubs/DummyService.php
tests/framework/console/stubs/DummyService.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\console\stubs; use yii\base\BaseObject; class DummyService extends BaseObject { }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/models/JsonModel.php
tests/framework/models/JsonModel.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\models; use JsonSerializable; use ReturnTypeWillChange; use yii\base\DynamicModel; /** * JSON serializable model for tests. * * {@in...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/MessageFormatterTest.php
tests/framework/i18n/MessageFormatterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yii\i18n\MessageFormatter; use yiiunit\TestCase; /** * @author Alexander Makarov <sam@rmcreative.ru> * @since 2.0 * @group...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/GettextPoFileTest.php
tests/framework/i18n/GettextPoFileTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yii\i18n\GettextPoFile; use yiiunit\TestCase; /** * @group i18n */ class GettextPoFileTest extends TestCase { protected...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/LocaleTest.php
tests/framework/i18n/LocaleTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yii\i18n\Locale; use yiiunit\TestCase; /** * @group i18n */ class LocaleTest extends TestCase { /** * @var Locale ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/GettextMessageSourceTest.php
tests/framework/i18n/GettextMessageSourceTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yiiunit\TestCase; /** * @group i18n */ class GettextMessageSourceTest extends TestCase { public function testLoadMessag...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/FormatterTest.php
tests/framework/i18n/FormatterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use DateTime; use DateTimeZone; use NumberFormatter; use ResourceBundle; use IntlException; use yii\i18n\Formatter; use yiiunit\Te...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/DbMessageSourceTest.php
tests/framework/i18n/DbMessageSourceTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yii\console\Application; use yii\console\Controller; use yii\db\Exception; use yii\base\InvalidConfigException; use yii\base\I...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/IntlTestHelper.php
tests/framework/i18n/IntlTestHelper.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ // override information about intl namespace yiiunit\framework\i18n { use yiiunit\TestCase; class IntlTestHelper { public static $enableIntl; ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/FormatterNumberTest.php
tests/framework/i18n/FormatterNumberTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use NumberFormatter; use Yii; use yii\i18n\Formatter; use yiiunit\TestCase; /** * @group i18n */ class FormatterNumberTest exte...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
true
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/I18NTest.php
tests/framework/i18n/I18NTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use Yii; use yii\base\Event; use yii\i18n\I18N; use yii\i18n\PhpMessageSource; use yiiunit\TestCase; /** * @author Carsten Brand...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/GettextMoFileTest.php
tests/framework/i18n/GettextMoFileTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yii\i18n\GettextMoFile; use yiiunit\TestCase; /** * @group i18n */ class GettextMoFileTest extends TestCase { public fu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/FallbackMessageFormatterTest.php
tests/framework/i18n/FallbackMessageFormatterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use yii\i18n\MessageFormatter; use yiiunit\TestCase; /** * @author Carsten Brandt <mail@cebe.cc> * @since 2.0 * @group i18n *...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/i18n/FormatterDateTest.php
tests/framework/i18n/FormatterDateTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\i18n; use DateTimeImmutable; use IntlDateFormatter; use DateTimeZone; use DateInterval; use DateTime; use yii\i18n\Formatter; use yiiuni...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
true
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/ar/ActiveRecordTestTrait.php
tests/framework/ar/ActiveRecordTestTrait.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\ar; use yiiunit\extensions\redis\ActiveRecordTest; use Exception; use yii\base\Event; use yii\db\ActiveRecordInterface; use yii\db\BaseA...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
true
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/requirements/YiiRequirementCheckerTest.php
tests/framework/requirements/YiiRequirementCheckerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ require_once __DIR__ . '/../../../framework/requirements/YiiRequirementChecker.php'; use yiiunit\TestCase; /** * Test case for [[YiiRequirementChecker]]. * @see ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/PjaxTest.php
tests/framework/widgets/PjaxTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yii\data\ArrayDataProvider; use yii\widgets\ListView; use yii\widgets\Pjax; use yiiunit\TestCase; class PjaxTest extends T...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/DetailViewTest.php
tests/framework/widgets/DetailViewTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\base\Arrayable; use yii\base\ArrayableTrait; use yii\base\Model; use yii\widgets\DetailView; /**...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/BreadcrumbsTest.php
tests/framework/widgets/BreadcrumbsTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use ReflectionMethod; use yii\widgets\Breadcrumbs; /** * @author Nelson J Morais <njmorais@gmail.com> ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/LinkPagerTest.php
tests/framework/widgets/LinkPagerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\data\Pagination; use yii\helpers\StringHelper; use yii\widgets\LinkPager; /** * @group widgets ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/ActiveFormTest.php
tests/framework/widgets/ActiveFormTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\base\DynamicModel; use yii\base\Widget; use yii\web\View; use yii\widgets\ActiveForm; /** * @gr...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/ListViewTest.php
tests/framework/widgets/ListViewTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use Yii; use yii\web\Request; use yii\data\ArrayDataProvider; use yii\data\DataProviderInterface; use yii\widgets\ListView; use...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/BlockTest.php
tests/framework/widgets/BlockTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\widgets\Block; /** * @group widgets */ class BlockTest extends TestCase { protected functi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/MenuTest.php
tests/framework/widgets/MenuTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\widgets\Menu; /** * @group widgets */ class MenuTest extends TestCase { protected function...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/ActiveFieldTest.php
tests/framework/widgets/ActiveFieldTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use Exception; use yii\validators\Validator; use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts; us...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/ContentDecoratorTest.php
tests/framework/widgets/ContentDecoratorTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\widgets\ContentDecorator; /** * @group widgets */ class ContentDecoratorTest extends TestCase ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/LinkSorterTest.php
tests/framework/widgets/LinkSorterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yii\data\ActiveDataProvider; use yii\widgets\LinkSorter; use yii\widgets\ListView; use yiiunit\data\ar\ActiveRecord; use yi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/SpacelessTest.php
tests/framework/widgets/SpacelessTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use yii\widgets\Spaceless; /** * @group widgets */ class SpacelessTest extends TestCase { public f...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/widgets/FragmentCacheTest.php
tests/framework/widgets/FragmentCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\widgets; use yiiunit\TestCase; use Yii; use yii\base\View; use yii\caching\ArrayCache; /** * @group widgets * @group caching */ clas...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/ContainerTest.php
tests/framework/di/ContainerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di; use yii\console\Request; use yii\console\Response; use Exception; use yii\di\NotInstantiableException; use yii\web\Application; use ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/ServiceLocatorTest.php
tests/framework/di/ServiceLocatorTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di; use yii\base\BaseObject; use yii\di\ServiceLocator; use yiiunit\TestCase; class Creator { public static function create() {...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/testContainerWithVariadicCallable.php
tests/framework/di/testContainerWithVariadicCallable.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ use yii\di\Container; use yiiunit\framework\di\stubs\QuxInterface; $container = new Container(); $func = function (QuxInterface ...$quxes) { return "That's a wh...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/InstanceTest.php
tests/framework/di/InstanceTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di; use Yii; use yii\base\Component; use yii\db\Connection; use yii\di\Container; use yii\di\Instance; use yiiunit\TestCase; /** * @au...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/QuxFactory.php
tests/framework/di/stubs/QuxFactory.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; use yii\di\Container; class QuxFactory extends BaseObject { public static function create(Contai...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Zeta.php
tests/framework/di/stubs/Zeta.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class Zeta extends BaseObject { public $beta = false; public $betaNull = false; public $color = false; public $colorNull = false; public $qux = false; public $quxNull = false; public $unknown = false; public $unknown...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/QuxInterface.php
tests/framework/di/stubs/QuxInterface.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ interface QuxInterface { public function quxMethod(); }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Foo.php
tests/framework/di/stubs/Foo.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class Foo extends BaseObject { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/FooBaz.php
tests/framework/di/stubs/FooBaz.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; use Yii; /** * @author Yusup Hambali <supalpuket@gmail.com> * @since 2.0.31 */ class FooBaz exten...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Bar.php
tests/framework/di/stubs/Bar.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class Bar extends BaseObject { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/UnionTypeWithClass.php
tests/framework/di/stubs/UnionTypeWithClass.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class UnionTypeWithClass extends BaseObject { public function __construct(public string|Beta $value) { } }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Variadic.php
tests/framework/di/stubs/Variadic.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; /** * @author Sam Mousa <sam@mousa.nl> * @since 2.0.13 */ class Variadic { public function __construct(QuxInterface ......
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Qux.php
tests/framework/di/stubs/Qux.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 */ class Qux extends BaseObject implem...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/UnionTypeNotNull.php
tests/framework/di/stubs/UnionTypeNotNull.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class UnionTypeNotNull extends BaseObject { public function __construct(protected string|int|float|bool $value) { } }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/UnionTypeNull.php
tests/framework/di/stubs/UnionTypeNull.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class UnionTypeNull extends BaseObject { public function __construct(protected string|int|float|bool|null $value) { } }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Beta.php
tests/framework/di/stubs/Beta.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class Beta extends BaseObject { }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/AbstractColor.php
tests/framework/di/stubs/AbstractColor.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; abstract class AbstractColor extends BaseObject { }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/StaticMethodsWithUnionTypes.php
tests/framework/di/stubs/StaticMethodsWithUnionTypes.php
<?php namespace yiiunit\framework\di\stubs; // Syntax valid only for PHP 8.0+ class StaticMethodsWithUnionTypes { public static function withBetaUnion(string | Beta $beta) { } public static function withBetaUnionInverse(Beta | string $beta) { } public static function withBetaAndQuxUnion(...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Kappa.php
tests/framework/di/stubs/Kappa.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class Kappa extends BaseObject { public function __construct(Unknown $unknown) { } }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Corge.php
tests/framework/di/stubs/Corge.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class Corge extends BaseObject { public $map; public function __construct(array $map, $conf...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Alpha.php
tests/framework/di/stubs/Alpha.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class Alpha extends BaseObject { public $beta; public $omega; public $unknown = true; public $color = true; public function __construct( ?Beta $beta = null, ?QuxInterface $omega = null, ?Unknown $unknown...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/FooProperty.php
tests/framework/di/stubs/FooProperty.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 * * @property BarSetter $bar ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/BarSetter.php
tests/framework/di/stubs/BarSetter.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; /** * @author Qiang Xue <qiang.xue@gmail.com> * @since 2.0 * * @property QuxInterface $q...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Car.php
tests/framework/di/stubs/Car.php
<?php namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class Car extends BaseObject { public $color; public $name; public function __construct($color, $name) { $this->color = $color; $this->name = $name; } }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/Color.php
tests/framework/di/stubs/Color.php
<?php namespace yiiunit\framework\di\stubs; final class Color extends AbstractColor { }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/QuxAnother.php
tests/framework/di/stubs/QuxAnother.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\di\stubs; use yii\base\BaseObject; class QuxAnother extends BaseObject implements QuxInterface { public function quxMethod() { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/di/stubs/StaticMethodsWithIntersectionTypes.php
tests/framework/di/stubs/StaticMethodsWithIntersectionTypes.php
<?php namespace yiiunit\framework\di\stubs; // Syntax valid only for PHP 8.1+ class StaticMethodsWithIntersectionTypes { public static function withQuxInterfaceAndQuxAnotherIntersection(QuxInterface & QuxAnother $Qux) { } public static function withQuxAnotherAndQuxInterfaceIntersection(QuxAnother & Q...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/HttpCacheTest.php
tests/framework/filters/HttpCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters; use yiiunit\TestCase; use ReflectionMethod; use Yii; use yii\filters\HttpCache; /** * @group filters */ class HttpCacheTest ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/CorsTest.php
tests/framework/filters/CorsTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters; use Yii; use yii\base\Action; use yii\filters\Cors; use yii\web\Controller; use yii\web\Request; use yiiunit\TestCase; /** * ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/PageCacheTest.php
tests/framework/filters/PageCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters; use Yii; use yii\base\Action; use yii\caching\ArrayCache; use yii\caching\ExpressionDependency; use yii\filters\PageCache; use ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false