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/filters/RateLimiterTest.php
tests/framework/filters/RateLimiterTest.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\filters\RateLimiter; use yii\web\Request; use yii\web\Response; use yii\web\User; use yiiunit\framework\filter...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/ContentNegotiatorTest.php
tests/framework/filters/ContentNegotiatorTest.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\web\BadRequestHttpException; use Yii; use yii\base\Action; use yii\filters\ContentNegotiator; use yii\web\Controller; u...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/AccessRuleTest.php
tests/framework/filters/AccessRuleTest.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 yii\rbac\BaseManager; use Closure; use Yii; use yii\base\Action; use yii\filters\AccessRule; 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/filters/AjaxFilterTest.php
tests/framework/filters/AjaxFilterTest.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\AjaxFilter; 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/HostControlTest.php
tests/framework/filters/HostControlTest.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\base\ExitException; use yii\filters\HostControl; use yii\web\Controller; use yiiunit\Test...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/auth/CompositeAuthTest.php
tests/framework/filters/auth/CompositeAuthTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\auth; use yiiunit\TestCase; use Yii; use yii\filters\auth\CompositeAuth; use yii\filters\auth\HttpBearerAuth; use yii\filters\au...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/auth/AuthMethodTest.php
tests/framework/filters/auth/AuthMethodTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\auth; use stdClass; use ReflectionClass; use Yii; use yii\base\Action; use yii\filters\auth\AuthMethod; use yii\web\Controller; ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/auth/BasicAuthTest.php
tests/framework/filters/auth/BasicAuthTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\auth; use Yii; use yii\filters\auth\HttpBasicAuth; use yiiunit\framework\filters\stubs\UserIdentity; use yii\base\Event; 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/filters/auth/AuthTest.php
tests/framework/filters/auth/AuthTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\auth; use yiiunit\TestCase; use ReflectionClass; use Yii; use yii\base\Action; use yii\filters\auth\AuthMethod; use yii\filters\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/stubs/MockAuthManager.php
tests/framework/filters/stubs/MockAuthManager.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\stubs; use yii\rbac\PhpManager; class MockAuthManager extends PhpManager { /** * This mock does not persist. * {@...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/stubs/ExposedLogger.php
tests/framework/filters/stubs/ExposedLogger.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\stubs; use yii\log\Logger; class ExposedLogger extends Logger { public function log($message, $level, $category = 'applicat...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/stubs/RateLimit.php
tests/framework/filters/stubs/RateLimit.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\stubs; use yii\base\BaseObject; use yii\filters\RateLimitInterface; class RateLimit extends BaseObject implements RateLimitInte...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/filters/stubs/UserIdentity.php
tests/framework/filters/stubs/UserIdentity.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\filters\stubs; use yii\base\Component; use yii\web\IdentityInterface; /** * Class UserIdentity. * @author Dmitry Naumenko <d.naumenko...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/SqliteManagerTest.php
tests/framework/rbac/SqliteManagerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; /** * SqliteManagerTest. * @group db * @group rbac * @group sqlite */ class SqliteManagerTest extends DbManagerTestCase { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/ExposedPhpManager.php
tests/framework/rbac/ExposedPhpManager.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use yii\rbac\Item; use yii\rbac\Assignment; use yii\rbac\Rule; use yii\rbac\PhpManager; /** * Exposes protected properties and m...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/PgSQLManagerCacheTest.php
tests/framework/rbac/PgSQLManagerCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use yii\rbac\ManagerInterface; use yii\caching\FileCache; use yii\rbac\DbManager; /** * PgSQLManagerTest. * @group db * @group...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/MySQLManagerTest.php
tests/framework/rbac/MySQLManagerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; /** * MySQLManagerTest. * @group db * @group rbac * @group mysql */ class MySQLManagerTest extends DbManagerTestCase { pr...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/DbManagerTestCase.php
tests/framework/rbac/DbManagerTestCase.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use yii\base\InvalidParamException; use yii\db\Exception; use yii\base\InvalidConfigException; use yii\rbac\ManagerInterface; use ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/AuthorRule.php
tests/framework/rbac/AuthorRule.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use yii\rbac\Rule; /** * Checks if authorID matches userID passed via params. */ class AuthorRule extends Rule { public $na...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/PhpManagerTest.php
tests/framework/rbac/PhpManagerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\rbac; /** * Mock for the filemtime() function for rbac classes. Avoid random test fails. * @param string $file * @return int */ function filemtime...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/PgSQLManagerTest.php
tests/framework/rbac/PgSQLManagerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; /** * PgSQLManagerTest. * @group db * @group rbac * @group pgsql */ class PgSQLManagerTest extends DbManagerTestCase { pr...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/ActionRule.php
tests/framework/rbac/ActionRule.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use yii\rbac\Rule; /** * Description of ActionRule. */ class ActionRule extends Rule { public $name = 'action_rule'; pu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/MySQLManagerCacheTest.php
tests/framework/rbac/MySQLManagerCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use yii\rbac\ManagerInterface; use yii\caching\FileCache; use yii\rbac\DbManager; /** * MySQLManagerCacheTest. * @group rbac *...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rbac/ManagerTestCase.php
tests/framework/rbac/ManagerTestCase.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rbac; use Yii; use InvalidArgumentException; use yii\rbac\ManagerInterface; use yii\rbac\BaseManager; use yii\rbac\Item; use yii\rbac\Pe...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rest/UrlRuleTest.php
tests/framework/rest/UrlRuleTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rest; use Yii; use yii\helpers\VarDumper; use yii\rest\UrlRule; use yii\web\Request; use yii\web\UrlManager; use yii\web\UrlRule as WebU...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rest/IndexActionTest.php
tests/framework/rest/IndexActionTest.php
<?php namespace yiiunit\framework\rest; use Yii; use yii\data\ActiveDataProvider; use yii\data\Pagination; use yii\data\Sort; use yii\db\ActiveRecord; use yii\db\Query; use yii\rest\ActiveController; use yii\rest\IndexAction; use yiiunit\framework\filters\stubs\UserIdentity; use yiiunit\TestCase; /** * @group rest ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/rest/SerializerTest.php
tests/framework/rest/SerializerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\rest; use Yii; use JsonSerializable; use ReturnTypeWillChange; use yii\data\DataProviderInterface; use yii\base\Model; use yii\data\Arra...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/WinCacheTest.php
tests/framework/caching/WinCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\WinCache; /** * Class for testing wincache backend. * @group wincache * @group caching */ class WinCacheTe...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/DbQueryDependencyTest.php
tests/framework/caching/DbQueryDependencyTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\ArrayCache; use yii\caching\DbQueryDependency; use yii\db\Query; use yiiunit\framework\db\DatabaseTestCase; cl...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/DbCacheTest.php
tests/framework/caching/DbCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\db\Connection; use yii\caching\DbCache; /** * Class for testing file cache backend. * @group db * @group caching *...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/DbDependencyTest.php
tests/framework/caching/DbDependencyTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\ArrayCache; use yii\caching\DbDependency; use yiiunit\framework\db\DatabaseTestCase; /** * @group caching */...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/MssqlCacheTest.php
tests/framework/caching/MssqlCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\DbCache; use yii\db\Connection; /** * Class for testing file cache backend. * @group db * @group mssql * @...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/ApcCacheTest.php
tests/framework/caching/ApcCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\ApcCache; /** * Class for testing APC cache backend. * @group apc * @group caching */ class ApcCacheTest e...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/CallbackDependencyTest.php
tests/framework/caching/CallbackDependencyTest.php
<?php namespace yiiunit\framework\caching; use PHPUnit\Framework\TestCase; use yii\caching\ArrayCache; use yii\caching\CallbackDependency; class CallbackDependencyTest extends TestCase { public function testDependencyChange(): void { $cache = new ArrayCache(); $dependencyValue = true; ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/CacheTestCase.php
tests/framework/caching/CacheTestCase.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\caching; /** * Mock for the time() function for caching classes. * @return int */ function time() { return \yiiunit\framework\caching\CacheTest...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/MemCacheTest.php
tests/framework/caching/MemCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\MemCache; /** * Class for testing memcache cache backend. * @group memcache * @group caching */ class MemC...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/PgSQLCacheTest.php
tests/framework/caching/PgSQLCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\db\Connection; /** * Class for testing file cache backend. * @group db * @group caching * @group pgsql */ ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/ArrayCacheTest.php
tests/framework/caching/ArrayCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\ArrayCache; /** * Class for testing file cache backend. * @group caching */ class ArrayCacheTest extends Ca...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/TagDependencyTest.php
tests/framework/caching/TagDependencyTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\FileCache; use yii\caching\TagDependency; use yiiunit\TestCase; /** * @group caching */ class TagDependencyT...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/MemCachedTest.php
tests/framework/caching/MemCachedTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\MemCache; /** * Class for testing memcached cache backend. * @group memcached * @group caching */ class Me...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/FileCacheTest.php
tests/framework/caching/FileCacheTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use ReflectionClass; use yii\caching\FileCache; /** * Class for testing file cache backend. * @group caching */ class FileC...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/caching/DependencyTest.php
tests/framework/caching/DependencyTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\caching; use yii\caching\Cache; use yii\caching\Dependency; use yiiunit\data\cache\MockDependency; use yiiunit\TestCase; /** * Depende...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/data/SortTest.php
tests/framework/data/SortTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\data\Sort; use yii\web\UrlManager; use yiiunit\TestCase; /** * @author Qiang Xue <qiang.xue@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/data/ActiveDataProviderTest.php
tests/framework/data/ActiveDataProviderTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\base\InvalidCallException; use yii\data\ActiveDataProvider; use yii\db\Query; use yiiunit\data\ar\ActiveRecord; use yiiuni...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/data/DataFilterTest.php
tests/framework/data/DataFilterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use stdClass; use yii\base\DynamicModel; use yii\data\DataFilter; use yiiunit\data\base\Singer; use yiiunit\TestCase; /** * @gro...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/data/PaginationTest.php
tests/framework/data/PaginationTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\data\Pagination; use yii\web\Link; use yiiunit\TestCase; /** * @group data */ class PaginationTest 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/data/ArrayDataProviderTest.php
tests/framework/data/ArrayDataProviderTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\data\ArrayDataProvider; use yiiunit\TestCase; /** * @group data */ class ArrayDataProviderTest extends TestCase { p...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/data/BaseDataProviderTest.php
tests/framework/data/BaseDataProviderTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use ReflectionClass; use yii\data\BaseDataProvider; use yiiunit\TestCase; /** * @group data */ class BaseDataProviderTest exten...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/data/ActiveDataProviderCloningTest.php
tests/framework/data/ActiveDataProviderCloningTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\data\ActiveDataProvider; use yii\db\Query; use yiiunit\TestCase; class ActiveDataProviderCloningTest 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/data/ActiveDataFilterTest.php
tests/framework/data/ActiveDataFilterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\base\DynamicModel; use yii\data\ActiveDataFilter; use yiiunit\TestCase; class ActiveDataFilterTest 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/data/SqlDataProviderTest.php
tests/framework/data/SqlDataProviderTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\data; use yii\data\SqlDataProvider; use yiiunit\framework\db\DatabaseTestCase; /** * @group data */ class SqlDataProviderTest extends...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/SyslogTargetTest.php
tests/framework/log/SyslogTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\log { function openlog() { return \yiiunit\framework\log\SyslogTargetTest::openlog(func_get_args()); } function syslog() {...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/MySQLTargetTest.php
tests/framework/log/MySQLTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; /** * @group db * @group mysql * @group log */ class MySQLTargetTest extends DbTargetTest { protected static $driverName = ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/SqliteTargetTest.php
tests/framework/log/SqliteTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; /** * @group db * @group sqlite * @group log */ class SqliteTargetTest extends DbTargetTest { protected static $driverName ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/LoggerTest.php
tests/framework/log/LoggerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; use yii\log\Dispatcher; use yii\log\Logger; use yiiunit\TestCase; /** * @group log */ class LoggerTest 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/log/EmailTargetTest.php
tests/framework/log/EmailTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; use yii\base\InvalidConfigException; use yii\log\EmailTarget; use yii\mail\BaseMailer; use yii\mail\BaseMessage; use yiiunit\TestCa...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/DispatcherTest.php
tests/framework/log/DispatcherTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\log { function microtime($get_as_float) { if (\yiiunit\framework\log\DispatcherTest::$microtimeIsMocked) { return \yiiunit\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/TargetTest.php
tests/framework/log/TargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; use yii\log\Dispatcher; use yii\log\Logger; use yii\log\Target; use yiiunit\TestCase; /** * @group log */ class TargetTest exten...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/FileTargetTest.php
tests/framework/log/FileTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; use Yii; use yii\helpers\FileHelper; use yii\log\Dispatcher; use yii\log\FileTarget; use yii\log\Logger; use yiiunit\framework\log\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/PgSQLTargetTest.php
tests/framework/log/PgSQLTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; /** * @group db * @group pgsql * @group log */ class PgSQLTargetTest extends DbTargetTest { protected static $driverName = ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/ArrayTarget.php
tests/framework/log/ArrayTarget.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; use yii\base\Exception; use yii\log\Target; /** * ArrayTarget logs messages into an array, useful for tracking data in tests. */...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/DbTargetTest.php
tests/framework/log/DbTargetTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\log; use yii\console\Application; use yii\console\Controller; use yii\base\InvalidParamException; use yii\db\Exception; use yii\base\Inv...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/mocks/CustomLogger.php
tests/framework/log/mocks/CustomLogger.php
<?php namespace yiiunit\framework\log\mocks; use yii\log\FileTarget; class CustomLogger extends FileTarget { /** * @param array $message * * @return null|string|array */ public function formatMessage($message) { if ($message == 'yyy') { return null; } ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/mocks/TargetMock.php
tests/framework/log/mocks/TargetMock.php
<?php namespace yiiunit\framework\log\mocks; use yii\log\Target; class TargetMock extends Target { public $collectOverride; /** * @inheritDoc */ public function export() { } public function collect($messages, $final): void { if ($this->collectOverride !== null) { ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/log/mocks/typed_error.php
tests/framework/log/mocks/typed_error.php
<?php function typed_error_test_mock(string $test) { }
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/grid/RadiobuttonColumnTest.php
tests/framework/grid/RadiobuttonColumnTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\grid; use yii\base\InvalidConfigException; use Yii; use yii\data\ArrayDataProvider; use yii\grid\GridView; use yii\grid\RadioButtonColum...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/grid/GridViewTest.php
tests/framework/grid/GridViewTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\grid; use yiiunit\TestCase; use yii\db\Connection; use yii\web\UrlManager; use yii\data\ActiveDataProvider; use Exception; use Yii; use ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/grid/CheckboxColumnTest.php
tests/framework/grid/CheckboxColumnTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\grid; use Yii; use yii\data\ArrayDataProvider; use yii\grid\CheckboxColumn; use yii\grid\GridView; use yii\helpers\FileHelper; use yii\h...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/grid/SerialColumnTest.php
tests/framework/grid/SerialColumnTest.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\framework\grid; use yiiunit\TestCase; use Yii; use yii\data\ArrayDataProvider; use yii\data\Pagination; use yii\grid\Gri...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/grid/ActionColumnTest.php
tests/framework/grid/ActionColumnTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\grid; use yiiunit\TestCase; use yii\grid\ActionColumn; use yii\helpers\Html; /** * @author Vitaly S. <fornit1917@gmail.com> * * @gro...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/grid/DataColumnTest.php
tests/framework/grid/DataColumnTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\grid; use yiiunit\TestCase; use yiiunit\data\base\RulesModel; use Yii; use yii\data\ActiveDataProvider; use yii\data\ArrayDataProvider; ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UrlRuleTest.php
tests/framework/web/UrlRuleTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Yii; use yii\helpers\VarDumper; use yii\web\NotFoundHttpException; use yii\web\Request; use yii\web\UrlManager; use yii\web\Url...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
true
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/MultipartFormDataParserTest.php
tests/framework/web/MultipartFormDataParserTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\MultipartFormDataParser; use yiiunit\TestCase; class MultipartFormDataParserTest extends TestCase { public functio...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/GroupUrlRuleTest.php
tests/framework/web/GroupUrlRuleTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\GroupUrlRule; use yii\web\Request; use yii\web\UrlManager; use yii\web\UrlRule; use yiiunit\TestCase; /** * @group we...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/ErrorActionTest.php
tests/framework/web/ErrorActionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use InvalidArgumentException; use Yii; use yii\base\InvalidConfigException; use yii\base\UserException; use yii\web\ErrorAction; us...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/LinkTest.php
tests/framework/web/LinkTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\Link; use yiiunit\TestCase; /** * @group web */ class LinkTest extends TestCase { public function testSerializeL...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/ErrorHandlerTest.php
tests/framework/web/ErrorHandlerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Exception; use yii\BaseYii; use yii\web\Application; use Yii; use yii\web\NotFoundHttpException; use yii\web\View; use yiiunit\...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UrlManagerCreateUrlTest.php
tests/framework/web/UrlManagerCreateUrlTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Yii; use yii\caching\ArrayCache; use yii\web\UrlManager; use yii\web\UrlRule; use yiiunit\framework\web\stubs\CachedUrlRule; us...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
true
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UploadedFileTest.php
tests/framework/web/UploadedFileTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\UploadedFile; use yiiunit\framework\web\stubs\ModelStub; use yiiunit\framework\web\stubs\VendorImage; use yiiunit\TestC...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/FakeController.php
tests/framework/web/FakeController.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\Controller; /** * @author Misbahul D Munir <misbahuldmunir@gmail.com> * @since 2.0 */ class FakeController extends ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/FormatterTest.php
tests/framework/web/FormatterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yiiunit\TestCase; use yii\web\Response; use yii\web\ResponseFormatterInterface; abstract class FormatterTest 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/web/AssetConverterTest.php
tests/framework/web/AssetConverterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yiiunit\TestCase; use Yii; use yii\helpers\FileHelper; use yii\web\AssetConverter; /** * @group web */ class AssetConverterT...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/ControllerTest.php
tests/framework/web/ControllerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\Application; use yiiunit\framework\web\stubs\ModelBindingStub; use yii\base\Module; use yii\data\ArrayDataProvider; use...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/FakePhp80Controller.php
tests/framework/web/FakePhp80Controller.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\Controller; class FakePhp80Controller extends Controller { public $enableCsrfValidation = false; public functi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/HeaderCollectionTest.php
tests/framework/web/HeaderCollectionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\HeaderCollection; use yiiunit\TestCase; /** * @group web */ class HeaderCollectionTest extends TestCase { public...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/ResponseTest.php
tests/framework/web/ResponseTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yiiunit\TestCase; use DateTime; use DateTimeImmutable; use Error; use Exception; use RuntimeException; use Yii; use yii\helpers...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UrlManagerParseUrlTest.php
tests/framework/web/UrlManagerParseUrlTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\Application; use yii\caching\ArrayCache; use yii\web\Request; use yii\web\UrlManager; use yiiunit\TestCase; /** * Thi...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/CookieCollectionTest.php
tests/framework/web/CookieCollectionTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use DateTime; use DateTimeImmutable; use yii\web\Cookie; use yii\web\CookieCollection; use yiiunit\TestCase; /** * @group web */...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UrlManagerTest.php
tests/framework/web/UrlManagerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Yii; use yii\web\Request; use yii\web\UrlManager; use yiiunit\TestCase; /** * This tests verifies all features provided by Ur...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UserIdentity.php
tests/framework/web/UserIdentity.php
<?php namespace yiiunit\framework\web; use yii\base\Component; use yii\base\NotSupportedException; use yii\web\IdentityInterface; class UserIdentity extends Component implements IdentityInterface { private static $ids = [ 'user1', 'user2', 'user3', ]; private $_id; public st...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/JsonResponseFormatterTest.php
tests/framework/web/JsonResponseFormatterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use SplStack; use yii\helpers\Json; use yii\web\JsonResponseFormatter; use yiiunit\framework\web\stubs\ModelStub; /** * @author A...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/RequestTest.php
tests/framework/web/RequestTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Yii; use yii\base\InvalidConfigException; use stdClass; use yii\web\Request; use yiiunit\TestCase; /** * @group web * @backu...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
true
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/XmlResponseFormatterTest.php
tests/framework/web/XmlResponseFormatterTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use SplStack; use yii\web\XmlResponseFormatter; use yiiunit\framework\web\stubs\ModelStub; /** * @author Qiang Xue <qiang.xue@gma...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/FakePhp7Controller.php
tests/framework/web/FakePhp7Controller.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\web\Controller; /** * @author Brandon Kelly <branodn@craftcms.com> * @since 2.0.31 */ class FakePhp7Controller extends ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/AssetBundleTest.php
tests/framework/web/AssetBundleTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yiiunit\TestCase; use Exception; use yii\base\InvalidConfigException; use Yii; use yii\helpers\FileHelper; use yii\web\AssetBun...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/FakePhp71Controller.php
tests/framework/web/FakePhp71Controller.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\data\DataProviderInterface; use yii\web\Controller; use yii\web\Request; use yiiunit\framework\web\stubs\VendorImage; use y...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UrlNormalizerTest.php
tests/framework/web/UrlNormalizerTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Yii; use yii\web\NotFoundHttpException; use yii\web\Request; use yii\web\UrlManager; use yii\web\UrlNormalizer; use yii\web\Url...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/UserTest.php
tests/framework/web/UserTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yii\web; /** * Mock for the time() function for web classes. * @return int */ function time() { return \yiiunit\framework\web\UserTest::$time ?: \t...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/Post.php
tests/framework/web/Post.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use yii\base\BaseObject; /** * @inheritdoc */ class Post extends BaseObject { /** * @var int */ public $id; ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false
yiisoft/yii2
https://github.com/yiisoft/yii2/blob/c50e2d17498775bb79e89b960ec5346cb3b990ca/tests/framework/web/ViewTest.php
tests/framework/web/ViewTest.php
<?php /** * @link https://www.yiiframework.com/ * @copyright Copyright (c) 2008 Yii Software LLC * @license https://www.yiiframework.com/license/ */ namespace yiiunit\framework\web; use Yii; use yii\caching\FileCache; use yii\web\View; use yiiunit\TestCase; /** * @group web */ class ViewTest extends TestCase ...
php
BSD-3-Clause
c50e2d17498775bb79e89b960ec5346cb3b990ca
2026-01-04T15:02:42.625334Z
false