mirror of
https://github.com/Karaka-Management/oms-News.git
synced 2026-02-16 08:28:42 +00:00
make classes final
This commit is contained in:
parent
42c9ba9954
commit
d6bd7a2994
|
|
@ -17,7 +17,7 @@ namespace Modules\News\tests\Admin;
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class AdminTest extends \PHPUnit\Framework\TestCase
|
final class AdminTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected const NAME = 'News';
|
protected const NAME = 'News';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ use phpOMS\Utils\TestUtils;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class ControllerTest extends \PHPUnit\Framework\TestCase
|
final class ControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected $app = null;
|
protected $app = null;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ use phpOMS\Utils\RnG\Text;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NewsArticleMapperTest extends \PHPUnit\Framework\TestCase
|
final class NewsArticleMapperTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @testdox The model can be created and read from the database
|
* @testdox The model can be created and read from the database
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ use phpOMS\Localization\ISO639x1Enum;
|
||||||
*
|
*
|
||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
class NewsArticleTest extends \PHPUnit\Framework\TestCase
|
final class NewsArticleTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
protected NewsArticle $news;
|
protected NewsArticle $news;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user