diff --git a/composer.json b/composer.json index 977da89..8b020b7 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/src/Application.php b/src/Application.php index df0fadb..7747d77 100644 --- a/src/Application.php +++ b/src/Application.php @@ -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; diff --git a/src/CliResponse.php b/src/CliResponse.php index 0813db6..95a55de 100644 --- a/src/CliResponse.php +++ b/src/CliResponse.php @@ -19,7 +19,7 @@ class CliResponse implements \Nette\Application\IResponse { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var int diff --git a/src/CliRouter.php b/src/CliRouter.php index c7d37e7..2011cc8 100644 --- a/src/CliRouter.php +++ b/src/CliRouter.php @@ -20,7 +20,7 @@ class CliRouter implements \Nette\Routing\Router { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var string[] diff --git a/src/ContainerHelper.php b/src/ContainerHelper.php index c316e6b..a005557 100644 --- a/src/ContainerHelper.php +++ b/src/ContainerHelper.php @@ -17,7 +17,7 @@ class ContainerHelper extends \Symfony\Component\Console\Helper\Helper { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var \Nette\DI\Container diff --git a/src/DI/BootstrapHelper.php b/src/DI/BootstrapHelper.php index 7299c2c..593937e 100644 --- a/src/DI/BootstrapHelper.php +++ b/src/DI/BootstrapHelper.php @@ -39,7 +39,7 @@ class BootstrapHelper { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @param \Nette\Configurator $configurator diff --git a/src/Helpers/PresenterHelper.php b/src/Helpers/PresenterHelper.php index 9852753..303a12b 100644 --- a/src/Helpers/PresenterHelper.php +++ b/src/Helpers/PresenterHelper.php @@ -17,7 +17,7 @@ class PresenterHelper extends \Symfony\Component\Console\Helper\Helper { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var \Nette\Application\Application diff --git a/src/StringOutput.php b/src/StringOutput.php index 27f4ef7..b1ab623 100644 --- a/src/StringOutput.php +++ b/src/StringOutput.php @@ -15,7 +15,7 @@ class StringOutput extends \Symfony\Component\Console\Output\Output { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var string diff --git a/tests/KdybyTests/Console/data/AmbiguousCommand1.php b/tests/KdybyTests/Console/data/AmbiguousCommand1.php index c75ba80..b25d2f5 100644 --- a/tests/KdybyTests/Console/data/AmbiguousCommand1.php +++ b/tests/KdybyTests/Console/data/AmbiguousCommand1.php @@ -11,7 +11,7 @@ class AmbiguousCommand1 extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() { diff --git a/tests/KdybyTests/Console/data/AmbiguousCommand2.php b/tests/KdybyTests/Console/data/AmbiguousCommand2.php index b8c2091..f3762d1 100644 --- a/tests/KdybyTests/Console/data/AmbiguousCommand2.php +++ b/tests/KdybyTests/Console/data/AmbiguousCommand2.php @@ -11,7 +11,7 @@ class AmbiguousCommand2 extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() { diff --git a/tests/KdybyTests/Console/data/ArgCommand.php b/tests/KdybyTests/Console/data/ArgCommand.php index 3f4de8f..672e06a 100644 --- a/tests/KdybyTests/Console/data/ArgCommand.php +++ b/tests/KdybyTests/Console/data/ArgCommand.php @@ -13,7 +13,7 @@ class ArgCommand extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() { diff --git a/tests/KdybyTests/Console/data/CliAppTester.php b/tests/KdybyTests/Console/data/CliAppTester.php index 7e9cff7..5af3e22 100644 --- a/tests/KdybyTests/Console/data/CliAppTester.php +++ b/tests/KdybyTests/Console/data/CliAppTester.php @@ -19,7 +19,7 @@ class CliAppTester { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var \Symfony\Component\Console\Application diff --git a/tests/KdybyTests/Console/data/CommandMock.php b/tests/KdybyTests/Console/data/CommandMock.php index bb1b95a..122de44 100644 --- a/tests/KdybyTests/Console/data/CommandMock.php +++ b/tests/KdybyTests/Console/data/CommandMock.php @@ -7,7 +7,7 @@ class CommandMock extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() { diff --git a/tests/KdybyTests/Console/data/ConsoleListener.php b/tests/KdybyTests/Console/data/ConsoleListener.php index 977b641..3bbcc8c 100644 --- a/tests/KdybyTests/Console/data/ConsoleListener.php +++ b/tests/KdybyTests/Console/data/ConsoleListener.php @@ -11,7 +11,7 @@ class ConsoleListener implements \Kdyby\Events\Subscriber { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var string[][] diff --git a/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand1.php b/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand1.php index 1ef5b23..df31134 100644 --- a/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand1.php +++ b/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand1.php @@ -11,7 +11,7 @@ class NamespaceAmbiguousCommand1 extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() { diff --git a/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand2.php b/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand2.php index f3c8bf4..671dd85 100644 --- a/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand2.php +++ b/tests/KdybyTests/Console/data/NamespaceAmbiguousCommand2.php @@ -11,7 +11,7 @@ class NamespaceAmbiguousCommand2 extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() { diff --git a/tests/KdybyTests/Console/data/SameArgsCommandOne.php b/tests/KdybyTests/Console/data/SameArgsCommandOne.php index 3c35393..cb00f17 100644 --- a/tests/KdybyTests/Console/data/SameArgsCommandOne.php +++ b/tests/KdybyTests/Console/data/SameArgsCommandOne.php @@ -11,7 +11,7 @@ class SameArgsCommandOne extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var \KdybyTests\Console\ArgCommand diff --git a/tests/KdybyTests/Console/data/SameArgsCommandTwo.php b/tests/KdybyTests/Console/data/SameArgsCommandTwo.php index bb441ed..2829db1 100644 --- a/tests/KdybyTests/Console/data/SameArgsCommandTwo.php +++ b/tests/KdybyTests/Console/data/SameArgsCommandTwo.php @@ -11,7 +11,7 @@ class SameArgsCommandTwo extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; /** * @var \KdybyTests\Console\ArgCommand diff --git a/tests/KdybyTests/Console/data/TypoCommand.php b/tests/KdybyTests/Console/data/TypoCommand.php index cd2efe6..f97efb9 100644 --- a/tests/KdybyTests/Console/data/TypoCommand.php +++ b/tests/KdybyTests/Console/data/TypoCommand.php @@ -11,7 +11,7 @@ class TypoCommand extends \Symfony\Component\Console\Command\Command { - use \Kdyby\StrictObjects\Scream; + use \Nette\SmartObject; protected function configure() {