fix tests

This commit is contained in:
Dennis Eichhorn 2023-09-22 23:39:43 +00:00
parent 0b2aab5278
commit f60bc2a7f9
6 changed files with 53 additions and 2 deletions

View File

@ -1,4 +1,16 @@
<?php declare(strict_types=1);
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Labeling
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
use Modules\Labeling\Models\Image;
use Modules\Labeling\Models\Label;

View File

@ -16,6 +16,14 @@ declare(strict_types=1);
namespace Modules\Labeling\Models\Guidelines;
/**
* GS1 Datamatrix.
*
* @package Modules\Labeling\Models
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class GS1Datamatrix
{
private const DEFINITIONS = [

View File

@ -14,6 +14,14 @@ declare(strict_types=1);
namespace Modules\Labeling\Models;
/**
* Image.
*
* @package Modules\Labeling\Models
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class Image
{
public int $x = 0;

View File

@ -14,6 +14,14 @@ declare(strict_types=1);
namespace Modules\Labeling\Models;
/**
* Label.
*
* @package Modules\Labeling\Models
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class Label
{
public int $width = 50;
@ -144,7 +152,6 @@ class Label
\imagedestroy($in);
\imagedestroy($cut);
} else {
}
}

View File

@ -14,6 +14,14 @@ declare(strict_types=1);
namespace Modules\Labeling\Models;
/**
* Shape.
*
* @package Modules\Labeling\Models
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class Shape
{
public int $x = 0;

View File

@ -14,6 +14,14 @@ declare(strict_types=1);
namespace Modules\Labeling\Models;
/**
* Shape.
*
* @package Modules\Labeling\Models
* @license OMS License 2.0
* @link https://jingga.app
* @since 1.0.0
*/
class Text
{
public int $x = 0;