Skip to content

Commit

Permalink
Fix imports (Namespaces)
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Oct 6, 2024
1 parent 32f641b commit a913361
Show file tree
Hide file tree
Showing 35 changed files with 139 additions and 141 deletions.
2 changes: 1 addition & 1 deletion src/ZugferdDocumentReader.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ public static function readAndGuessFromContent(string $xmlcontent): ZugferdDocum
* Set the directory where the attached binary data from
* additional referenced documents are temporary stored
*
* @param string $binarydatadirectory
* @param string $binarydatadirectory
* @return ZugferdDocumentReader
*/
public function setBinaryDataDirectory(string $binarydatadirectory): ZugferdDocumentReader
Expand Down
4 changes: 2 additions & 2 deletions src/ZugferdXsdValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function validate(): ZugferdXsdValidator
* Returns true if validation passed otherwise false
*
* @deprecated 1.0.65 Use hasNoValidationErrors instead
* @return boolean
* @return boolean
*/
public function validationPased(): bool
{
Expand All @@ -92,7 +92,7 @@ public function validationPased(): bool
* Returns true if validation failed otherwise false
*
* @deprecated 1.0.65 Use hasValidationErrors instead
* @return boolean
* @return boolean
*/
public function validationFailed(): bool
{
Expand Down
16 changes: 8 additions & 8 deletions src/jms/ZugferdTypesHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ public static function getSubscribingMethods()
* Serialize Anount type
* The amounts will be serialized (by default) with a precission of 2 digits
*
* @param XmlSerializationVisitor $visitor
* @param mixed $data
* @param XmlSerializationVisitor $visitor
* @param mixed $data
*/
public function serializeAmountType(XmlSerializationVisitor $visitor, $data)
{
Expand All @@ -181,8 +181,8 @@ public function serializeAmountType(XmlSerializationVisitor $visitor, $data)
* Serialize quantity type
* The quantity will be serialized (by default) with a precission of 2 digits
*
* @param XmlSerializationVisitor $visitor
* @param mixed $data
* @param XmlSerializationVisitor $visitor
* @param mixed $data
*/
public function serializeQuantityType(XmlSerializationVisitor $visitor, $data)
{
Expand All @@ -208,8 +208,8 @@ public function serializeQuantityType(XmlSerializationVisitor $visitor, $data)
* Serialize a percantage value
* The valze will be serialized (by default) with a precission of 2 digits
*
* @param XmlSerializationVisitor $visitor
* @param mixed $data
* @param XmlSerializationVisitor $visitor
* @param mixed $data
*/
public function serializePercentType(XmlSerializationVisitor $visitor, $data)
{
Expand All @@ -230,8 +230,8 @@ public function serializePercentType(XmlSerializationVisitor $visitor, $data)
* False and true values will be serialized correctly (false won't be serialized
* in the default implementation)
*
* @param XmlSerializationVisitor $visitor
* @param mixed $data
* @param XmlSerializationVisitor $visitor
* @param mixed $data
*/
public function serializeIndicatorType(XmlSerializationVisitor $visitor, $data)
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/BuilderEn16931Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace horstoeko\zugferd\tests\testcases;

use DateTime;
use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\tests\traits\HandlesXmlTests;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentBuilder;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\tests\traits\HandlesXmlTests;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentBuilder;

class BuilderEn16931Test extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/BuilderExtendedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace horstoeko\zugferd\tests\testcases;

use DateTime;
use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentBuilder;
use \horstoeko\zugferd\tests\traits\HandlesXmlTests;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentBuilder;
use horstoeko\zugferd\tests\traits\HandlesXmlTests;

class BuilderExtendedTest extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/BuilderMinimumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace horstoeko\zugferd\tests\testcases;

use DateTime;
use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\tests\traits\HandlesXmlTests;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentBuilder;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\tests\traits\HandlesXmlTests;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentBuilder;

class BuilderMinimumTest extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/DocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace horstoeko\zugferd\tests\testcases;

use \ReflectionClass;
use \ReflectionProperty;
use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use ReflectionClass;
use ReflectionProperty;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentBuilder;

class DocumentTest extends TestCase
Expand Down
6 changes: 3 additions & 3 deletions tests/testcases/JsonExporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdDocumentJsonExporter;
use \horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentJsonExporter;
use horstoeko\zugferd\ZugferdDocumentReader;

class JsonExporterTest extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/ObjectHelperEn16931Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace horstoeko\zugferd\tests\testcases;

use DateTime;
use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdObjectHelper;
use \horstoeko\zugferd\exception\ZugferdUnknownDateFormatException;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdObjectHelper;
use horstoeko\zugferd\exception\ZugferdUnknownDateFormatException;

class ObjectHelperEn16931Test extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/ObjectHelperExtendedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace horstoeko\zugferd\tests\testcases;

use DateTime;
use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdObjectHelper;
use \horstoeko\zugferd\exception\ZugferdUnknownDateFormatException;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdObjectHelper;
use horstoeko\zugferd\exception\ZugferdUnknownDateFormatException;

class ObjectHelperExtendedTest extends TestCase
{
Expand Down
12 changes: 6 additions & 6 deletions tests/testcases/PdfBuilderEn16931Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
namespace horstoeko\zugferd\tests\testcases;

use DateTime;
use horstoeko\zugferd\codelists\ZugferdPaymentMeans;
use horstoeko\zugferd\exception\ZugferdFileNotFoundException;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use Smalot\PdfParser\Parser as PdfParser;
use horstoeko\zugferd\tests\traits\HandlesXmlTests;
use horstoeko\zugferd\ZugferdDocumentBuilder;
use horstoeko\zugferd\ZugferdDocumentPdfBuilder;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\ZugferdProfiles;
use setasign\Fpdi\PdfParser\PdfParserException;
use horstoeko\zugferd\ZugferdDocumentPdfBuilder;
use horstoeko\zugferd\tests\traits\HandlesXmlTests;
use horstoeko\zugferd\codelists\ZugferdPaymentMeans;
use horstoeko\zugferd\exception\ZugferdFileNotFoundException;
use Smalot\PdfParser\Parser as PdfParser;

class PdfBuilderEn16931Test extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/PdfReaderEn16931AllowanceChargeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\ZugferdProfiles;

class PdfReaderEn16931AllowanceChargeTest extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/PdfReaderEn16931SimpleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class PdfReaderEn16931SimpleTest extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/PdfReaderExtended2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdDocumentPdfReader;

class PdfReaderExtended2Test extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/PdfReaderExtendedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;

class PdfReaderExtendedTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/testcases/PdfReaderGeneralTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace horstoeko\zugferd\tests\testcases;

use horstoeko\zugferd\exception\ZugferdFileNotFoundException;
use \horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocument;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\ZugferdDocumentPdfReader;

class PdfReaderGeneralTest extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/PdfReaderMinimumSimpleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class PdfReaderMinimumSimpleTest extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/PdfReaderMultipleAttachmentsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class PdfReaderMultipleAttachmentsTest extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/PdfReaderXRechnungSimpleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdDocumentPdfReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentPdfReader;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class PdfReaderXRechnungSimpleTest extends TestCase
{
Expand Down
6 changes: 3 additions & 3 deletions tests/testcases/ProfileResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdProfileResolver;
use horstoeko\zugferd\exception\ZugferdUnknownProfileIdException;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdProfileResolver;
use horstoeko\zugferd\ZugferdProfiles;

class ProfileResolverTest extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/ReaderBasicSimpleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class ReaderBasicSimpleTest extends TestCase
{
Expand Down
8 changes: 4 additions & 4 deletions tests/testcases/ReaderEn16931AllowanceChargeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class ReaderEn16931AllowanceChargeTest extends TestCase
{
Expand Down
10 changes: 5 additions & 5 deletions tests/testcases/ReaderEn16931Bank1Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

namespace horstoeko\zugferd\tests\testcases;

use \horstoeko\zugferd\tests\TestCase;
use \horstoeko\zugferd\ZugferdProfiles;
use \horstoeko\zugferd\ZugferdDocumentReader;
use \horstoeko\zugferd\codelists\ZugferdInvoiceType;
use \horstoeko\zugferd\codelists\ZugferdPaymentMeans;
use horstoeko\zugferd\codelists\ZugferdInvoiceType;
use horstoeko\zugferd\codelists\ZugferdPaymentMeans;
use horstoeko\zugferd\tests\TestCase;
use horstoeko\zugferd\ZugferdDocumentReader;
use horstoeko\zugferd\ZugferdProfiles;

class ReaderEn16931Bank1Test extends TestCase
{
Expand Down
Loading

0 comments on commit a913361

Please sign in to comment.