Skip to content

Commit

Permalink
Merge pull request #91 from pechondra/replace-strict-object-for-smart…
Browse files Browse the repository at this point in the history
…-object

Replace Kdyby\StrictObject for Nette\SmartObject
  • Loading branch information
Spamercz authored May 25, 2021
2 parents 29cbb00 + ac30c9f commit fe61378
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"nette/di": "^2.4.10 || ^3.0",
"nette/routing": "^3.0.0",
"tracy/tracy": "^2.5 || ^3.0",
"kdyby/strict-objects": "^2.0",
"nette/utils": "~3.1.0",
"symfony/console": "~2.3 || ^3.0 || < 4.3"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class Application extends \Symfony\Component\Console\Application
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

public const CLI_SAPI = 'cli';
public const INPUT_ERROR_EXIT_CODE = 253;
Expand Down
2 changes: 1 addition & 1 deletion src/CliResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class CliResponse implements \Nette\Application\IResponse
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var int
Expand Down
2 changes: 1 addition & 1 deletion src/CliRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class CliRouter implements \Nette\Routing\Router
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var string[]
Expand Down
2 changes: 1 addition & 1 deletion src/ContainerHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class ContainerHelper extends \Symfony\Component\Console\Helper\Helper
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var \Nette\DI\Container
Expand Down
2 changes: 1 addition & 1 deletion src/DI/BootstrapHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
class BootstrapHelper
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @param \Nette\Configurator $configurator
Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/PresenterHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class PresenterHelper extends \Symfony\Component\Console\Helper\Helper
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var \Nette\Application\Application
Expand Down
2 changes: 1 addition & 1 deletion src/StringOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
class StringOutput extends \Symfony\Component\Console\Output\Output
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var string
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/AmbiguousCommand1.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AmbiguousCommand1 extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/AmbiguousCommand2.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class AmbiguousCommand2 extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/ArgCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class ArgCommand extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/CliAppTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class CliAppTester
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var \Symfony\Component\Console\Application
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/CommandMock.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class CommandMock extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/ConsoleListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class ConsoleListener implements \Kdyby\Events\Subscriber
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var string[][]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class NamespaceAmbiguousCommand1 extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class NamespaceAmbiguousCommand2 extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/SameArgsCommandOne.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class SameArgsCommandOne extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var \KdybyTests\Console\ArgCommand
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/SameArgsCommandTwo.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class SameArgsCommandTwo extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

/**
* @var \KdybyTests\Console\ArgCommand
Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/Console/data/TypoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class TypoCommand extends \Symfony\Component\Console\Command\Command
{

use \Kdyby\StrictObjects\Scream;
use \Nette\SmartObject;

protected function configure()
{
Expand Down

0 comments on commit fe61378

Please sign in to comment.