Skip to content

Commit

Permalink
Replace Kdyby\StrictObject for Nette\SmartObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Ondřej Pech committed Mar 24, 2021
1 parent d769f67 commit 5f25937
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
},
"require": {
"php": "^7.1",
"doctrine/orm": "~2.7",
"doctrine/dbal": "~2.9",
"doctrine/orm": "^2.6.3",
"doctrine/dbal": "^2.9.2",
"doctrine/common":"^2.13.1",
"kdyby/console": "^2.7.1",
"kdyby/annotations": "^3.0",
"kdyby/doctrine-cache": "^3.0",
"kdyby/strict-objects": "^2.0",
"nette/di": "^3.0",
"nette/utils": "^3.0",
"nette/utils": "~3.1.0",
"nette/finder": "^2.5"
},
"suggest": {
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
class Connection extends Doctrine\DBAL\Connection
{

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

/**
* @var bool
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Console/ColoredSqlOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class ColoredSqlOutput implements OutputInterface
{

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

/**
* @var \Symfony\Component\Console\Output\OutputInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Console/DbalDelegateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
abstract class DbalDelegateCommand extends Command
{

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

/**
* @var \Symfony\Component\Console\Command\Command
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Console/OrmDelegateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
abstract class OrmDelegateCommand extends Command
{

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

/**
* @var \Symfony\Component\Console\Command\Command
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class EntityManagerUnitOfWorkSnapshotPanel
{

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

/**
* @var \Doctrine\ORM\EntityManager
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Diagnostics/FileLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class FileLogger implements SQLLogger
{

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

/**
* @var string
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Diagnostics/Panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
class Panel implements IBarPanel, Doctrine\DBAL\Logging\SQLLogger
{

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

/**
* @var float logged time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class SimpleParameterFormatter
{

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

/**
* @param mixed $param
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/EntityManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class EntityManager extends Doctrine\ORM\EntityManager implements Persistence\QueryExecutor, Persistence\Queryable
{

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

/**
* @var NonLockingUniqueInserter
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Mapping/EntityListenerResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class EntityListenerResolver implements \Doctrine\ORM\Mapping\EntityListenerResolver
{

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

/**
* @var \Nette\DI\Container
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/NativeQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
class NativeQueryBuilder extends Doctrine\DBAL\Query\QueryBuilder
{

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

/**
* @var Mapping\ResultSetMappingBuilder
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Proxy/ProxyAutoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
class ProxyAutoloader
{

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

/**
* @var string
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class QueryBuilder extends Doctrine\ORM\QueryBuilder implements \IteratorAggregate
{

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

/**
* @var array
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class Registry extends AbstractManagerRegistry
{

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

/**
* @var Nette\DI\Container
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/RepositoryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class RepositoryFactory implements Doctrine\ORM\Repository\RepositoryFactory
{

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

/**
* @var Nette\DI\Container
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/ResultSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
class ResultSet implements \Countable, \IteratorAggregate
{

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

/**
* @var int|NULL
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Tools/CacheCleaner.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
class CacheCleaner
{

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

/**
* @var \Doctrine\ORM\EntityManager
Expand Down
2 changes: 1 addition & 1 deletion src/Kdyby/Doctrine/Tools/NonLockingUniqueInserter.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class NonLockingUniqueInserter
{

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

/**
* @var \Kdyby\Doctrine\EntityManager
Expand Down

0 comments on commit 5f25937

Please sign in to comment.