Improved organisation of Services

This commit is contained in:
Jan Böhmer 2022-12-18 17:28:42 +01:00
parent c3308aaf24
commit a4eae19a1f
56 changed files with 100 additions and 97 deletions

View file

@ -22,7 +22,7 @@ declare(strict_types=1);
namespace App\Tests\Services\Attachments;
use App\Services\AmountFormatter;
use App\Services\Formatters\AmountFormatter;
use App\Services\Attachments\AttachmentPathResolver;
use const DIRECTORY_SEPARATOR;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View file

@ -28,7 +28,7 @@ use App\Entity\Base\AbstractNamedDBElement;
use App\Entity\Parts\Category;
use App\Entity\Parts\Part;
use App\Exceptions\EntityNotSupportedException;
use App\Services\AmountFormatter;
use App\Services\Formatters\AmountFormatter;
use App\Services\ElementTypeNameGenerator;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View file

@ -20,10 +20,10 @@
declare(strict_types=1);
namespace App\Tests\Services;
namespace App\Tests\Services\Formatters;
use App\Entity\Parts\MeasurementUnit;
use App\Services\AmountFormatter;
use App\Services\Formatters\AmountFormatter;
use InvalidArgumentException;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View file

@ -20,9 +20,9 @@
declare(strict_types=1);
namespace App\Tests\Services;
namespace App\Tests\Services\Formatters;
use App\Services\SIFormatter;
use App\Services\Formatters\SIFormatter;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class SIFormatterTest extends WebTestCase

View file

@ -20,11 +20,11 @@
declare(strict_types=1);
namespace App\Tests\Services;
namespace App\Tests\Services\ImportExportSystem;
use App\Entity\Attachments\AttachmentType;
use App\Services\AmountFormatter;
use App\Services\EntityImporter;
use App\Services\Formatters\AmountFormatter;
use App\Services\ImportExportSystem\EntityImporter;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
/**

View file

@ -20,9 +20,10 @@
declare(strict_types=1);
namespace App\Tests\Services;
namespace App\Tests\Services\Misc;
use App\Services\FAIconGenerator;
use App\Services\Misc\FAIconGenerator;
use App\Tests\Services\AmountFormatter;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class FAIconGeneratorTest extends WebTestCase

View file

@ -20,13 +20,13 @@
declare(strict_types=1);
namespace App\Tests\Services;
namespace App\Tests\Services\Parts;
use App\Entity\Parts\Part;
use App\Entity\PriceInformations\Orderdetail;
use App\Entity\PriceInformations\Pricedetail;
use App\Services\AmountFormatter;
use App\Services\PricedetailHelper;
use App\Services\Formatters\AmountFormatter;
use App\Services\Parts\PricedetailHelper;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class PricedetailHelperTest extends WebTestCase