Skip to content

Commit

Permalink
#25 Centralisation of profile recognition -> Fixed malformed use clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Oct 12, 2023
1 parent 170ebb0 commit 9c69850
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 35 deletions.
15 changes: 7 additions & 8 deletions src/ZugferdDocumentJsonExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@

namespace horstoeko\zugferd;

use \GoetasWebservices\Xsd\XsdToPhpRuntime\Jms\Handler\BaseTypesHandler;
use \GoetasWebservices\Xsd\XsdToPhpRuntime\Jms\Handler\XmlSchemaDateHandler;
use \horstoeko\stringmanagement\PathUtils;
use \horstoeko\zugferd\jms\ZugferdTypesHandler;
use GoetasWebservices\Xsd\XsdToPhpRuntime\Jms\Handler\BaseTypesHandler;
use GoetasWebservices\Xsd\XsdToPhpRuntime\Jms\Handler\XmlSchemaDateHandler;
use horstoeko\stringmanagement\PathUtils;
use horstoeko\zugferd\jms\ZugferdTypesHandler;
use JMS\Serializer\Exception\RuntimeException as ExceptionRuntimeException;
use \JMS\Serializer\Handler\HandlerRegistryInterface;
use \JMS\Serializer\SerializerBuilder;
use \JMS\Serializer\SerializerInterface;
use RuntimeException;
use JMS\Serializer\Handler\HandlerRegistryInterface;
use JMS\Serializer\SerializerBuilder;
use JMS\Serializer\SerializerInterface;
use stdClass;

/**
Expand Down
16 changes: 8 additions & 8 deletions src/ZugferdDocumentPdfBuilderAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

namespace horstoeko\zugferd;

use \DOMDocument;
use \DOMXpath;
use \horstoeko\stringmanagement\PathUtils;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\ZugferdPackageVersion;
use \horstoeko\zugferd\ZugferdPdfWriter;
use \horstoeko\zugferd\ZugferdSettings;
use \setasign\Fpdi\PdfParser\StreamReader as PdfStreamReader;
use DOMDocument;
use DOMXpath;
use horstoeko\stringmanagement\PathUtils;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\ZugferdPackageVersion;
use horstoeko\zugferd\ZugferdPdfWriter;
use horstoeko\zugferd\ZugferdSettings;
use setasign\Fpdi\PdfParser\StreamReader as PdfStreamReader;

/**
* Class representing the base facillity adding XML data
Expand Down
4 changes: 2 additions & 2 deletions src/ZugferdDocumentPdfReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace horstoeko\zugferd;

use \Exception;
use \Smalot\PdfParser\Parser as PdfParser;
use Exception;
use Smalot\PdfParser\Parser as PdfParser;

/**
* Class representing the document reader for incoming PDF/A-Documents with
Expand Down
14 changes: 7 additions & 7 deletions src/ZugferdDocumentReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@

namespace horstoeko\zugferd;

use \Closure;
use \DateTime;
use \Exception;
use \horstoeko\stringmanagement\FileUtils;
use \horstoeko\stringmanagement\PathUtils;
use \horstoeko\stringmanagement\StringUtils;
use \horstoeko\zugferd\ZugferdProfileResolver;
use Closure;
use DateTime;
use Exception;
use horstoeko\stringmanagement\FileUtils;
use horstoeko\stringmanagement\PathUtils;
use horstoeko\stringmanagement\StringUtils;
use horstoeko\zugferd\ZugferdProfileResolver;

/**
* Class representing the document reader for incoming XML-Documents with
Expand Down
8 changes: 4 additions & 4 deletions src/ZugferdDocumentValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

namespace horstoeko\zugferd;

use \horstoeko\stringmanagement\PathUtils;
use \horstoeko\zugferd\ZugferdSettings;
use \Symfony\Component\Validator\ConstraintViolationListInterface;
use \Symfony\Component\Validator\Validation;
use horstoeko\stringmanagement\PathUtils;
use horstoeko\zugferd\ZugferdSettings;
use Symfony\Component\Validator\ConstraintViolationListInterface;
use Symfony\Component\Validator\Validation;

/**
* Class representing the document validator for incoming documents
Expand Down
2 changes: 1 addition & 1 deletion src/ZugferdPackageVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace horstoeko\zugferd;

use \Composer\InstalledVersions as ComposerInstalledVersions;
use Composer\InstalledVersions as ComposerInstalledVersions;

/**
* Class representing some tools for getting the package version
Expand Down
6 changes: 3 additions & 3 deletions src/ZugferdProfileResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

namespace horstoeko\zugferd;

use \Exception;
use \SimpleXMLElement;
use \horstoeko\zugferd\ZugferdProfiles;
use Exception;
use SimpleXMLElement;
use horstoeko\zugferd\ZugferdProfiles;

/**
* Class representing the profile resolver
Expand Down
4 changes: 2 additions & 2 deletions src/jms/ZugferdTypesHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace horstoeko\zugferd\jms;

use \DOMText;
use \DOMElement;
use DOMText;
use DOMElement;
use JMS\Serializer\Context;
use JMS\Serializer\GraphNavigator;
use horstoeko\zugferd\ZugferdSettings;
Expand Down

0 comments on commit 9c69850

Please sign in to comment.