mirror of
https://github.com/Karaka-Management/oms-Labeling.git
synced 2026-02-08 13:58:41 +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\Image;
|
||||||
use Modules\Labeling\Models\Label;
|
use Modules\Labeling\Models\Label;
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,14 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Labeling\Models\Guidelines;
|
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
|
class GS1Datamatrix
|
||||||
{
|
{
|
||||||
private const DEFINITIONS = [
|
private const DEFINITIONS = [
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,14 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Labeling\Models;
|
namespace Modules\Labeling\Models;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Image.
|
||||||
|
*
|
||||||
|
* @package Modules\Labeling\Models
|
||||||
|
* @license OMS License 2.0
|
||||||
|
* @link https://jingga.app
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
class Image
|
class Image
|
||||||
{
|
{
|
||||||
public int $x = 0;
|
public int $x = 0;
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,14 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Labeling\Models;
|
namespace Modules\Labeling\Models;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Label.
|
||||||
|
*
|
||||||
|
* @package Modules\Labeling\Models
|
||||||
|
* @license OMS License 2.0
|
||||||
|
* @link https://jingga.app
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
class Label
|
class Label
|
||||||
{
|
{
|
||||||
public int $width = 50;
|
public int $width = 50;
|
||||||
|
|
@ -144,7 +152,6 @@ class Label
|
||||||
|
|
||||||
\imagedestroy($in);
|
\imagedestroy($in);
|
||||||
\imagedestroy($cut);
|
\imagedestroy($cut);
|
||||||
} else {
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,14 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Labeling\Models;
|
namespace Modules\Labeling\Models;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shape.
|
||||||
|
*
|
||||||
|
* @package Modules\Labeling\Models
|
||||||
|
* @license OMS License 2.0
|
||||||
|
* @link https://jingga.app
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
class Shape
|
class Shape
|
||||||
{
|
{
|
||||||
public int $x = 0;
|
public int $x = 0;
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,14 @@ declare(strict_types=1);
|
||||||
|
|
||||||
namespace Modules\Labeling\Models;
|
namespace Modules\Labeling\Models;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shape.
|
||||||
|
*
|
||||||
|
* @package Modules\Labeling\Models
|
||||||
|
* @license OMS License 2.0
|
||||||
|
* @link https://jingga.app
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
class Text
|
class Text
|
||||||
{
|
{
|
||||||
public int $x = 0;
|
public int $x = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user