This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from spiral-modules/develop
fixing tests
- Loading branch information
Showing
30 changed files
with
4,058 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,5 +28,4 @@ | |
"TestApplication\\": "tests/-app-/classes/" | ||
} | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<?php | ||
namespace Spiral\Commands\Console; | ||
|
||
class ReloadCommand | ||
{ | ||
/** | ||
* @var \Spiral\Core\MemoryInterface | ||
*/ | ||
protected $memory = null; | ||
|
||
/** | ||
* @var \Spiral\Core\ContainerInterface | ||
*/ | ||
protected $container = null; | ||
|
||
/** | ||
* @var \Spiral\Debug\LogsInterface | ||
*/ | ||
protected $logs = null; | ||
|
||
/** | ||
* @var \Spiral\Http\HttpDispatcher | ||
*/ | ||
protected $http = null; | ||
|
||
/** | ||
* @var \Spiral\Console\ConsoleDispatcher | ||
*/ | ||
protected $console = null; | ||
|
||
/** | ||
* @var \Spiral\Console\ConsoleDispatcher | ||
*/ | ||
protected $commands = null; | ||
|
||
/** | ||
* @var \Spiral\Files\FilesInterface | ||
*/ | ||
protected $files = null; | ||
|
||
/** | ||
* @var \Spiral\Tokenizer\TokenizerInterface | ||
*/ | ||
protected $tokenizer = null; | ||
|
||
/** | ||
* @var \Spiral\Tokenizer\ClassesInterface | ||
*/ | ||
protected $locator = null; | ||
|
||
/** | ||
* @var \Spiral\Tokenizer\InvocationsInterface | ||
*/ | ||
protected $invocationLocator = null; | ||
|
||
/** | ||
* @var \Spiral\Views\ViewManager | ||
*/ | ||
protected $views = null; | ||
|
||
/** | ||
* @var \Spiral\Translator\Translator | ||
*/ | ||
protected $translator = null; | ||
|
||
/** | ||
* @var \Spiral\Database\DatabaseManager | ||
*/ | ||
protected $dbal = null; | ||
|
||
/** | ||
* @var \Spiral\ORM\ORM | ||
*/ | ||
protected $orm = null; | ||
|
||
/** | ||
* @var \Spiral\ODM\ODM | ||
*/ | ||
protected $odm = null; | ||
|
||
/** | ||
* @var \Spiral\Encrypter\EncrypterInterface | ||
*/ | ||
protected $encrypter = null; | ||
|
||
/** | ||
* @var \Spiral\Database\Entities\Database | ||
*/ | ||
protected $db = null; | ||
|
||
/** | ||
* @var \Spiral\ODM\Entities\MongoDatabase | ||
*/ | ||
protected $mongo = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Cookies\CookieQueue | ||
*/ | ||
protected $cookies = null; | ||
|
||
/** | ||
* @var \Spiral\Session\SessionInterface | ||
*/ | ||
protected $session = null; | ||
|
||
/** | ||
* @var \Spiral\Pagination\PaginatorsInterface | ||
*/ | ||
protected $paginators = null; | ||
|
||
/** | ||
* @var \Psr\Http\Message\ServerRequestInterface | ||
*/ | ||
protected $request = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Request\InputManager | ||
*/ | ||
protected $input = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Response\ResponseWrapper | ||
*/ | ||
protected $response = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Routing\RouteInterface | ||
*/ | ||
protected $route = null; | ||
|
||
/** | ||
* @var \Spiral\Security\PermissionsInterface | ||
*/ | ||
protected $permissions = null; | ||
|
||
/** | ||
* @var \Spiral\Security\RulesInterface | ||
*/ | ||
protected $rules = null; | ||
|
||
/** | ||
* @var \Spiral\Security\ActorInterface | ||
*/ | ||
protected $actor = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Routing\RouterInterface | ||
*/ | ||
protected $router = null; | ||
} |
150 changes: 150 additions & 0 deletions
150
tests/data/Spiral/Commands/Database/DescribeCommand.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<?php | ||
namespace Spiral\Commands\Database; | ||
|
||
class DescribeCommand | ||
{ | ||
/** | ||
* @var \Spiral\Core\MemoryInterface | ||
*/ | ||
protected $memory = null; | ||
|
||
/** | ||
* @var \Spiral\Core\ContainerInterface | ||
*/ | ||
protected $container = null; | ||
|
||
/** | ||
* @var \Spiral\Debug\LogsInterface | ||
*/ | ||
protected $logs = null; | ||
|
||
/** | ||
* @var \Spiral\Http\HttpDispatcher | ||
*/ | ||
protected $http = null; | ||
|
||
/** | ||
* @var \Spiral\Console\ConsoleDispatcher | ||
*/ | ||
protected $console = null; | ||
|
||
/** | ||
* @var \Spiral\Console\ConsoleDispatcher | ||
*/ | ||
protected $commands = null; | ||
|
||
/** | ||
* @var \Spiral\Files\FilesInterface | ||
*/ | ||
protected $files = null; | ||
|
||
/** | ||
* @var \Spiral\Tokenizer\TokenizerInterface | ||
*/ | ||
protected $tokenizer = null; | ||
|
||
/** | ||
* @var \Spiral\Tokenizer\ClassesInterface | ||
*/ | ||
protected $locator = null; | ||
|
||
/** | ||
* @var \Spiral\Tokenizer\InvocationsInterface | ||
*/ | ||
protected $invocationLocator = null; | ||
|
||
/** | ||
* @var \Spiral\Views\ViewManager | ||
*/ | ||
protected $views = null; | ||
|
||
/** | ||
* @var \Spiral\Translator\Translator | ||
*/ | ||
protected $translator = null; | ||
|
||
/** | ||
* @var \Spiral\Database\DatabaseManager | ||
*/ | ||
protected $dbal = null; | ||
|
||
/** | ||
* @var \Spiral\ORM\ORM | ||
*/ | ||
protected $orm = null; | ||
|
||
/** | ||
* @var \Spiral\ODM\ODM | ||
*/ | ||
protected $odm = null; | ||
|
||
/** | ||
* @var \Spiral\Encrypter\EncrypterInterface | ||
*/ | ||
protected $encrypter = null; | ||
|
||
/** | ||
* @var \Spiral\Database\Entities\Database | ||
*/ | ||
protected $db = null; | ||
|
||
/** | ||
* @var \Spiral\ODM\Entities\MongoDatabase | ||
*/ | ||
protected $mongo = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Cookies\CookieQueue | ||
*/ | ||
protected $cookies = null; | ||
|
||
/** | ||
* @var \Spiral\Session\SessionInterface | ||
*/ | ||
protected $session = null; | ||
|
||
/** | ||
* @var \Spiral\Pagination\PaginatorsInterface | ||
*/ | ||
protected $paginators = null; | ||
|
||
/** | ||
* @var \Psr\Http\Message\ServerRequestInterface | ||
*/ | ||
protected $request = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Request\InputManager | ||
*/ | ||
protected $input = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Response\ResponseWrapper | ||
*/ | ||
protected $response = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Routing\RouteInterface | ||
*/ | ||
protected $route = null; | ||
|
||
/** | ||
* @var \Spiral\Security\PermissionsInterface | ||
*/ | ||
protected $permissions = null; | ||
|
||
/** | ||
* @var \Spiral\Security\RulesInterface | ||
*/ | ||
protected $rules = null; | ||
|
||
/** | ||
* @var \Spiral\Security\ActorInterface | ||
*/ | ||
protected $actor = null; | ||
|
||
/** | ||
* @var \Spiral\Http\Routing\RouterInterface | ||
*/ | ||
protected $router = null; | ||
} |
Oops, something went wrong.