add Logging
This commit is contained in:
parent
b279dd058f
commit
b5f1ba6f87
@ -61,7 +61,9 @@ class HiltesExportCommand extends Command
|
||||
|
||||
|
||||
foreach ($orders as $order) {
|
||||
if ($order->getStatus() > 0) continue;
|
||||
if ($order->getStatus() > 0) {
|
||||
continue;
|
||||
}
|
||||
$tA = $order->getData();#json_decode($order->getData());
|
||||
$tA['orderdate'] = "2023-08-30T12:05:24.000Z";
|
||||
|
||||
|
@ -17,6 +17,7 @@ use Symfony\Component\Console\Input\InputOption;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
use Symfony\Component\HttpKernel\KernelInterface;
|
||||
|
||||
use function Sentry\captureCheckIn;
|
||||
|
||||
#[AsCommand(
|
||||
@ -35,8 +36,7 @@ class HiltesImportCommand extends Command
|
||||
StockRepository $stockRepository,
|
||||
WarehouseRepository $warehouseRepository,
|
||||
LoggerInterface $logger
|
||||
)
|
||||
{
|
||||
) {
|
||||
$this->productRepository = $productRepository;
|
||||
$this->stockRepository = $stockRepository;
|
||||
$this->warehouseRepository = $warehouseRepository;
|
||||
|
@ -32,8 +32,7 @@ class JtlExportCommand extends Command
|
||||
StockRepository $stockRepository,
|
||||
WarehouseRepository $warehouseRepository,
|
||||
LoggerInterface $logger
|
||||
)
|
||||
{
|
||||
) {
|
||||
$this->productRepository = $productRepository;
|
||||
$this->stockRepository = $stockRepository;
|
||||
$this->warehouseRepository = $warehouseRepository;
|
||||
|
@ -9,7 +9,6 @@ use DateTimeInterface;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
|
||||
/*
|
||||
* Bestellungen Status:
|
||||
* 1 = Bestellung eingegangen
|
||||
|
@ -15,7 +15,6 @@ use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpKernel\Event\ViewEvent;
|
||||
use Symfony\Component\HttpKernel\KernelEvents;
|
||||
|
||||
|
||||
class SlackNotifySubscriber implements EventSubscriberInterface
|
||||
{
|
||||
/**
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Helper;
|
||||
|
||||
|
||||
use Exception;
|
||||
|
||||
class Ftp
|
||||
|
@ -9,7 +9,6 @@ use Symfony\Component\Filesystem\Exception\IOExceptionInterface;
|
||||
use Symfony\Component\Filesystem\Filesystem;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
|
||||
class Hiltes
|
||||
{
|
||||
// init file system
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Helper;
|
||||
|
||||
|
||||
use App\Entity\Product;
|
||||
use App\Entity\Stock;
|
||||
use App\Entity\Warehouse;
|
||||
|
@ -12,7 +12,6 @@ use Exception;
|
||||
use League\Csv\Writer;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
|
||||
class Jtl
|
||||
{
|
||||
private $productRepository;
|
||||
@ -45,8 +44,8 @@ class Jtl
|
||||
WarehouseRepository $warehouseRepository,
|
||||
StockRepository $stockRepository,
|
||||
LoggerInterface $logger,
|
||||
string $rootPath)
|
||||
{
|
||||
string $rootPath
|
||||
) {
|
||||
$this->productRepository = $productRepository;
|
||||
$this->warehouseRepository = $warehouseRepository;
|
||||
$this->stockRepository = $stockRepository;
|
||||
|
@ -15,7 +15,6 @@ use Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPasspor
|
||||
|
||||
class ApiKeyAuthenticator extends AbstractAuthenticator
|
||||
{
|
||||
|
||||
/**
|
||||
* Called on every request to decide if this authenticator should be
|
||||
* used for the request. Returning `false` will cause this authenticator
|
||||
|
Loading…
Reference in New Issue
Block a user