mirror of
https://github.com/Karaka-Management/oms-Labeling.git
synced 2026-01-11 09:08:42 +00:00
fix tests
This commit is contained in:
parent
0b2aab5278
commit
f60bc2a7f9
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user