mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 13:28:39 +00:00
make null models final
This commit is contained in:
parent
c003aae57f
commit
20a45ef0c8
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Algorithm\PathFinding;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullJumpPointNode extends JumpPointNode
|
final class NullJumpPointNode extends JumpPointNode
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Algorithm\PathFinding;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullNode extends Node
|
final class NullNode extends Node
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Localization\Defaults;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullCity extends City
|
final class NullCity extends City
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Localization\Defaults;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullCountry extends Country
|
final class NullCountry extends Country
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Localization\Defaults;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullCurrency extends Currency
|
final class NullCurrency extends Currency
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Localization\Defaults;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullIban extends Iban
|
final class NullIban extends Iban
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Localization\Defaults;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullLanguage extends Language
|
final class NullLanguage extends Language
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Localization;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullLocalization extends Localization
|
final class NullLocalization extends Localization
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Socket\Client;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullClientConnection extends ClientConnection
|
final class NullClientConnection extends ClientConnection
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Stdlib\Base;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullLocation extends Location
|
final class NullLocation extends Location
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Utils\Git;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullCommit extends Commit
|
final class NullCommit extends Commit
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Utils\TaskSchedule;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullCronJob extends CronJob
|
final class NullCronJob extends CronJob
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,6 @@ namespace phpOMS\Utils\TaskSchedule;
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
class NullSchedule extends Schedule
|
final class NullSchedule extends Schedule
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Account\NullAccount;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullAccountTest extends \PHPUnit\Framework\TestCase
|
final class NullAccountTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
public function testNull() : void
|
public function testNull() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use phpOMS\Account\NullGroup;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullGroupTest extends \PHPUnit\Framework\TestCase
|
final class NullGroupTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
public function testNull() : void
|
public function testNull() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Cache\Connection\NullCache;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullCacheTest extends \PHPUnit\Framework\TestCase
|
final class NullCacheTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The default cache has the expected default values after initialization
|
* @testdox The default cache has the expected default values after initialization
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\DataStorage\Database\DatabaseType;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullConnectionTest extends \PHPUnit\Framework\TestCase
|
final class NullConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox A null connection can be created as placeholder
|
* @testdox A null connection can be created as placeholder
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
||||||
|
|
||||||
class NullBaseModel extends BaseModel
|
final class NullBaseModel extends BaseModel
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
||||||
|
|
||||||
class NullBelongsToModel extends BelongsToModel
|
final class NullBelongsToModel extends BelongsToModel
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
||||||
|
|
||||||
class NullManyToManyDirectModel extends ManyToManyDirectModel
|
final class NullManyToManyDirectModel extends ManyToManyDirectModel
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
||||||
|
|
||||||
class NullManyToManyRelModel extends ManyToManyRelModel
|
final class NullManyToManyRelModel extends ManyToManyRelModel
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,6 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
namespace phpOMS\tests\DataStorage\Database\TestModel;
|
||||||
|
|
||||||
class NullOwnsOneModel extends OwnsOneModel
|
final class NullOwnsOneModel extends OwnsOneModel
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ use phpOMS\Module\NullModule;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullModuleTest extends \PHPUnit\Framework\TestCase
|
final class NullModuleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
public function testModule() : void
|
public function testModule() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ namespace phpOMS\tests\Socket\Client;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullClientConnectionTest extends \PHPUnit\Framework\TestCase
|
final class NullClientConnectionTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
public function testPlaceholder() : void
|
public function testPlaceholder() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ use phpOMS\Stdlib\Base\NullLocation;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NullLocationTest extends \PHPUnit\Framework\TestCase
|
final class NullLocationTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
public function testNullLocation() : void
|
public function testNullLocation() : void
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user