From ceb76327253cd5ccfedd1776ae618032c2440dba Mon Sep 17 00:00:00 2001 From: Jan Noehles Date: Fri, 7 Jun 2024 14:54:43 +0200 Subject: [PATCH] Development Improvements (#1) - Rename namespace to easybill - Fix github workflows - Add readme --- .github/workflows/tests.yaml | 6 +- .task/dev.yaml | 4 +- README.md | 91 +++++++++++++++++++ composer.json | 7 +- docker-compose.yaml | 10 +- src/DocumentFactory.php | 24 ++--- src/DocumentXmlReader.php | 24 ++--- src/{Specs => }/Dtos/ReaderResult.php | 12 ++- src/Factories/PeppolDocumentFactory.php | 6 +- src/Factories/XRechnungDocumentFactory.php | 14 +-- src/Factories/ZUGFeRDDocumentFactory.php | 12 +-- .../Documents/PeppolBISAbstractDocument.php | 38 ++++---- .../Peppol/Documents/PeppolBISCredit.php | 6 +- .../Peppol/Documents/PeppolBISInvoice.php | 10 +- .../Peppol/Models/AbstractDocumentLine.php | 6 +- .../Peppol/Models/AccountingCustomerParty.php | 2 +- src/Specs/Peppol/Models/AccountingParty.php | 2 +- .../Peppol/Models/AdditionalItemProperty.php | 2 +- src/Specs/Peppol/Models/Address.php | 4 +- src/Specs/Peppol/Models/AddressLine.php | 2 +- src/Specs/Peppol/Models/AllowanceCharge.php | 2 +- src/Specs/Peppol/Models/Amount.php | 2 +- src/Specs/Peppol/Models/Attachment.php | 2 +- src/Specs/Peppol/Models/BillingReference.php | 2 +- .../Peppol/Models/CommodityClassification.php | 2 +- src/Specs/Peppol/Models/Contact.php | 2 +- src/Specs/Peppol/Models/Country.php | 2 +- src/Specs/Peppol/Models/CreditNoteLine.php | 2 +- src/Specs/Peppol/Models/Delivery.php | 2 +- src/Specs/Peppol/Models/DeliveryLocation.php | 2 +- src/Specs/Peppol/Models/DocumentReference.php | 2 +- .../Models/EmbeddedDocumentBinaryObject.php | 2 +- src/Specs/Peppol/Models/ExternalReference.php | 2 +- .../Models/FinancialInstitutionBranch.php | 2 +- src/Specs/Peppol/Models/Id.php | 2 +- src/Specs/Peppol/Models/Identification.php | 2 +- src/Specs/Peppol/Models/InvoiceLine.php | 2 +- src/Specs/Peppol/Models/Item.php | 2 +- .../Peppol/Models/ItemClassificationCode.php | 2 +- .../Peppol/Models/LegalMonetaryTotal.php | 2 +- src/Specs/Peppol/Models/Note.php | 2 +- .../Peppol/Models/OrderLineReference.php | 2 +- src/Specs/Peppol/Models/OrderReference.php | 2 +- src/Specs/Peppol/Models/Party.php | 4 +- src/Specs/Peppol/Models/PartyLegalEntity.php | 2 +- src/Specs/Peppol/Models/PartyName.php | 2 +- src/Specs/Peppol/Models/PartyTaxScheme.php | 2 +- .../Peppol/Models/PayeeFinancialAccount.php | 2 +- src/Specs/Peppol/Models/PaymentMeans.php | 2 +- src/Specs/Peppol/Models/PaymentMeansCode.php | 2 +- src/Specs/Peppol/Models/PaymentTerms.php | 2 +- src/Specs/Peppol/Models/Period.php | 2 +- src/Specs/Peppol/Models/Price.php | 2 +- src/Specs/Peppol/Models/Quantity.php | 2 +- .../Models/SellersItemIdentification.php | 2 +- .../Models/StandardItemIdentification.php | 2 +- src/Specs/Peppol/Models/TaxCategory.php | 2 +- src/Specs/Peppol/Models/TaxScheme.php | 2 +- src/Specs/Peppol/Models/TaxSubtotal.php | 2 +- src/Specs/Peppol/Models/TaxTotal.php | 4 +- src/Specs/Peppol/Models/Uri.php | 2 +- src/Specs/Peppol/Reader.php | 4 +- src/Specs/Peppol/Transformer.php | 4 +- .../CII/Documents/XRechnungCiiInvoice.php | 8 +- src/Specs/XRechnung/CII/Models/Amount.php | 2 +- .../XRechnung/CII/Models/BinaryObject.php | 2 +- .../CII/Models/CreditorFinancialAccount.php | 2 +- .../Models/CreditorFinancialInstitution.php | 2 +- src/Specs/XRechnung/CII/Models/DateTime.php | 2 +- .../XRechnung/CII/Models/DateTimeString.php | 2 +- .../CII/Models/DebtorFinancialAccount.php | 2 +- .../CII/Models/DocumentContextParameter.php | 2 +- .../CII/Models/DocumentLineDocument.php | 4 +- .../CII/Models/ExchangedDocument.php | 4 +- .../CII/Models/ExchangedDocumentContext.php | 2 +- .../CII/Models/FormattedDateTime.php | 2 +- .../CII/Models/HeaderTradeAgreement.php | 4 +- .../CII/Models/HeaderTradeDelivery.php | 2 +- .../CII/Models/HeaderTradeSettlement.php | 12 +-- src/Specs/XRechnung/CII/Models/Id.php | 2 +- src/Specs/XRechnung/CII/Models/Indicator.php | 2 +- .../CII/Models/LegalOrganization.php | 2 +- .../CII/Models/LineTradeAgreement.php | 2 +- .../CII/Models/LineTradeDelivery.php | 2 +- .../CII/Models/LineTradeSettlement.php | 8 +- .../CII/Models/LogisticsServiceCharge.php | 4 +- src/Specs/XRechnung/CII/Models/Note.php | 2 +- src/Specs/XRechnung/CII/Models/Period.php | 2 +- .../XRechnung/CII/Models/ProcuringProject.php | 2 +- src/Specs/XRechnung/CII/Models/Quantity.php | 2 +- .../CII/Models/ReferencedDocument.php | 2 +- .../XRechnung/CII/Models/SupplyChainEvent.php | 2 +- .../CII/Models/SupplyChainTradeLineItem.php | 2 +- .../Models/SupplyChainTradeTransaction.php | 4 +- .../XRechnung/CII/Models/TaxRegistration.php | 2 +- .../CII/Models/TradeAccountingAccount.php | 2 +- .../XRechnung/CII/Models/TradeAddress.php | 2 +- .../CII/Models/TradeAllowanceCharge.php | 4 +- .../XRechnung/CII/Models/TradeContact.php | 2 +- .../XRechnung/CII/Models/TradeCountry.php | 2 +- src/Specs/XRechnung/CII/Models/TradeParty.php | 6 +- .../CII/Models/TradePaymentTerms.php | 2 +- src/Specs/XRechnung/CII/Models/TradePrice.php | 4 +- .../XRechnung/CII/Models/TradeProduct.php | 2 +- .../Models/TradeSettlementFinancialCard.php | 2 +- ...TradeSettlementHeaderMonetarySummation.php | 8 +- .../TradeSettlementLineMonetarySummation.php | 2 +- .../Models/TradeSettlementPaymentMeans.php | 2 +- src/Specs/XRechnung/CII/Models/TradeTax.php | 2 +- .../CII/Models/UniversalCommunication.php | 2 +- src/Specs/XRechnung/CII/Reader.php | 4 +- src/Specs/XRechnung/CII/Transformer.php | 4 +- .../XRechnungUblAbstractDocument.php | 36 ++++---- .../UBL/Documents/XRechnungUblCredit.php | 6 +- .../UBL/Documents/XRechnungUblInvoice.php | 8 +- .../UBL/Models/AbstractDocumentLine.php | 6 +- .../UBL/Models/AccountingCustomerParty.php | 2 +- .../XRechnung/UBL/Models/AccountingParty.php | 2 +- src/Specs/XRechnung/UBL/Models/Address.php | 4 +- .../XRechnung/UBL/Models/AddressLine.php | 2 +- .../XRechnung/UBL/Models/AllowanceCharge.php | 2 +- src/Specs/XRechnung/UBL/Models/Amount.php | 2 +- src/Specs/XRechnung/UBL/Models/Attachment.php | 2 +- .../XRechnung/UBL/Models/BillingReference.php | 2 +- .../UBL/Models/CommodityClassification.php | 2 +- src/Specs/XRechnung/UBL/Models/Contact.php | 2 +- src/Specs/XRechnung/UBL/Models/Country.php | 2 +- .../XRechnung/UBL/Models/CreditNoteLine.php | 2 +- src/Specs/XRechnung/UBL/Models/Delivery.php | 2 +- .../XRechnung/UBL/Models/DeliveryLocation.php | 2 +- .../UBL/Models/DocumentReference.php | 2 +- .../Models/EmbeddedDocumentBinaryObject.php | 2 +- .../UBL/Models/FinancialInstitutionBranch.php | 2 +- src/Specs/XRechnung/UBL/Models/Id.php | 2 +- .../XRechnung/UBL/Models/Identification.php | 2 +- .../XRechnung/UBL/Models/InvoiceLine.php | 2 +- src/Specs/XRechnung/UBL/Models/Item.php | 2 +- .../UBL/Models/ItemClassificationCode.php | 2 +- .../UBL/Models/LegalMonetaryTotal.php | 2 +- src/Specs/XRechnung/UBL/Models/Note.php | 2 +- .../UBL/Models/OrderLineReference.php | 2 +- .../XRechnung/UBL/Models/OrderReference.php | 2 +- src/Specs/XRechnung/UBL/Models/Party.php | 4 +- .../XRechnung/UBL/Models/PartyLegalEntity.php | 2 +- src/Specs/XRechnung/UBL/Models/PartyName.php | 2 +- .../XRechnung/UBL/Models/PartyTaxScheme.php | 2 +- .../UBL/Models/PayeeFinancialAccount.php | 2 +- .../XRechnung/UBL/Models/PaymentMeans.php | 2 +- .../XRechnung/UBL/Models/PaymentMeansCode.php | 2 +- .../XRechnung/UBL/Models/PaymentTerms.php | 2 +- src/Specs/XRechnung/UBL/Models/Period.php | 2 +- src/Specs/XRechnung/UBL/Models/Price.php | 2 +- src/Specs/XRechnung/UBL/Models/Quantity.php | 2 +- .../UBL/Models/SellersItemIdentification.php | 2 +- .../XRechnung/UBL/Models/TaxCategory.php | 2 +- src/Specs/XRechnung/UBL/Models/TaxScheme.php | 2 +- .../XRechnung/UBL/Models/TaxSubtotal.php | 2 +- src/Specs/XRechnung/UBL/Models/TaxTotal.php | 4 +- src/Specs/XRechnung/UBL/Reader.php | 4 +- src/Specs/XRechnung/UBL/Transformer.php | 4 +- .../ZUGFeRD/Documents/ZUGFeRDInvoice.php | 8 +- .../ZUGFeRD/Enums/ZUGFeRDProfileType.php | 2 +- src/Specs/ZUGFeRD/Models/Amount.php | 2 +- src/Specs/ZUGFeRD/Models/BinaryObject.php | 2 +- .../Models/CreditorFinancialAccount.php | 2 +- .../Models/CreditorFinancialInstitution.php | 2 +- src/Specs/ZUGFeRD/Models/DateTime.php | 2 +- src/Specs/ZUGFeRD/Models/DateTimeString.php | 2 +- .../ZUGFeRD/Models/DebtorFinancialAccount.php | 2 +- .../Models/DocumentContextParameter.php | 2 +- .../ZUGFeRD/Models/DocumentLineDocument.php | 4 +- .../ZUGFeRD/Models/ExchangedDocument.php | 4 +- .../Models/ExchangedDocumentContext.php | 2 +- .../ZUGFeRD/Models/FormattedDateTime.php | 2 +- .../ZUGFeRD/Models/HeaderTradeAgreement.php | 4 +- .../ZUGFeRD/Models/HeaderTradeDelivery.php | 2 +- .../ZUGFeRD/Models/HeaderTradeSettlement.php | 12 +-- src/Specs/ZUGFeRD/Models/Id.php | 2 +- src/Specs/ZUGFeRD/Models/Indicator.php | 2 +- .../ZUGFeRD/Models/LegalOrganization.php | 2 +- .../ZUGFeRD/Models/LineTradeAgreement.php | 2 +- .../ZUGFeRD/Models/LineTradeDelivery.php | 2 +- .../ZUGFeRD/Models/LineTradeSettlement.php | 8 +- .../ZUGFeRD/Models/LogisticsServiceCharge.php | 4 +- src/Specs/ZUGFeRD/Models/Note.php | 2 +- src/Specs/ZUGFeRD/Models/Period.php | 2 +- src/Specs/ZUGFeRD/Models/ProcuringProject.php | 2 +- src/Specs/ZUGFeRD/Models/Quantity.php | 2 +- .../ZUGFeRD/Models/ReferencedDocument.php | 2 +- src/Specs/ZUGFeRD/Models/SupplyChainEvent.php | 2 +- .../Models/SupplyChainTradeLineItem.php | 2 +- .../Models/SupplyChainTradeTransaction.php | 4 +- src/Specs/ZUGFeRD/Models/TaxRegistration.php | 2 +- .../ZUGFeRD/Models/TradeAccountingAccount.php | 2 +- src/Specs/ZUGFeRD/Models/TradeAddress.php | 2 +- .../ZUGFeRD/Models/TradeAllowanceCharge.php | 4 +- src/Specs/ZUGFeRD/Models/TradeContact.php | 2 +- src/Specs/ZUGFeRD/Models/TradeCountry.php | 2 +- src/Specs/ZUGFeRD/Models/TradeParty.php | 6 +- .../ZUGFeRD/Models/TradePaymentTerms.php | 2 +- src/Specs/ZUGFeRD/Models/TradePrice.php | 4 +- src/Specs/ZUGFeRD/Models/TradeProduct.php | 2 +- .../Models/TradeSettlementFinancialCard.php | 2 +- ...TradeSettlementHeaderMonetarySummation.php | 8 +- .../TradeSettlementLineMonetarySummation.php | 2 +- .../Models/TradeSettlementPaymentMeans.php | 2 +- src/Specs/ZUGFeRD/Models/TradeTax.php | 2 +- .../ZUGFeRD/Models/UniversalCommunication.php | 2 +- src/Specs/ZUGFeRD/Reader.php | 4 +- src/Specs/ZUGFeRD/Transformer.php | 4 +- tests/Integration/DocumentFactoryTest.php | 6 +- tests/Integration/DocumentXmlReaderTest.php | 16 ++-- tests/Integration/Peppol/ReaderTest.php | 10 +- tests/Integration/Peppol/TransformerTest.php | 74 +++++++-------- .../Integration/XRechnung/CII/ReaderTest.php | 6 +- .../XRechnung/CII/TransformerTest.php | 74 +++++++-------- .../Integration/XRechnung/UBL/ReaderTest.php | 8 +- .../XRechnung/UBL/TransformerTest.php | 68 +++++++------- .../Integration/ZUGFeRD/ProfileBasicTest.php | 64 ++++++------- .../ZUGFeRD/ProfileBasicWLTest.php | 36 ++++---- .../ZUGFeRD/ProfileEN16931Test.php | 60 ++++++------ .../ZUGFeRD/ProfileExtendedTest.php | 70 +++++++------- .../ZUGFeRD/ProfileMinimumTest.php | 30 +++--- .../ZUGFeRD/ReaderAndTransformerTest.php | 6 +- tests/Pest.php | 2 +- tests/TestCase.php | 10 +- tests/Validators/KositValidator.php | 6 +- tests/Validators/PeppolValidator.php | 6 +- tests/Validators/SchemaValidator.php | 2 +- .../Traits/AssertXmlOutputTrait.php | 12 +-- tests/Validators/Traits/ReformatXmlTrait.php | 2 +- .../Traits/RemoveXmlMutatesTrait.php | 2 +- tests/Validators/Traits/ValidatorTrait.php | 6 +- 233 files changed, 755 insertions(+), 649 deletions(-) rename src/{Specs => }/Dtos/ReaderResult.php (80%) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index cd2dcaa..1dd997b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -33,6 +33,10 @@ jobs: run: | composer install --no-interaction --prefer-dist --no-progress ${{ matrix.dependencies }} + - name: Start docker validators + run: | + docker compose up --detach --wait --wait-timeout 30 + - name: Run tests run: | - php /vendor/bin/pest + ./vendor/bin/pest diff --git a/.task/dev.yaml b/.task/dev.yaml index 0bbcb55..e1acb31 100644 --- a/.task/dev.yaml +++ b/.task/dev.yaml @@ -4,8 +4,8 @@ tasks: start: desc: Start the different validators cmds: - - docker compose up -d - - + - docker compose up --detach --wait --wait-timeout 60 + stop: desc: Stop the different validators cmds: diff --git a/README.md b/README.md index e69de29..0502a2e 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,91 @@ +# e-invoicing +[![Generic badge](https://img.shields.io/badge/Version-0.1.0-important.svg)]() +[![Generic badge](https://img.shields.io/badge/License-MIT-blue.svg)]() + +## Introduction +`e-invoicing` is a library to generate and read data of the specifications Peppol BIS Billing, XRechnung (UBL & CII) +and ZUGFeRD / factur-x. The library offers the possibility to generate EN16931 conform e-invoices. + +### Current supported specification +- Peppol BIS Billing - Version 3.0.15 +- XRechnung - Version 3.0.1 +- ZUGFeRD / Factur-x - Version 2.2.0 / Version 1.0.06 + +## Usage +```bash +composer require easybill/e-invoicing +``` + +### Example: Creating ZUGFeRD/factur-x XML +The document factory offers handy shortcut functions to assemble a document for every supported specification +with the correct basic structure. $document is now ready to be filled with data related to your business case. + +```PHP +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; + +$document = DocumentFactory::createZUGFeRDInvoice(ZUGFeRDProfileType::EN16931); +$document->exchangedDocument->id = '471102'; +$document->exchangedDocument->issueDateTime = DateTime::create(102, '20200305'); +// etc... +$xml = ZUGFeRDTransformer::create()->transform($invoice) +``` + +### Example: Reading a known XML file format + +If you only want to support a subset of the offered specifications (as an example ZUGFeRD/factur-x) you may use the +builder and reader from the corresponding namespace. + +```PHP +use easybill\eInvoicing\Specs\ZUGFeRD\Reader; +use easybill\eInvoicing\Specs\ZUGFeRD\Transformer; + +$xml = file_get_contents($exampleXmlFile); + +$document = Reader::create()->transform($xml); + +$document->exchangedDocument->name = 'Example Value' + +$xml = Transformer::create()->transform($document); +``` + +### Example: Reading an unknown XML file + +There might be the case that you receive some XML which may or may not be supported by this library. `e-invoicing` offers a handy +way to just parse that XML and see if is deserializable to one of the supported formats. + +```PHP +use easybill\eInvoicing\DocumentXmlReader; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; + +$xml = file_get_contents($exampleXmlFile); + +$readerResult = DocumentXmlReader::create()->read($xml); + +// If the format is supported and valid in its structure the following check will be true +$readerResult->isSuccess() + +// If the format is not supported or a different error occurred the result will have the state error. +$readerResult->isError() + +// If it's valid you may retrieve the deserialized object from the dto. +// Invoking the getDocument method on an error will result in a LogicException +$document = $readerResult->getDocument(); + +if ($document instanceof XRechnungCiiInvoice) { + // do something with the XRechnungCiiInvoice +} +``` + +You can refer to the [tests](https://github.com/easybill/e-invoicing/tree/main/tests/Integration) in this repository for examples of using this library. + +## Considerations + +### Limitations +This library does not offer any way to validate the structured data against the rules of the specifications. +Please take a look at the folder [Validators](https://github.com/easybill/e-invoicing/tree/main/tests/Validators) in the tests folder. There you will find ways to validate the documents against the specification +rulesets. ZUGFeRD offers XSD-Schema-Files which you may use directly in your PHP code. For XRechnung and Peppol will take a look at the [docker-compose.yaml](https://github.com/easybill/e-invoicing/blob/main/docker-compose.yaml). +There you will find microservices which offer a validation API. + +## Issues and contribution +Feel free to create Pull-Requests or Issue if you have trouble with this library or any related resource. \ No newline at end of file diff --git a/composer.json b/composer.json index 27e3530..71fd827 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,7 @@ { "name": "easybill/e-invoicing", - "description": "A package to read and create the formats: factur-x, PEPPOL, XRechnung (CII/UBL)", + "version": "0.1.0", + "description": "A package to read and create the formats: factur-x, Peppol BIS Billing, XRechnung (CII/UBL)", "type": "library", "license": "MIT", "keywords": [ @@ -18,12 +19,12 @@ ], "autoload": { "psr-4": { - "Easybill\\eInvoicing\\": "src/" + "easybill\\eInvoicing\\": "src/" } }, "autoload-dev": { "psr-4": { - "Easybill\\eInvoicingTests\\": "tests/" + "easybill\\eInvoicingTests\\": "tests/" } }, "authors": [ diff --git a/docker-compose.yaml b/docker-compose.yaml index 39f8f1f..78e7188 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,8 +3,16 @@ services: image: 'easybill/zugferd-validator202309:v0.0.62' ports: - '8080:8080' + healthcheck: + test: curl --fail http://localhost:8080/health || exit 0 + interval: 10s + retries: 6 peppol-validator: image: 'bolzerdev/peppol-bis-billing-validator:latest' ports: - - '8081:8080' \ No newline at end of file + - '8081:8080' + healthcheck: + test: curl --fail http://localhost:8081/health || exit 0 + interval: 10s + retries: 6 \ No newline at end of file diff --git a/src/DocumentFactory.php b/src/DocumentFactory.php index 85604f9..8e74b66 100644 --- a/src/DocumentFactory.php +++ b/src/DocumentFactory.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace Easybill\eInvoicing; - -use Easybill\eInvoicing\Factories\PeppolDocumentFactory; -use Easybill\eInvoicing\Factories\XRechnungDocumentFactory; -use Easybill\eInvoicing\Factories\ZUGFeRDDocumentFactory; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblCredit; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +namespace easybill\eInvoicing; + +use easybill\eInvoicing\Factories\PeppolDocumentFactory; +use easybill\eInvoicing\Factories\XRechnungDocumentFactory; +use easybill\eInvoicing\Factories\ZUGFeRDDocumentFactory; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblCredit; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; final class DocumentFactory { diff --git a/src/DocumentXmlReader.php b/src/DocumentXmlReader.php index ed9535d..ec1a806 100644 --- a/src/DocumentXmlReader.php +++ b/src/DocumentXmlReader.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace Easybill\eInvoicing; - -use Easybill\eInvoicing\Specs\Dtos\ReaderResult; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblCredit; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; -use Easybill\eInvoicingTests\Validators\Traits\ReformatXmlTrait; +namespace easybill\eInvoicing; + +use easybill\eInvoicing\Dtos\ReaderResult; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblCredit; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicingTests\Validators\Traits\ReformatXmlTrait; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; @@ -84,7 +84,7 @@ private function tryDeserializingCIIDocument(\DOMDocument $document): ReaderResu if ($this->isZUGFeRD($document)) { $document = $this->serializer->deserialize($xml, ZUGFeRDInvoice::class, 'xml'); - if (!$document instanceof XRechnungCiiInvoice) { + if (!$document instanceof ZUGFeRDInvoice) { throw new \RuntimeException('could not deserialize ZUGFeRDInvoice'); } @@ -130,7 +130,7 @@ private function tryDeserializingUBLDocument(\DOMDocument $document): ReaderResu if ($this->isUBLInvoice($document)) { $document = $this->serializer->deserialize($xml, PeppolBISInvoice::class, 'xml'); - if (!$document instanceof XRechnungUblInvoice) { + if (!$document instanceof PeppolBISInvoice) { throw new \RuntimeException('could not deserialize PeppolBISInvoice'); } diff --git a/src/Specs/Dtos/ReaderResult.php b/src/Dtos/ReaderResult.php similarity index 80% rename from src/Specs/Dtos/ReaderResult.php rename to src/Dtos/ReaderResult.php index 1ad7acd..d58d8e8 100644 --- a/src/Specs/Dtos/ReaderResult.php +++ b/src/Dtos/ReaderResult.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Dtos; +namespace easybill\eInvoicing\Dtos; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISAbstractDocument; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblAbstractDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISAbstractDocument; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblAbstractDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; final class ReaderResult { @@ -41,6 +41,7 @@ public function isSuccess(): bool return null === $this->throwable; } + /** @throws \LogicException */ public function getError(): \Throwable { if (null === $this->throwable || null !== $this->document) { @@ -50,6 +51,7 @@ public function getError(): \Throwable return $this->throwable; } + /** @throws \LogicException */ public function getDocument(): PeppolBISAbstractDocument|XRechnungCiiInvoice|XRechnungUblAbstractDocument|ZUGFeRDInvoice { if (null !== $this->throwable || null === $this->document) { diff --git a/src/Factories/PeppolDocumentFactory.php b/src/Factories/PeppolDocumentFactory.php index 19daae3..c23a572 100644 --- a/src/Factories/PeppolDocumentFactory.php +++ b/src/Factories/PeppolDocumentFactory.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Factories; +namespace easybill\eInvoicing\Factories; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; final class PeppolDocumentFactory { diff --git a/src/Factories/XRechnungDocumentFactory.php b/src/Factories/XRechnungDocumentFactory.php index 5e781e8..24b36aa 100644 --- a/src/Factories/XRechnungDocumentFactory.php +++ b/src/Factories/XRechnungDocumentFactory.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Factories; +namespace easybill\eInvoicing\Factories; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\DocumentContextParameter; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocument; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocumentContext; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblCredit; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\DocumentContextParameter; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocument; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocumentContext; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblCredit; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; final class XRechnungDocumentFactory { diff --git a/src/Factories/ZUGFeRDDocumentFactory.php b/src/Factories/ZUGFeRDDocumentFactory.php index 4ef6639..d82ffd2 100644 --- a/src/Factories/ZUGFeRDDocumentFactory.php +++ b/src/Factories/ZUGFeRDDocumentFactory.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Factories; +namespace easybill\eInvoicing\Factories; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentContextParameter; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocumentContext; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentContextParameter; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocumentContext; final class ZUGFeRDDocumentFactory { diff --git a/src/Specs/Peppol/Documents/PeppolBISAbstractDocument.php b/src/Specs/Peppol/Documents/PeppolBISAbstractDocument.php index b785367..5efd61f 100644 --- a/src/Specs/Peppol/Documents/PeppolBISAbstractDocument.php +++ b/src/Specs/Peppol/Documents/PeppolBISAbstractDocument.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Documents; - -use Easybill\eInvoicing\Specs\Peppol\Models\AccountingParty; -use Easybill\eInvoicing\Specs\Peppol\Models\AllowanceCharge; -use Easybill\eInvoicing\Specs\Peppol\Models\BillingReference; -use Easybill\eInvoicing\Specs\Peppol\Models\Delivery; -use Easybill\eInvoicing\Specs\Peppol\Models\DocumentReference; -use Easybill\eInvoicing\Specs\Peppol\Models\LegalMonetaryTotal; -use Easybill\eInvoicing\Specs\Peppol\Models\Note; -use Easybill\eInvoicing\Specs\Peppol\Models\OrderReference; -use Easybill\eInvoicing\Specs\Peppol\Models\Party; -use Easybill\eInvoicing\Specs\Peppol\Models\PaymentMeans; -use Easybill\eInvoicing\Specs\Peppol\Models\PaymentTerms; -use Easybill\eInvoicing\Specs\Peppol\Models\Period; -use Easybill\eInvoicing\Specs\Peppol\Models\TaxTotal; +namespace easybill\eInvoicing\Specs\Peppol\Documents; + +use easybill\eInvoicing\Specs\Peppol\Models\AccountingParty; +use easybill\eInvoicing\Specs\Peppol\Models\AllowanceCharge; +use easybill\eInvoicing\Specs\Peppol\Models\BillingReference; +use easybill\eInvoicing\Specs\Peppol\Models\Delivery; +use easybill\eInvoicing\Specs\Peppol\Models\DocumentReference; +use easybill\eInvoicing\Specs\Peppol\Models\LegalMonetaryTotal; +use easybill\eInvoicing\Specs\Peppol\Models\Note; +use easybill\eInvoicing\Specs\Peppol\Models\OrderReference; +use easybill\eInvoicing\Specs\Peppol\Models\Party; +use easybill\eInvoicing\Specs\Peppol\Models\PaymentMeans; +use easybill\eInvoicing\Specs\Peppol\Models\PaymentTerms; +use easybill\eInvoicing\Specs\Peppol\Models\Period; +use easybill\eInvoicing\Specs\Peppol\Models\TaxTotal; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlElement; @@ -45,7 +45,7 @@ abstract class PeppolBISAbstractDocument public ?string $issueDate = null; /** @var Note[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('Note')] #[XmlList(entry: 'Note', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2')] public array $note = []; @@ -111,7 +111,7 @@ abstract class PeppolBISAbstractDocument public ?Delivery $delivery = null; /** @var PaymentMeans[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('PaymentMeans')] #[XmlList(entry: 'PaymentMeans', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $paymentMeans = []; @@ -122,13 +122,13 @@ abstract class PeppolBISAbstractDocument public ?PaymentTerms $paymentTerms = null; /** @var AllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('AllowanceCharge')] #[XmlList(entry: 'AllowanceCharge', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $allowanceCharge = []; /** @var TaxTotal[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('TaxTotal')] #[XmlList(entry: 'TaxTotal', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $taxTotal = []; diff --git a/src/Specs/Peppol/Documents/PeppolBISCredit.php b/src/Specs/Peppol/Documents/PeppolBISCredit.php index 6db6a97..4d94566 100644 --- a/src/Specs/Peppol/Documents/PeppolBISCredit.php +++ b/src/Specs/Peppol/Documents/PeppolBISCredit.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Documents; +namespace easybill\eInvoicing\Specs\Peppol\Documents; -use Easybill\eInvoicing\Specs\Peppol\Models\CreditNoteLine; +use easybill\eInvoicing\Specs\Peppol\Models\CreditNoteLine; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -52,7 +52,7 @@ final class PeppolBISCredit extends PeppolBISAbstractDocument public ?int $creditNoteTypeCode = null; /** @var CreditNoteLine[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('CreditNoteLine')] #[XmlList(entry: 'CreditNoteLine', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $creditNoteLine = []; diff --git a/src/Specs/Peppol/Documents/PeppolBISInvoice.php b/src/Specs/Peppol/Documents/PeppolBISInvoice.php index 63b8533..bd6be1f 100644 --- a/src/Specs/Peppol/Documents/PeppolBISInvoice.php +++ b/src/Specs/Peppol/Documents/PeppolBISInvoice.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Documents; +namespace easybill\eInvoicing\Specs\Peppol\Documents; -use Easybill\eInvoicing\Specs\Peppol\Models\DocumentReference; -use Easybill\eInvoicing\Specs\Peppol\Models\InvoiceLine; +use easybill\eInvoicing\Specs\Peppol\Models\DocumentReference; +use easybill\eInvoicing\Specs\Peppol\Models\InvoiceLine; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -73,7 +73,7 @@ final class PeppolBISInvoice extends PeppolBISAbstractDocument public ?DocumentReference $contractDocumentReference = null; /** @var DocumentReference[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('AdditionalDocumentReference')] #[XmlList(entry: 'AdditionalDocumentReference', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $additionalDocumentReference = []; @@ -84,7 +84,7 @@ final class PeppolBISInvoice extends PeppolBISAbstractDocument public ?DocumentReference $projectReference = null; /** @var InvoiceLine[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('InvoiceLine')] #[XmlList(entry: 'InvoiceLine', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $invoiceLine = []; diff --git a/src/Specs/Peppol/Models/AbstractDocumentLine.php b/src/Specs/Peppol/Models/AbstractDocumentLine.php index af6150e..e27c57c 100644 --- a/src/Specs/Peppol/Models/AbstractDocumentLine.php +++ b/src/Specs/Peppol/Models/AbstractDocumentLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation as Serializer; use JMS\Serializer\Annotation\SerializedName; @@ -39,13 +39,13 @@ abstract class AbstractDocumentLine public ?OrderLineReference $orderLineReference = null; /** @var AllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('AllowanceCharge')] #[XmlList(entry: 'AllowanceCharge', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $allowanceCharge = []; /** @var Item[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('Item')] #[XmlList(entry: 'Item', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $item = []; diff --git a/src/Specs/Peppol/Models/AccountingCustomerParty.php b/src/Specs/Peppol/Models/AccountingCustomerParty.php index f32aadb..aa786f6 100644 --- a/src/Specs/Peppol/Models/AccountingCustomerParty.php +++ b/src/Specs/Peppol/Models/AccountingCustomerParty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/AccountingParty.php b/src/Specs/Peppol/Models/AccountingParty.php index 623a822..1a29666 100644 --- a/src/Specs/Peppol/Models/AccountingParty.php +++ b/src/Specs/Peppol/Models/AccountingParty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/AdditionalItemProperty.php b/src/Specs/Peppol/Models/AdditionalItemProperty.php index 7678fc1..6a155f8 100644 --- a/src/Specs/Peppol/Models/AdditionalItemProperty.php +++ b/src/Specs/Peppol/Models/AdditionalItemProperty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Address.php b/src/Specs/Peppol/Models/Address.php index 1106f13..af24b87 100644 --- a/src/Specs/Peppol/Models/Address.php +++ b/src/Specs/Peppol/Models/Address.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -42,7 +42,7 @@ final class Address public ?string $postalZone = null; /** @var AddressLine[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('AddressLine')] #[XmlList(entry: 'AddressLine', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $addressLines = []; diff --git a/src/Specs/Peppol/Models/AddressLine.php b/src/Specs/Peppol/Models/AddressLine.php index ba619e6..0bca2ce 100644 --- a/src/Specs/Peppol/Models/AddressLine.php +++ b/src/Specs/Peppol/Models/AddressLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/AllowanceCharge.php b/src/Specs/Peppol/Models/AllowanceCharge.php index bbbec43..2aec0cc 100644 --- a/src/Specs/Peppol/Models/AllowanceCharge.php +++ b/src/Specs/Peppol/Models/AllowanceCharge.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Amount.php b/src/Specs/Peppol/Models/Amount.php index 546ae7f..4b6bc66 100644 --- a/src/Specs/Peppol/Models/Amount.php +++ b/src/Specs/Peppol/Models/Amount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Attachment.php b/src/Specs/Peppol/Models/Attachment.php index b525109..877cc0c 100644 --- a/src/Specs/Peppol/Models/Attachment.php +++ b/src/Specs/Peppol/Models/Attachment.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/BillingReference.php b/src/Specs/Peppol/Models/BillingReference.php index 8f158bd..f722d56 100644 --- a/src/Specs/Peppol/Models/BillingReference.php +++ b/src/Specs/Peppol/Models/BillingReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/CommodityClassification.php b/src/Specs/Peppol/Models/CommodityClassification.php index e12b0e0..19a17ed 100644 --- a/src/Specs/Peppol/Models/CommodityClassification.php +++ b/src/Specs/Peppol/Models/CommodityClassification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Contact.php b/src/Specs/Peppol/Models/Contact.php index 5c90e06..211dae6 100644 --- a/src/Specs/Peppol/Models/Contact.php +++ b/src/Specs/Peppol/Models/Contact.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Country.php b/src/Specs/Peppol/Models/Country.php index 1bfba21..ad1b198 100644 --- a/src/Specs/Peppol/Models/Country.php +++ b/src/Specs/Peppol/Models/Country.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/CreditNoteLine.php b/src/Specs/Peppol/Models/CreditNoteLine.php index 4ec271e..9763365 100644 --- a/src/Specs/Peppol/Models/CreditNoteLine.php +++ b/src/Specs/Peppol/Models/CreditNoteLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/Peppol/Models/Delivery.php b/src/Specs/Peppol/Models/Delivery.php index fe582ce..e56a08e 100644 --- a/src/Specs/Peppol/Models/Delivery.php +++ b/src/Specs/Peppol/Models/Delivery.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/DeliveryLocation.php b/src/Specs/Peppol/Models/DeliveryLocation.php index 71eebc8..61e9782 100644 --- a/src/Specs/Peppol/Models/DeliveryLocation.php +++ b/src/Specs/Peppol/Models/DeliveryLocation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/DocumentReference.php b/src/Specs/Peppol/Models/DocumentReference.php index 0121858..58fb078 100644 --- a/src/Specs/Peppol/Models/DocumentReference.php +++ b/src/Specs/Peppol/Models/DocumentReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/EmbeddedDocumentBinaryObject.php b/src/Specs/Peppol/Models/EmbeddedDocumentBinaryObject.php index cef57cc..47453ee 100644 --- a/src/Specs/Peppol/Models/EmbeddedDocumentBinaryObject.php +++ b/src/Specs/Peppol/Models/EmbeddedDocumentBinaryObject.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/ExternalReference.php b/src/Specs/Peppol/Models/ExternalReference.php index 3a06a71..4063fb4 100644 --- a/src/Specs/Peppol/Models/ExternalReference.php +++ b/src/Specs/Peppol/Models/ExternalReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/FinancialInstitutionBranch.php b/src/Specs/Peppol/Models/FinancialInstitutionBranch.php index 294ef8b..f35e450 100644 --- a/src/Specs/Peppol/Models/FinancialInstitutionBranch.php +++ b/src/Specs/Peppol/Models/FinancialInstitutionBranch.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Id.php b/src/Specs/Peppol/Models/Id.php index 29fc1c1..ec0f162 100644 --- a/src/Specs/Peppol/Models/Id.php +++ b/src/Specs/Peppol/Models/Id.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Identification.php b/src/Specs/Peppol/Models/Identification.php index af12793..d33b330 100644 --- a/src/Specs/Peppol/Models/Identification.php +++ b/src/Specs/Peppol/Models/Identification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/InvoiceLine.php b/src/Specs/Peppol/Models/InvoiceLine.php index 0d7e3a0..6fcd142 100644 --- a/src/Specs/Peppol/Models/InvoiceLine.php +++ b/src/Specs/Peppol/Models/InvoiceLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/Peppol/Models/Item.php b/src/Specs/Peppol/Models/Item.php index 8b12da7..a6b8b24 100644 --- a/src/Specs/Peppol/Models/Item.php +++ b/src/Specs/Peppol/Models/Item.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/ItemClassificationCode.php b/src/Specs/Peppol/Models/ItemClassificationCode.php index fea39aa..02a0ad1 100644 --- a/src/Specs/Peppol/Models/ItemClassificationCode.php +++ b/src/Specs/Peppol/Models/ItemClassificationCode.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/LegalMonetaryTotal.php b/src/Specs/Peppol/Models/LegalMonetaryTotal.php index c6509b0..469d69f 100644 --- a/src/Specs/Peppol/Models/LegalMonetaryTotal.php +++ b/src/Specs/Peppol/Models/LegalMonetaryTotal.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Note.php b/src/Specs/Peppol/Models/Note.php index a1fb155..a8f1940 100644 --- a/src/Specs/Peppol/Models/Note.php +++ b/src/Specs/Peppol/Models/Note.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlValue; diff --git a/src/Specs/Peppol/Models/OrderLineReference.php b/src/Specs/Peppol/Models/OrderLineReference.php index 241551c..3a6d70d 100644 --- a/src/Specs/Peppol/Models/OrderLineReference.php +++ b/src/Specs/Peppol/Models/OrderLineReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/OrderReference.php b/src/Specs/Peppol/Models/OrderReference.php index 862b4f5..4f7e239 100644 --- a/src/Specs/Peppol/Models/OrderReference.php +++ b/src/Specs/Peppol/Models/OrderReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Party.php b/src/Specs/Peppol/Models/Party.php index e316f4c..11300e5 100644 --- a/src/Specs/Peppol/Models/Party.php +++ b/src/Specs/Peppol/Models/Party.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -32,7 +32,7 @@ final class Party public ?Address $postalAddress = null; /** @var PartyTaxScheme[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('PartyTaxScheme')] #[XmlList(entry: 'PartyTaxScheme', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $partyTaxScheme = []; diff --git a/src/Specs/Peppol/Models/PartyLegalEntity.php b/src/Specs/Peppol/Models/PartyLegalEntity.php index 48df2d1..c9699e8 100644 --- a/src/Specs/Peppol/Models/PartyLegalEntity.php +++ b/src/Specs/Peppol/Models/PartyLegalEntity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/PartyName.php b/src/Specs/Peppol/Models/PartyName.php index 64208ba..9a358e0 100644 --- a/src/Specs/Peppol/Models/PartyName.php +++ b/src/Specs/Peppol/Models/PartyName.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/PartyTaxScheme.php b/src/Specs/Peppol/Models/PartyTaxScheme.php index 0a163a8..4994de8 100644 --- a/src/Specs/Peppol/Models/PartyTaxScheme.php +++ b/src/Specs/Peppol/Models/PartyTaxScheme.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/PayeeFinancialAccount.php b/src/Specs/Peppol/Models/PayeeFinancialAccount.php index 3eed0db..b585a29 100644 --- a/src/Specs/Peppol/Models/PayeeFinancialAccount.php +++ b/src/Specs/Peppol/Models/PayeeFinancialAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/PaymentMeans.php b/src/Specs/Peppol/Models/PaymentMeans.php index 6fd5a02..2eb5141 100644 --- a/src/Specs/Peppol/Models/PaymentMeans.php +++ b/src/Specs/Peppol/Models/PaymentMeans.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/PaymentMeansCode.php b/src/Specs/Peppol/Models/PaymentMeansCode.php index ace6696..dba8053 100644 --- a/src/Specs/Peppol/Models/PaymentMeansCode.php +++ b/src/Specs/Peppol/Models/PaymentMeansCode.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/PaymentTerms.php b/src/Specs/Peppol/Models/PaymentTerms.php index daab5a2..211b7b7 100644 --- a/src/Specs/Peppol/Models/PaymentTerms.php +++ b/src/Specs/Peppol/Models/PaymentTerms.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Period.php b/src/Specs/Peppol/Models/Period.php index 09b49ca..dc41666 100644 --- a/src/Specs/Peppol/Models/Period.php +++ b/src/Specs/Peppol/Models/Period.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Price.php b/src/Specs/Peppol/Models/Price.php index 8a7810b..270f3f1 100644 --- a/src/Specs/Peppol/Models/Price.php +++ b/src/Specs/Peppol/Models/Price.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/Quantity.php b/src/Specs/Peppol/Models/Quantity.php index 9359ff7..af584c2 100644 --- a/src/Specs/Peppol/Models/Quantity.php +++ b/src/Specs/Peppol/Models/Quantity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/SellersItemIdentification.php b/src/Specs/Peppol/Models/SellersItemIdentification.php index 344d148..4576266 100644 --- a/src/Specs/Peppol/Models/SellersItemIdentification.php +++ b/src/Specs/Peppol/Models/SellersItemIdentification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/StandardItemIdentification.php b/src/Specs/Peppol/Models/StandardItemIdentification.php index b627f88..b293cad 100644 --- a/src/Specs/Peppol/Models/StandardItemIdentification.php +++ b/src/Specs/Peppol/Models/StandardItemIdentification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/TaxCategory.php b/src/Specs/Peppol/Models/TaxCategory.php index a61fd9c..1a0c75d 100644 --- a/src/Specs/Peppol/Models/TaxCategory.php +++ b/src/Specs/Peppol/Models/TaxCategory.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/TaxScheme.php b/src/Specs/Peppol/Models/TaxScheme.php index fa848b3..d17afe2 100644 --- a/src/Specs/Peppol/Models/TaxScheme.php +++ b/src/Specs/Peppol/Models/TaxScheme.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/TaxSubtotal.php b/src/Specs/Peppol/Models/TaxSubtotal.php index 473cab9..dc01d14 100644 --- a/src/Specs/Peppol/Models/TaxSubtotal.php +++ b/src/Specs/Peppol/Models/TaxSubtotal.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/Peppol/Models/TaxTotal.php b/src/Specs/Peppol/Models/TaxTotal.php index 35b1465..055587b 100644 --- a/src/Specs/Peppol/Models/TaxTotal.php +++ b/src/Specs/Peppol/Models/TaxTotal.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -17,7 +17,7 @@ final class TaxTotal public ?Amount $taxAmount = null; /** @var TaxSubtotal[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('TaxSubtotal')] #[XmlList(entry: 'TaxSubtotal', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $taxSubtotal = []; diff --git a/src/Specs/Peppol/Models/Uri.php b/src/Specs/Peppol/Models/Uri.php index a3e391b..5402469 100644 --- a/src/Specs/Peppol/Models/Uri.php +++ b/src/Specs/Peppol/Models/Uri.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol\Models; +namespace easybill\eInvoicing\Specs\Peppol\Models; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlValue; diff --git a/src/Specs/Peppol/Reader.php b/src/Specs/Peppol/Reader.php index 33a8a4b..bee6181 100644 --- a/src/Specs/Peppol/Reader.php +++ b/src/Specs/Peppol/Reader.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol; +namespace easybill\eInvoicing\Specs\Peppol; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISAbstractDocument; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISAbstractDocument; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/Peppol/Transformer.php b/src/Specs/Peppol/Transformer.php index 5668ab0..eb9dacc 100644 --- a/src/Specs/Peppol/Transformer.php +++ b/src/Specs/Peppol/Transformer.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\Peppol; +namespace easybill\eInvoicing\Specs\Peppol; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISAbstractDocument; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISAbstractDocument; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/XRechnung/CII/Documents/XRechnungCiiInvoice.php b/src/Specs/XRechnung/CII/Documents/XRechnungCiiInvoice.php index c1d1023..a946d7a 100644 --- a/src/Specs/XRechnung/CII/Documents/XRechnungCiiInvoice.php +++ b/src/Specs/XRechnung/CII/Documents/XRechnungCiiInvoice.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Documents; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Documents; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocument; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocumentContext; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocument; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\ExchangedDocumentContext; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainTradeTransaction; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlElement; diff --git a/src/Specs/XRechnung/CII/Models/Amount.php b/src/Specs/XRechnung/CII/Models/Amount.php index 8b509df..961089d 100644 --- a/src/Specs/XRechnung/CII/Models/Amount.php +++ b/src/Specs/XRechnung/CII/Models/Amount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/BinaryObject.php b/src/Specs/XRechnung/CII/Models/BinaryObject.php index 569523b..9f13caa 100644 --- a/src/Specs/XRechnung/CII/Models/BinaryObject.php +++ b/src/Specs/XRechnung/CII/Models/BinaryObject.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/XRechnung/CII/Models/CreditorFinancialAccount.php b/src/Specs/XRechnung/CII/Models/CreditorFinancialAccount.php index 6c7d0d3..e617207 100644 --- a/src/Specs/XRechnung/CII/Models/CreditorFinancialAccount.php +++ b/src/Specs/XRechnung/CII/Models/CreditorFinancialAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/CreditorFinancialInstitution.php b/src/Specs/XRechnung/CII/Models/CreditorFinancialInstitution.php index b1d1d8f..8056b23 100644 --- a/src/Specs/XRechnung/CII/Models/CreditorFinancialInstitution.php +++ b/src/Specs/XRechnung/CII/Models/CreditorFinancialInstitution.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/DateTime.php b/src/Specs/XRechnung/CII/Models/DateTime.php index 3fdd357..037556f 100644 --- a/src/Specs/XRechnung/CII/Models/DateTime.php +++ b/src/Specs/XRechnung/CII/Models/DateTime.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/DateTimeString.php b/src/Specs/XRechnung/CII/Models/DateTimeString.php index 3d26dac..3eda738 100644 --- a/src/Specs/XRechnung/CII/Models/DateTimeString.php +++ b/src/Specs/XRechnung/CII/Models/DateTimeString.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/XRechnung/CII/Models/DebtorFinancialAccount.php b/src/Specs/XRechnung/CII/Models/DebtorFinancialAccount.php index b7fa56e..3f45171 100644 --- a/src/Specs/XRechnung/CII/Models/DebtorFinancialAccount.php +++ b/src/Specs/XRechnung/CII/Models/DebtorFinancialAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/DocumentContextParameter.php b/src/Specs/XRechnung/CII/Models/DocumentContextParameter.php index de40083..dcf62e9 100644 --- a/src/Specs/XRechnung/CII/Models/DocumentContextParameter.php +++ b/src/Specs/XRechnung/CII/Models/DocumentContextParameter.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/DocumentLineDocument.php b/src/Specs/XRechnung/CII/Models/DocumentLineDocument.php index fa6bc57..5b3a330 100644 --- a/src/Specs/XRechnung/CII/Models/DocumentLineDocument.php +++ b/src/Specs/XRechnung/CII/Models/DocumentLineDocument.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -19,7 +19,7 @@ final class DocumentLineDocument public string $lineId; /** @var Note[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'IncludedNote', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $notes = []; diff --git a/src/Specs/XRechnung/CII/Models/ExchangedDocument.php b/src/Specs/XRechnung/CII/Models/ExchangedDocument.php index 15e0ebc..002c856 100644 --- a/src/Specs/XRechnung/CII/Models/ExchangedDocument.php +++ b/src/Specs/XRechnung/CII/Models/ExchangedDocument.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -42,7 +42,7 @@ final class ExchangedDocument /** * @var Note[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'IncludedNote', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $notes = []; } diff --git a/src/Specs/XRechnung/CII/Models/ExchangedDocumentContext.php b/src/Specs/XRechnung/CII/Models/ExchangedDocumentContext.php index 1e9c9cd..3f22e97 100644 --- a/src/Specs/XRechnung/CII/Models/ExchangedDocumentContext.php +++ b/src/Specs/XRechnung/CII/Models/ExchangedDocumentContext.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/FormattedDateTime.php b/src/Specs/XRechnung/CII/Models/FormattedDateTime.php index 5bb2506..e39d926 100644 --- a/src/Specs/XRechnung/CII/Models/FormattedDateTime.php +++ b/src/Specs/XRechnung/CII/Models/FormattedDateTime.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/HeaderTradeAgreement.php b/src/Specs/XRechnung/CII/Models/HeaderTradeAgreement.php index 73c0c71..6706477 100644 --- a/src/Specs/XRechnung/CII/Models/HeaderTradeAgreement.php +++ b/src/Specs/XRechnung/CII/Models/HeaderTradeAgreement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -59,7 +59,7 @@ final class HeaderTradeAgreement public ?ReferencedDocument $contractReferencedDocument = null; /** @var ReferencedDocument[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'AdditionalReferencedDocument', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $additionalReferencedDocuments = []; diff --git a/src/Specs/XRechnung/CII/Models/HeaderTradeDelivery.php b/src/Specs/XRechnung/CII/Models/HeaderTradeDelivery.php index 645d790..6339757 100644 --- a/src/Specs/XRechnung/CII/Models/HeaderTradeDelivery.php +++ b/src/Specs/XRechnung/CII/Models/HeaderTradeDelivery.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/HeaderTradeSettlement.php b/src/Specs/XRechnung/CII/Models/HeaderTradeSettlement.php index a65404e..b1f7324 100644 --- a/src/Specs/XRechnung/CII/Models/HeaderTradeSettlement.php +++ b/src/Specs/XRechnung/CII/Models/HeaderTradeSettlement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -34,14 +34,14 @@ final class HeaderTradeSettlement /** * @var TradeSettlementPaymentMeans[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradeSettlementPaymentMeans', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradeSettlementPaymentMeans = []; /** * @var TradeTax[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'ApplicableTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTaxes = []; @@ -53,21 +53,21 @@ final class HeaderTradeSettlement /** * @var TradeAllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradeAllowanceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradeAllowanceCharge = []; /** * @var LogisticsServiceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedLogisticsServiceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedLogisticsServiceCharge = []; /** * @var TradePaymentTerms[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradePaymentTerms', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradePaymentTerms = []; diff --git a/src/Specs/XRechnung/CII/Models/Id.php b/src/Specs/XRechnung/CII/Models/Id.php index 327d8a9..2201879 100644 --- a/src/Specs/XRechnung/CII/Models/Id.php +++ b/src/Specs/XRechnung/CII/Models/Id.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/Indicator.php b/src/Specs/XRechnung/CII/Models/Indicator.php index 25a8fb9..31e97dc 100644 --- a/src/Specs/XRechnung/CII/Models/Indicator.php +++ b/src/Specs/XRechnung/CII/Models/Indicator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/XRechnung/CII/Models/LegalOrganization.php b/src/Specs/XRechnung/CII/Models/LegalOrganization.php index 77edbf0..492bb93 100644 --- a/src/Specs/XRechnung/CII/Models/LegalOrganization.php +++ b/src/Specs/XRechnung/CII/Models/LegalOrganization.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/LineTradeAgreement.php b/src/Specs/XRechnung/CII/Models/LineTradeAgreement.php index c983e0c..e446140 100644 --- a/src/Specs/XRechnung/CII/Models/LineTradeAgreement.php +++ b/src/Specs/XRechnung/CII/Models/LineTradeAgreement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/XRechnung/CII/Models/LineTradeDelivery.php b/src/Specs/XRechnung/CII/Models/LineTradeDelivery.php index 5b2d838..4b960ed 100644 --- a/src/Specs/XRechnung/CII/Models/LineTradeDelivery.php +++ b/src/Specs/XRechnung/CII/Models/LineTradeDelivery.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/LineTradeSettlement.php b/src/Specs/XRechnung/CII/Models/LineTradeSettlement.php index 69ab5fb..00b3744 100644 --- a/src/Specs/XRechnung/CII/Models/LineTradeSettlement.php +++ b/src/Specs/XRechnung/CII/Models/LineTradeSettlement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -14,14 +14,14 @@ final class LineTradeSettlement /** * @var TradeTax[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'ApplicableTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTax = []; /** * @var TradeAllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradeAllowanceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradeAllowanceCharge = []; @@ -38,7 +38,7 @@ final class LineTradeSettlement /** * @var TradeAccountingAccount[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'ReceivableSpecifiedTradeAccountingAccount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeAccountingAccount = []; } diff --git a/src/Specs/XRechnung/CII/Models/LogisticsServiceCharge.php b/src/Specs/XRechnung/CII/Models/LogisticsServiceCharge.php index a070873..d1c6271 100644 --- a/src/Specs/XRechnung/CII/Models/LogisticsServiceCharge.php +++ b/src/Specs/XRechnung/CII/Models/LogisticsServiceCharge.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -26,7 +26,7 @@ final class LogisticsServiceCharge /** * @var TradeTax[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'AppliedTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTaxes = []; } diff --git a/src/Specs/XRechnung/CII/Models/Note.php b/src/Specs/XRechnung/CII/Models/Note.php index 112d8b9..690aff3 100644 --- a/src/Specs/XRechnung/CII/Models/Note.php +++ b/src/Specs/XRechnung/CII/Models/Note.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/Period.php b/src/Specs/XRechnung/CII/Models/Period.php index 9b8f64b..505bf89 100644 --- a/src/Specs/XRechnung/CII/Models/Period.php +++ b/src/Specs/XRechnung/CII/Models/Period.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/ProcuringProject.php b/src/Specs/XRechnung/CII/Models/ProcuringProject.php index 05039b1..44c7ff0 100644 --- a/src/Specs/XRechnung/CII/Models/ProcuringProject.php +++ b/src/Specs/XRechnung/CII/Models/ProcuringProject.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/Quantity.php b/src/Specs/XRechnung/CII/Models/Quantity.php index 150b562..701c755 100644 --- a/src/Specs/XRechnung/CII/Models/Quantity.php +++ b/src/Specs/XRechnung/CII/Models/Quantity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/ReferencedDocument.php b/src/Specs/XRechnung/CII/Models/ReferencedDocument.php index 13e06c2..a7f0a46 100644 --- a/src/Specs/XRechnung/CII/Models/ReferencedDocument.php +++ b/src/Specs/XRechnung/CII/Models/ReferencedDocument.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/SupplyChainEvent.php b/src/Specs/XRechnung/CII/Models/SupplyChainEvent.php index 9b0ddfc..e83521a 100644 --- a/src/Specs/XRechnung/CII/Models/SupplyChainEvent.php +++ b/src/Specs/XRechnung/CII/Models/SupplyChainEvent.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/SupplyChainTradeLineItem.php b/src/Specs/XRechnung/CII/Models/SupplyChainTradeLineItem.php index ddab439..5ffe1e4 100644 --- a/src/Specs/XRechnung/CII/Models/SupplyChainTradeLineItem.php +++ b/src/Specs/XRechnung/CII/Models/SupplyChainTradeLineItem.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/SupplyChainTradeTransaction.php b/src/Specs/XRechnung/CII/Models/SupplyChainTradeTransaction.php index c7bfc4b..afb9f49 100644 --- a/src/Specs/XRechnung/CII/Models/SupplyChainTradeTransaction.php +++ b/src/Specs/XRechnung/CII/Models/SupplyChainTradeTransaction.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -14,7 +14,7 @@ final class SupplyChainTradeTransaction /** * @var SupplyChainTradeLineItem[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'IncludedSupplyChainTradeLineItem', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $lineItems = []; diff --git a/src/Specs/XRechnung/CII/Models/TaxRegistration.php b/src/Specs/XRechnung/CII/Models/TaxRegistration.php index 5a1cc61..bcc54af 100644 --- a/src/Specs/XRechnung/CII/Models/TaxRegistration.php +++ b/src/Specs/XRechnung/CII/Models/TaxRegistration.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeAccountingAccount.php b/src/Specs/XRechnung/CII/Models/TradeAccountingAccount.php index 92a6938..290406f 100644 --- a/src/Specs/XRechnung/CII/Models/TradeAccountingAccount.php +++ b/src/Specs/XRechnung/CII/Models/TradeAccountingAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeAddress.php b/src/Specs/XRechnung/CII/Models/TradeAddress.php index 79e08e9..4549b9c 100644 --- a/src/Specs/XRechnung/CII/Models/TradeAddress.php +++ b/src/Specs/XRechnung/CII/Models/TradeAddress.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeAllowanceCharge.php b/src/Specs/XRechnung/CII/Models/TradeAllowanceCharge.php index 2189415..5001c35 100644 --- a/src/Specs/XRechnung/CII/Models/TradeAllowanceCharge.php +++ b/src/Specs/XRechnung/CII/Models/TradeAllowanceCharge.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; @@ -37,7 +37,7 @@ final class TradeAllowanceCharge public ?string $reason = null; /** @var TradeTax[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[JMS\XmlList(entry: 'CategoryTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTax = []; diff --git a/src/Specs/XRechnung/CII/Models/TradeContact.php b/src/Specs/XRechnung/CII/Models/TradeContact.php index b1b43f3..eb948cb 100644 --- a/src/Specs/XRechnung/CII/Models/TradeContact.php +++ b/src/Specs/XRechnung/CII/Models/TradeContact.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeCountry.php b/src/Specs/XRechnung/CII/Models/TradeCountry.php index 461b93a..1e4c9c5 100644 --- a/src/Specs/XRechnung/CII/Models/TradeCountry.php +++ b/src/Specs/XRechnung/CII/Models/TradeCountry.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeParty.php b/src/Specs/XRechnung/CII/Models/TradeParty.php index 12dbead..bea8120 100644 --- a/src/Specs/XRechnung/CII/Models/TradeParty.php +++ b/src/Specs/XRechnung/CII/Models/TradeParty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -19,7 +19,7 @@ final class TradeParty public ?Id $id = null; /** @var Id[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'GlobalID', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $globalID = []; @@ -39,7 +39,7 @@ final class TradeParty public ?TradeAddress $postalTradeAddress = null; /** @var TaxRegistration[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTaxRegistration', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $taxRegistrations = []; diff --git a/src/Specs/XRechnung/CII/Models/TradePaymentTerms.php b/src/Specs/XRechnung/CII/Models/TradePaymentTerms.php index beddd2d..c39957a 100644 --- a/src/Specs/XRechnung/CII/Models/TradePaymentTerms.php +++ b/src/Specs/XRechnung/CII/Models/TradePaymentTerms.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/XRechnung/CII/Models/TradePrice.php b/src/Specs/XRechnung/CII/Models/TradePrice.php index 7b28ab9..6ed968f 100644 --- a/src/Specs/XRechnung/CII/Models/TradePrice.php +++ b/src/Specs/XRechnung/CII/Models/TradePrice.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; use JMS\Serializer\Annotation\Type; @@ -26,7 +26,7 @@ final class TradePrice public ?TradeAllowanceCharge $appliedTradeAllowanceCharge = null; /** @var TradeAllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'AppliedTradeAllowanceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public ?array $appliedTradeAllowanceCharges = null; diff --git a/src/Specs/XRechnung/CII/Models/TradeProduct.php b/src/Specs/XRechnung/CII/Models/TradeProduct.php index c901cd7..c45bbdc 100644 --- a/src/Specs/XRechnung/CII/Models/TradeProduct.php +++ b/src/Specs/XRechnung/CII/Models/TradeProduct.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/XRechnung/CII/Models/TradeSettlementFinancialCard.php b/src/Specs/XRechnung/CII/Models/TradeSettlementFinancialCard.php index 98d61f1..65a548c 100644 --- a/src/Specs/XRechnung/CII/Models/TradeSettlementFinancialCard.php +++ b/src/Specs/XRechnung/CII/Models/TradeSettlementFinancialCard.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeSettlementHeaderMonetarySummation.php b/src/Specs/XRechnung/CII/Models/TradeSettlementHeaderMonetarySummation.php index 84e6efb..a8e6024 100644 --- a/src/Specs/XRechnung/CII/Models/TradeSettlementHeaderMonetarySummation.php +++ b/src/Specs/XRechnung/CII/Models/TradeSettlementHeaderMonetarySummation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation as JMS; use JMS\Serializer\Annotation\XmlList; @@ -27,14 +27,14 @@ final class TradeSettlementHeaderMonetarySummation /** * @var Amount[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[XmlList(entry: 'TaxBasisTotalAmount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $taxBasisTotalAmount = []; /** * @var Amount[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[XmlList(entry: 'TaxTotalAmount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $taxTotalAmount = []; @@ -46,7 +46,7 @@ final class TradeSettlementHeaderMonetarySummation /** * @var Amount[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[XmlList(entry: 'GrandTotalAmount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $grandTotalAmount = []; diff --git a/src/Specs/XRechnung/CII/Models/TradeSettlementLineMonetarySummation.php b/src/Specs/XRechnung/CII/Models/TradeSettlementLineMonetarySummation.php index 5a0330e..8878d25 100644 --- a/src/Specs/XRechnung/CII/Models/TradeSettlementLineMonetarySummation.php +++ b/src/Specs/XRechnung/CII/Models/TradeSettlementLineMonetarySummation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeSettlementPaymentMeans.php b/src/Specs/XRechnung/CII/Models/TradeSettlementPaymentMeans.php index 161f076..c922f91 100644 --- a/src/Specs/XRechnung/CII/Models/TradeSettlementPaymentMeans.php +++ b/src/Specs/XRechnung/CII/Models/TradeSettlementPaymentMeans.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Models/TradeTax.php b/src/Specs/XRechnung/CII/Models/TradeTax.php index 5d674fc..7081057 100644 --- a/src/Specs/XRechnung/CII/Models/TradeTax.php +++ b/src/Specs/XRechnung/CII/Models/TradeTax.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/XRechnung/CII/Models/UniversalCommunication.php b/src/Specs/XRechnung/CII/Models/UniversalCommunication.php index 3013fde..04295b8 100644 --- a/src/Specs/XRechnung/CII/Models/UniversalCommunication.php +++ b/src/Specs/XRechnung/CII/Models/UniversalCommunication.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII\Models; +namespace easybill\eInvoicing\Specs\XRechnung\CII\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/CII/Reader.php b/src/Specs/XRechnung/CII/Reader.php index ab4c331..9896d1c 100644 --- a/src/Specs/XRechnung/CII/Reader.php +++ b/src/Specs/XRechnung/CII/Reader.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII; +namespace easybill\eInvoicing\Specs\XRechnung\CII; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/XRechnung/CII/Transformer.php b/src/Specs/XRechnung/CII/Transformer.php index 0b4563b..8b781b6 100644 --- a/src/Specs/XRechnung/CII/Transformer.php +++ b/src/Specs/XRechnung/CII/Transformer.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\CII; +namespace easybill\eInvoicing\Specs\XRechnung\CII; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/XRechnung/UBL/Documents/XRechnungUblAbstractDocument.php b/src/Specs/XRechnung/UBL/Documents/XRechnungUblAbstractDocument.php index 15904e1..832ee45 100644 --- a/src/Specs/XRechnung/UBL/Documents/XRechnungUblAbstractDocument.php +++ b/src/Specs/XRechnung/UBL/Documents/XRechnungUblAbstractDocument.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Documents; - -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\AccountingParty; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\AllowanceCharge; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\BillingReference; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Delivery; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\DocumentReference; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\LegalMonetaryTotal; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Note; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\OrderReference; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Party; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentMeans; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentTerms; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Period; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxTotal; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Documents; + +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\AccountingParty; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\AllowanceCharge; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\BillingReference; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Delivery; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\DocumentReference; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\LegalMonetaryTotal; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Note; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\OrderReference; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Party; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentMeans; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentTerms; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Period; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxTotal; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlElement; @@ -45,7 +45,7 @@ abstract class XRechnungUblAbstractDocument public ?string $issueDate = null; /** @var Note[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('Note')] #[XmlList(entry: 'Note', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2')] public array $note = []; @@ -106,7 +106,7 @@ abstract class XRechnungUblAbstractDocument public ?Delivery $delivery = null; /** @var PaymentMeans[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('PaymentMeans')] #[XmlList(entry: 'PaymentMeans', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $paymentMeans = []; @@ -122,7 +122,7 @@ abstract class XRechnungUblAbstractDocument public ?AllowanceCharge $allowanceCharge = null; /** @var TaxTotal[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('TaxTotal')] #[XmlList(entry: 'TaxTotal', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $taxTotal = []; diff --git a/src/Specs/XRechnung/UBL/Documents/XRechnungUblCredit.php b/src/Specs/XRechnung/UBL/Documents/XRechnungUblCredit.php index 921ec10..617f515 100644 --- a/src/Specs/XRechnung/UBL/Documents/XRechnungUblCredit.php +++ b/src/Specs/XRechnung/UBL/Documents/XRechnungUblCredit.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Documents; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Documents; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\CreditNoteLine; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\CreditNoteLine; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -56,7 +56,7 @@ final class XRechnungUblCredit extends XRechnungUblAbstractDocument public ?string $taxCurrencyCode = null; /** @var CreditNoteLine[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('CreditNoteLine')] #[XmlList(entry: 'CreditNoteLine', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $creditNoteLine = []; diff --git a/src/Specs/XRechnung/UBL/Documents/XRechnungUblInvoice.php b/src/Specs/XRechnung/UBL/Documents/XRechnungUblInvoice.php index 78677a0..82a625c 100644 --- a/src/Specs/XRechnung/UBL/Documents/XRechnungUblInvoice.php +++ b/src/Specs/XRechnung/UBL/Documents/XRechnungUblInvoice.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Documents; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Documents; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\DocumentReference; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\InvoiceLine; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\DocumentReference; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\InvoiceLine; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -81,7 +81,7 @@ final class XRechnungUblInvoice extends XRechnungUblAbstractDocument public ?DocumentReference $projectReference = null; /** @var InvoiceLine[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('InvoiceLine')] #[XmlList(entry: 'InvoiceLine', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $invoiceLine = []; diff --git a/src/Specs/XRechnung/UBL/Models/AbstractDocumentLine.php b/src/Specs/XRechnung/UBL/Models/AbstractDocumentLine.php index 31ae2cf..e506523 100644 --- a/src/Specs/XRechnung/UBL/Models/AbstractDocumentLine.php +++ b/src/Specs/XRechnung/UBL/Models/AbstractDocumentLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation as Serializer; use JMS\Serializer\Annotation\SerializedName; @@ -39,13 +39,13 @@ abstract class AbstractDocumentLine public ?OrderLineReference $orderLineReference = null; /** @var AllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('AllowanceCharge')] #[XmlList(entry: 'AllowanceCharge', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $allowanceCharge = []; /** @var Item[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('Item')] #[XmlList(entry: 'Item', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $item = []; diff --git a/src/Specs/XRechnung/UBL/Models/AccountingCustomerParty.php b/src/Specs/XRechnung/UBL/Models/AccountingCustomerParty.php index 1b136c3..af4fa7f 100644 --- a/src/Specs/XRechnung/UBL/Models/AccountingCustomerParty.php +++ b/src/Specs/XRechnung/UBL/Models/AccountingCustomerParty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/AccountingParty.php b/src/Specs/XRechnung/UBL/Models/AccountingParty.php index 2e193ee..f8eae37 100644 --- a/src/Specs/XRechnung/UBL/Models/AccountingParty.php +++ b/src/Specs/XRechnung/UBL/Models/AccountingParty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Address.php b/src/Specs/XRechnung/UBL/Models/Address.php index 3918ff2..f1f3d4a 100644 --- a/src/Specs/XRechnung/UBL/Models/Address.php +++ b/src/Specs/XRechnung/UBL/Models/Address.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -32,7 +32,7 @@ final class Address public ?string $postalZone = null; /** @var AddressLine[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('AddressLine')] #[XmlList(entry: 'AddressLine', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $addressLines = []; diff --git a/src/Specs/XRechnung/UBL/Models/AddressLine.php b/src/Specs/XRechnung/UBL/Models/AddressLine.php index f2ff504..8fec569 100644 --- a/src/Specs/XRechnung/UBL/Models/AddressLine.php +++ b/src/Specs/XRechnung/UBL/Models/AddressLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/AllowanceCharge.php b/src/Specs/XRechnung/UBL/Models/AllowanceCharge.php index 98222b8..50520b5 100644 --- a/src/Specs/XRechnung/UBL/Models/AllowanceCharge.php +++ b/src/Specs/XRechnung/UBL/Models/AllowanceCharge.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Amount.php b/src/Specs/XRechnung/UBL/Models/Amount.php index 7628114..02fe337 100644 --- a/src/Specs/XRechnung/UBL/Models/Amount.php +++ b/src/Specs/XRechnung/UBL/Models/Amount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Attachment.php b/src/Specs/XRechnung/UBL/Models/Attachment.php index bb8c1bd..d553af4 100644 --- a/src/Specs/XRechnung/UBL/Models/Attachment.php +++ b/src/Specs/XRechnung/UBL/Models/Attachment.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/BillingReference.php b/src/Specs/XRechnung/UBL/Models/BillingReference.php index b65d64a..d6799be 100644 --- a/src/Specs/XRechnung/UBL/Models/BillingReference.php +++ b/src/Specs/XRechnung/UBL/Models/BillingReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/CommodityClassification.php b/src/Specs/XRechnung/UBL/Models/CommodityClassification.php index 10ce94b..c9724d3 100644 --- a/src/Specs/XRechnung/UBL/Models/CommodityClassification.php +++ b/src/Specs/XRechnung/UBL/Models/CommodityClassification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Contact.php b/src/Specs/XRechnung/UBL/Models/Contact.php index ce8fd70..1153e08 100644 --- a/src/Specs/XRechnung/UBL/Models/Contact.php +++ b/src/Specs/XRechnung/UBL/Models/Contact.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Country.php b/src/Specs/XRechnung/UBL/Models/Country.php index 6318f2c..523b9e2 100644 --- a/src/Specs/XRechnung/UBL/Models/Country.php +++ b/src/Specs/XRechnung/UBL/Models/Country.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/CreditNoteLine.php b/src/Specs/XRechnung/UBL/Models/CreditNoteLine.php index 297e53e..43f55c8 100644 --- a/src/Specs/XRechnung/UBL/Models/CreditNoteLine.php +++ b/src/Specs/XRechnung/UBL/Models/CreditNoteLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/XRechnung/UBL/Models/Delivery.php b/src/Specs/XRechnung/UBL/Models/Delivery.php index 687c6d5..eff9725 100644 --- a/src/Specs/XRechnung/UBL/Models/Delivery.php +++ b/src/Specs/XRechnung/UBL/Models/Delivery.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/DeliveryLocation.php b/src/Specs/XRechnung/UBL/Models/DeliveryLocation.php index 725dc02..ca7ed31 100644 --- a/src/Specs/XRechnung/UBL/Models/DeliveryLocation.php +++ b/src/Specs/XRechnung/UBL/Models/DeliveryLocation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/DocumentReference.php b/src/Specs/XRechnung/UBL/Models/DocumentReference.php index 609f533..7cea96e 100644 --- a/src/Specs/XRechnung/UBL/Models/DocumentReference.php +++ b/src/Specs/XRechnung/UBL/Models/DocumentReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/EmbeddedDocumentBinaryObject.php b/src/Specs/XRechnung/UBL/Models/EmbeddedDocumentBinaryObject.php index 6e0b31d..9d887b7 100644 --- a/src/Specs/XRechnung/UBL/Models/EmbeddedDocumentBinaryObject.php +++ b/src/Specs/XRechnung/UBL/Models/EmbeddedDocumentBinaryObject.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/FinancialInstitutionBranch.php b/src/Specs/XRechnung/UBL/Models/FinancialInstitutionBranch.php index f809574..4a4c320 100644 --- a/src/Specs/XRechnung/UBL/Models/FinancialInstitutionBranch.php +++ b/src/Specs/XRechnung/UBL/Models/FinancialInstitutionBranch.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Id.php b/src/Specs/XRechnung/UBL/Models/Id.php index b339026..7174f4e 100644 --- a/src/Specs/XRechnung/UBL/Models/Id.php +++ b/src/Specs/XRechnung/UBL/Models/Id.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Identification.php b/src/Specs/XRechnung/UBL/Models/Identification.php index 7453b99..5ed137e 100644 --- a/src/Specs/XRechnung/UBL/Models/Identification.php +++ b/src/Specs/XRechnung/UBL/Models/Identification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/InvoiceLine.php b/src/Specs/XRechnung/UBL/Models/InvoiceLine.php index 6c98e30..a4309cc 100644 --- a/src/Specs/XRechnung/UBL/Models/InvoiceLine.php +++ b/src/Specs/XRechnung/UBL/Models/InvoiceLine.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/XRechnung/UBL/Models/Item.php b/src/Specs/XRechnung/UBL/Models/Item.php index b99db42..c901b4e 100644 --- a/src/Specs/XRechnung/UBL/Models/Item.php +++ b/src/Specs/XRechnung/UBL/Models/Item.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/ItemClassificationCode.php b/src/Specs/XRechnung/UBL/Models/ItemClassificationCode.php index 8af0c8a..09a7f33 100644 --- a/src/Specs/XRechnung/UBL/Models/ItemClassificationCode.php +++ b/src/Specs/XRechnung/UBL/Models/ItemClassificationCode.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/LegalMonetaryTotal.php b/src/Specs/XRechnung/UBL/Models/LegalMonetaryTotal.php index 1f9a757..cf1f7ac 100644 --- a/src/Specs/XRechnung/UBL/Models/LegalMonetaryTotal.php +++ b/src/Specs/XRechnung/UBL/Models/LegalMonetaryTotal.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Note.php b/src/Specs/XRechnung/UBL/Models/Note.php index 1fc7b5b..427bfd7 100644 --- a/src/Specs/XRechnung/UBL/Models/Note.php +++ b/src/Specs/XRechnung/UBL/Models/Note.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlValue; diff --git a/src/Specs/XRechnung/UBL/Models/OrderLineReference.php b/src/Specs/XRechnung/UBL/Models/OrderLineReference.php index 322a089..a63bddf 100644 --- a/src/Specs/XRechnung/UBL/Models/OrderLineReference.php +++ b/src/Specs/XRechnung/UBL/Models/OrderLineReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/OrderReference.php b/src/Specs/XRechnung/UBL/Models/OrderReference.php index 9a19d3e..2d61ea3 100644 --- a/src/Specs/XRechnung/UBL/Models/OrderReference.php +++ b/src/Specs/XRechnung/UBL/Models/OrderReference.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Party.php b/src/Specs/XRechnung/UBL/Models/Party.php index 77942af..7b60a23 100644 --- a/src/Specs/XRechnung/UBL/Models/Party.php +++ b/src/Specs/XRechnung/UBL/Models/Party.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -32,7 +32,7 @@ final class Party public ?Address $postalAddress = null; /** @var PartyTaxScheme[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('PartyTaxScheme')] #[XmlList(entry: 'PartyTaxScheme', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $partyTaxScheme = []; diff --git a/src/Specs/XRechnung/UBL/Models/PartyLegalEntity.php b/src/Specs/XRechnung/UBL/Models/PartyLegalEntity.php index 19ea535..d496cb1 100644 --- a/src/Specs/XRechnung/UBL/Models/PartyLegalEntity.php +++ b/src/Specs/XRechnung/UBL/Models/PartyLegalEntity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/PartyName.php b/src/Specs/XRechnung/UBL/Models/PartyName.php index 8da9abf..0b7ec89 100644 --- a/src/Specs/XRechnung/UBL/Models/PartyName.php +++ b/src/Specs/XRechnung/UBL/Models/PartyName.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/PartyTaxScheme.php b/src/Specs/XRechnung/UBL/Models/PartyTaxScheme.php index 11067d1..eaa96c3 100644 --- a/src/Specs/XRechnung/UBL/Models/PartyTaxScheme.php +++ b/src/Specs/XRechnung/UBL/Models/PartyTaxScheme.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/PayeeFinancialAccount.php b/src/Specs/XRechnung/UBL/Models/PayeeFinancialAccount.php index 8373375..42fe4cb 100644 --- a/src/Specs/XRechnung/UBL/Models/PayeeFinancialAccount.php +++ b/src/Specs/XRechnung/UBL/Models/PayeeFinancialAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/PaymentMeans.php b/src/Specs/XRechnung/UBL/Models/PaymentMeans.php index df91af5..a847a36 100644 --- a/src/Specs/XRechnung/UBL/Models/PaymentMeans.php +++ b/src/Specs/XRechnung/UBL/Models/PaymentMeans.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/PaymentMeansCode.php b/src/Specs/XRechnung/UBL/Models/PaymentMeansCode.php index aa035b1..f6c143c 100644 --- a/src/Specs/XRechnung/UBL/Models/PaymentMeansCode.php +++ b/src/Specs/XRechnung/UBL/Models/PaymentMeansCode.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/PaymentTerms.php b/src/Specs/XRechnung/UBL/Models/PaymentTerms.php index c7752fc..8a567f3 100644 --- a/src/Specs/XRechnung/UBL/Models/PaymentTerms.php +++ b/src/Specs/XRechnung/UBL/Models/PaymentTerms.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Period.php b/src/Specs/XRechnung/UBL/Models/Period.php index b32c557..980c072 100644 --- a/src/Specs/XRechnung/UBL/Models/Period.php +++ b/src/Specs/XRechnung/UBL/Models/Period.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Price.php b/src/Specs/XRechnung/UBL/Models/Price.php index 799d20d..c0fa736 100644 --- a/src/Specs/XRechnung/UBL/Models/Price.php +++ b/src/Specs/XRechnung/UBL/Models/Price.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/Quantity.php b/src/Specs/XRechnung/UBL/Models/Quantity.php index d079d50..ff591a2 100644 --- a/src/Specs/XRechnung/UBL/Models/Quantity.php +++ b/src/Specs/XRechnung/UBL/Models/Quantity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/SellersItemIdentification.php b/src/Specs/XRechnung/UBL/Models/SellersItemIdentification.php index af31bdf..8ba261d 100644 --- a/src/Specs/XRechnung/UBL/Models/SellersItemIdentification.php +++ b/src/Specs/XRechnung/UBL/Models/SellersItemIdentification.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/TaxCategory.php b/src/Specs/XRechnung/UBL/Models/TaxCategory.php index b2ebd80..1862675 100644 --- a/src/Specs/XRechnung/UBL/Models/TaxCategory.php +++ b/src/Specs/XRechnung/UBL/Models/TaxCategory.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/TaxScheme.php b/src/Specs/XRechnung/UBL/Models/TaxScheme.php index 299262c..c605a7f 100644 --- a/src/Specs/XRechnung/UBL/Models/TaxScheme.php +++ b/src/Specs/XRechnung/UBL/Models/TaxScheme.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/TaxSubtotal.php b/src/Specs/XRechnung/UBL/Models/TaxSubtotal.php index 1716f8b..e042f58 100644 --- a/src/Specs/XRechnung/UBL/Models/TaxSubtotal.php +++ b/src/Specs/XRechnung/UBL/Models/TaxSubtotal.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/XRechnung/UBL/Models/TaxTotal.php b/src/Specs/XRechnung/UBL/Models/TaxTotal.php index 29d4a55..c3c9a5f 100644 --- a/src/Specs/XRechnung/UBL/Models/TaxTotal.php +++ b/src/Specs/XRechnung/UBL/Models/TaxTotal.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL\Models; +namespace easybill\eInvoicing\Specs\XRechnung\UBL\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -17,7 +17,7 @@ final class TaxTotal public ?Amount $taxAmount = null; /** @var TaxSubtotal[] */ - #[Type('array')] + #[Type('array')] #[SerializedName('TaxSubtotal')] #[XmlList(entry: 'TaxSubtotal', inline: true, namespace: 'urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2')] public array $taxSubtotal = []; diff --git a/src/Specs/XRechnung/UBL/Reader.php b/src/Specs/XRechnung/UBL/Reader.php index dc71953..4eb68e2 100644 --- a/src/Specs/XRechnung/UBL/Reader.php +++ b/src/Specs/XRechnung/UBL/Reader.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL; +namespace easybill\eInvoicing\Specs\XRechnung\UBL; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblAbstractDocument; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblAbstractDocument; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/XRechnung/UBL/Transformer.php b/src/Specs/XRechnung/UBL/Transformer.php index 1cea741..5ef8a6f 100644 --- a/src/Specs/XRechnung/UBL/Transformer.php +++ b/src/Specs/XRechnung/UBL/Transformer.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\XRechnung\UBL; +namespace easybill\eInvoicing\Specs\XRechnung\UBL; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblAbstractDocument; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblAbstractDocument; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/ZUGFeRD/Documents/ZUGFeRDInvoice.php b/src/Specs/ZUGFeRD/Documents/ZUGFeRDInvoice.php index d8a9f83..38a5ae4 100644 --- a/src/Specs/ZUGFeRD/Documents/ZUGFeRDInvoice.php +++ b/src/Specs/ZUGFeRD/Documents/ZUGFeRDInvoice.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Documents; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Documents; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocumentContext; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocumentContext; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; use JMS\Serializer\Annotation\XmlElement; diff --git a/src/Specs/ZUGFeRD/Enums/ZUGFeRDProfileType.php b/src/Specs/ZUGFeRD/Enums/ZUGFeRDProfileType.php index 80da9ac..8a47e0e 100644 --- a/src/Specs/ZUGFeRD/Enums/ZUGFeRDProfileType.php +++ b/src/Specs/ZUGFeRD/Enums/ZUGFeRDProfileType.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Enums; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Enums; enum ZUGFeRDProfileType: string { diff --git a/src/Specs/ZUGFeRD/Models/Amount.php b/src/Specs/ZUGFeRD/Models/Amount.php index a7e03a1..741f375 100644 --- a/src/Specs/ZUGFeRD/Models/Amount.php +++ b/src/Specs/ZUGFeRD/Models/Amount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/BinaryObject.php b/src/Specs/ZUGFeRD/Models/BinaryObject.php index 609b51c..b912f39 100644 --- a/src/Specs/ZUGFeRD/Models/BinaryObject.php +++ b/src/Specs/ZUGFeRD/Models/BinaryObject.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/ZUGFeRD/Models/CreditorFinancialAccount.php b/src/Specs/ZUGFeRD/Models/CreditorFinancialAccount.php index 33606e5..a243153 100644 --- a/src/Specs/ZUGFeRD/Models/CreditorFinancialAccount.php +++ b/src/Specs/ZUGFeRD/Models/CreditorFinancialAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/CreditorFinancialInstitution.php b/src/Specs/ZUGFeRD/Models/CreditorFinancialInstitution.php index 6891029..4bd5307 100644 --- a/src/Specs/ZUGFeRD/Models/CreditorFinancialInstitution.php +++ b/src/Specs/ZUGFeRD/Models/CreditorFinancialInstitution.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/DateTime.php b/src/Specs/ZUGFeRD/Models/DateTime.php index 477c0e7..97a8128 100644 --- a/src/Specs/ZUGFeRD/Models/DateTime.php +++ b/src/Specs/ZUGFeRD/Models/DateTime.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/DateTimeString.php b/src/Specs/ZUGFeRD/Models/DateTimeString.php index 2c7f6eb..27e6c25 100644 --- a/src/Specs/ZUGFeRD/Models/DateTimeString.php +++ b/src/Specs/ZUGFeRD/Models/DateTimeString.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/ZUGFeRD/Models/DebtorFinancialAccount.php b/src/Specs/ZUGFeRD/Models/DebtorFinancialAccount.php index 4759c47..b103270 100644 --- a/src/Specs/ZUGFeRD/Models/DebtorFinancialAccount.php +++ b/src/Specs/ZUGFeRD/Models/DebtorFinancialAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/DocumentContextParameter.php b/src/Specs/ZUGFeRD/Models/DocumentContextParameter.php index a185607..ded0070 100644 --- a/src/Specs/ZUGFeRD/Models/DocumentContextParameter.php +++ b/src/Specs/ZUGFeRD/Models/DocumentContextParameter.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/DocumentLineDocument.php b/src/Specs/ZUGFeRD/Models/DocumentLineDocument.php index 0cfd8ba..73731ed 100644 --- a/src/Specs/ZUGFeRD/Models/DocumentLineDocument.php +++ b/src/Specs/ZUGFeRD/Models/DocumentLineDocument.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -19,7 +19,7 @@ final class DocumentLineDocument public string $lineId; /** @var Note[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'IncludedNote', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $notes = []; diff --git a/src/Specs/ZUGFeRD/Models/ExchangedDocument.php b/src/Specs/ZUGFeRD/Models/ExchangedDocument.php index c9da06c..eba5b8a 100644 --- a/src/Specs/ZUGFeRD/Models/ExchangedDocument.php +++ b/src/Specs/ZUGFeRD/Models/ExchangedDocument.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -42,7 +42,7 @@ final class ExchangedDocument /** * @var Note[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'IncludedNote', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $notes = []; } diff --git a/src/Specs/ZUGFeRD/Models/ExchangedDocumentContext.php b/src/Specs/ZUGFeRD/Models/ExchangedDocumentContext.php index daaf35c..a6f0767 100644 --- a/src/Specs/ZUGFeRD/Models/ExchangedDocumentContext.php +++ b/src/Specs/ZUGFeRD/Models/ExchangedDocumentContext.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/FormattedDateTime.php b/src/Specs/ZUGFeRD/Models/FormattedDateTime.php index 83b5d9e..3550a55 100644 --- a/src/Specs/ZUGFeRD/Models/FormattedDateTime.php +++ b/src/Specs/ZUGFeRD/Models/FormattedDateTime.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/HeaderTradeAgreement.php b/src/Specs/ZUGFeRD/Models/HeaderTradeAgreement.php index 428516e..6af48c9 100644 --- a/src/Specs/ZUGFeRD/Models/HeaderTradeAgreement.php +++ b/src/Specs/ZUGFeRD/Models/HeaderTradeAgreement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -59,7 +59,7 @@ final class HeaderTradeAgreement public ?ReferencedDocument $contractReferencedDocument = null; /** @var ReferencedDocument[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'AdditionalReferencedDocument', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $additionalReferencedDocuments = []; diff --git a/src/Specs/ZUGFeRD/Models/HeaderTradeDelivery.php b/src/Specs/ZUGFeRD/Models/HeaderTradeDelivery.php index a5f8a2f..c6a15c5 100644 --- a/src/Specs/ZUGFeRD/Models/HeaderTradeDelivery.php +++ b/src/Specs/ZUGFeRD/Models/HeaderTradeDelivery.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/HeaderTradeSettlement.php b/src/Specs/ZUGFeRD/Models/HeaderTradeSettlement.php index 1f5f57e..a308e86 100644 --- a/src/Specs/ZUGFeRD/Models/HeaderTradeSettlement.php +++ b/src/Specs/ZUGFeRD/Models/HeaderTradeSettlement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -34,14 +34,14 @@ final class HeaderTradeSettlement /** * @var TradeSettlementPaymentMeans[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradeSettlementPaymentMeans', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradeSettlementPaymentMeans = []; /** * @var TradeTax[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'ApplicableTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTaxes = []; @@ -53,21 +53,21 @@ final class HeaderTradeSettlement /** * @var TradeAllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradeAllowanceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradeAllowanceCharge = []; /** * @var LogisticsServiceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedLogisticsServiceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedLogisticsServiceCharge = []; /** * @var TradePaymentTerms[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradePaymentTerms', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradePaymentTerms = []; diff --git a/src/Specs/ZUGFeRD/Models/Id.php b/src/Specs/ZUGFeRD/Models/Id.php index ebf5aa0..158fc4b 100644 --- a/src/Specs/ZUGFeRD/Models/Id.php +++ b/src/Specs/ZUGFeRD/Models/Id.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/Indicator.php b/src/Specs/ZUGFeRD/Models/Indicator.php index 0a5f50c..4f7fa07 100644 --- a/src/Specs/ZUGFeRD/Models/Indicator.php +++ b/src/Specs/ZUGFeRD/Models/Indicator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/ZUGFeRD/Models/LegalOrganization.php b/src/Specs/ZUGFeRD/Models/LegalOrganization.php index a83335a..3ca4e3b 100644 --- a/src/Specs/ZUGFeRD/Models/LegalOrganization.php +++ b/src/Specs/ZUGFeRD/Models/LegalOrganization.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/LineTradeAgreement.php b/src/Specs/ZUGFeRD/Models/LineTradeAgreement.php index c9fb358..bdbe9e4 100644 --- a/src/Specs/ZUGFeRD/Models/LineTradeAgreement.php +++ b/src/Specs/ZUGFeRD/Models/LineTradeAgreement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/ZUGFeRD/Models/LineTradeDelivery.php b/src/Specs/ZUGFeRD/Models/LineTradeDelivery.php index f96dc9f..2386621 100644 --- a/src/Specs/ZUGFeRD/Models/LineTradeDelivery.php +++ b/src/Specs/ZUGFeRD/Models/LineTradeDelivery.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/LineTradeSettlement.php b/src/Specs/ZUGFeRD/Models/LineTradeSettlement.php index 7909e7e..5a6e65a 100644 --- a/src/Specs/ZUGFeRD/Models/LineTradeSettlement.php +++ b/src/Specs/ZUGFeRD/Models/LineTradeSettlement.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -14,14 +14,14 @@ final class LineTradeSettlement /** * @var TradeTax[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'ApplicableTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTax = []; /** * @var TradeAllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTradeAllowanceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $specifiedTradeAllowanceCharge = []; @@ -38,7 +38,7 @@ final class LineTradeSettlement /** * @var TradeAccountingAccount[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'ReceivableSpecifiedTradeAccountingAccount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeAccountingAccount = []; } diff --git a/src/Specs/ZUGFeRD/Models/LogisticsServiceCharge.php b/src/Specs/ZUGFeRD/Models/LogisticsServiceCharge.php index 4f081e5..39d7192 100644 --- a/src/Specs/ZUGFeRD/Models/LogisticsServiceCharge.php +++ b/src/Specs/ZUGFeRD/Models/LogisticsServiceCharge.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -26,7 +26,7 @@ final class LogisticsServiceCharge /** * @var TradeTax[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'AppliedTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTaxes = []; } diff --git a/src/Specs/ZUGFeRD/Models/Note.php b/src/Specs/ZUGFeRD/Models/Note.php index 048db07..541911b 100644 --- a/src/Specs/ZUGFeRD/Models/Note.php +++ b/src/Specs/ZUGFeRD/Models/Note.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/Period.php b/src/Specs/ZUGFeRD/Models/Period.php index fc242ec..0613473 100644 --- a/src/Specs/ZUGFeRD/Models/Period.php +++ b/src/Specs/ZUGFeRD/Models/Period.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/ProcuringProject.php b/src/Specs/ZUGFeRD/Models/ProcuringProject.php index 869e22a..2f9ad37 100644 --- a/src/Specs/ZUGFeRD/Models/ProcuringProject.php +++ b/src/Specs/ZUGFeRD/Models/ProcuringProject.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/Quantity.php b/src/Specs/ZUGFeRD/Models/Quantity.php index 10da6ca..5aedcd7 100644 --- a/src/Specs/ZUGFeRD/Models/Quantity.php +++ b/src/Specs/ZUGFeRD/Models/Quantity.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/ReferencedDocument.php b/src/Specs/ZUGFeRD/Models/ReferencedDocument.php index 9dce10c..b1eac29 100644 --- a/src/Specs/ZUGFeRD/Models/ReferencedDocument.php +++ b/src/Specs/ZUGFeRD/Models/ReferencedDocument.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/SupplyChainEvent.php b/src/Specs/ZUGFeRD/Models/SupplyChainEvent.php index 21ecded..2547004 100644 --- a/src/Specs/ZUGFeRD/Models/SupplyChainEvent.php +++ b/src/Specs/ZUGFeRD/Models/SupplyChainEvent.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/SupplyChainTradeLineItem.php b/src/Specs/ZUGFeRD/Models/SupplyChainTradeLineItem.php index 1326dac..36ca4ee 100644 --- a/src/Specs/ZUGFeRD/Models/SupplyChainTradeLineItem.php +++ b/src/Specs/ZUGFeRD/Models/SupplyChainTradeLineItem.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/SupplyChainTradeTransaction.php b/src/Specs/ZUGFeRD/Models/SupplyChainTradeTransaction.php index 10bf215..3a1c8f5 100644 --- a/src/Specs/ZUGFeRD/Models/SupplyChainTradeTransaction.php +++ b/src/Specs/ZUGFeRD/Models/SupplyChainTradeTransaction.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; @@ -14,7 +14,7 @@ final class SupplyChainTradeTransaction /** * @var SupplyChainTradeLineItem[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'IncludedSupplyChainTradeLineItem', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $lineItems = []; diff --git a/src/Specs/ZUGFeRD/Models/TaxRegistration.php b/src/Specs/ZUGFeRD/Models/TaxRegistration.php index 6b65538..52d680b 100644 --- a/src/Specs/ZUGFeRD/Models/TaxRegistration.php +++ b/src/Specs/ZUGFeRD/Models/TaxRegistration.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeAccountingAccount.php b/src/Specs/ZUGFeRD/Models/TradeAccountingAccount.php index d9f2f69..1127820 100644 --- a/src/Specs/ZUGFeRD/Models/TradeAccountingAccount.php +++ b/src/Specs/ZUGFeRD/Models/TradeAccountingAccount.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeAddress.php b/src/Specs/ZUGFeRD/Models/TradeAddress.php index 70a7eb9..a7c28d0 100644 --- a/src/Specs/ZUGFeRD/Models/TradeAddress.php +++ b/src/Specs/ZUGFeRD/Models/TradeAddress.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeAllowanceCharge.php b/src/Specs/ZUGFeRD/Models/TradeAllowanceCharge.php index 955a01c..cc69a7f 100644 --- a/src/Specs/ZUGFeRD/Models/TradeAllowanceCharge.php +++ b/src/Specs/ZUGFeRD/Models/TradeAllowanceCharge.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; @@ -37,7 +37,7 @@ final class TradeAllowanceCharge public ?string $reason = null; /** @var TradeTax[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[JMS\XmlList(entry: 'CategoryTradeTax', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $tradeTax = []; diff --git a/src/Specs/ZUGFeRD/Models/TradeContact.php b/src/Specs/ZUGFeRD/Models/TradeContact.php index 5888a5c..e66ca51 100644 --- a/src/Specs/ZUGFeRD/Models/TradeContact.php +++ b/src/Specs/ZUGFeRD/Models/TradeContact.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeCountry.php b/src/Specs/ZUGFeRD/Models/TradeCountry.php index c6e01ca..a0f9ef7 100644 --- a/src/Specs/ZUGFeRD/Models/TradeCountry.php +++ b/src/Specs/ZUGFeRD/Models/TradeCountry.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeParty.php b/src/Specs/ZUGFeRD/Models/TradeParty.php index 4b4240d..1ae7e27 100644 --- a/src/Specs/ZUGFeRD/Models/TradeParty.php +++ b/src/Specs/ZUGFeRD/Models/TradeParty.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; @@ -19,7 +19,7 @@ final class TradeParty public ?Id $id = null; /** @var Id[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'GlobalID', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $globalID = []; @@ -39,7 +39,7 @@ final class TradeParty public ?TradeAddress $postalTradeAddress = null; /** @var TaxRegistration[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'SpecifiedTaxRegistration', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $taxRegistrations = []; diff --git a/src/Specs/ZUGFeRD/Models/TradePaymentTerms.php b/src/Specs/ZUGFeRD/Models/TradePaymentTerms.php index c26026b..c3f4e74 100644 --- a/src/Specs/ZUGFeRD/Models/TradePaymentTerms.php +++ b/src/Specs/ZUGFeRD/Models/TradePaymentTerms.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/ZUGFeRD/Models/TradePrice.php b/src/Specs/ZUGFeRD/Models/TradePrice.php index c0d631a..811720b 100644 --- a/src/Specs/ZUGFeRD/Models/TradePrice.php +++ b/src/Specs/ZUGFeRD/Models/TradePrice.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; use JMS\Serializer\Annotation\Type; @@ -26,7 +26,7 @@ final class TradePrice public ?TradeAllowanceCharge $appliedTradeAllowanceCharge = null; /** @var TradeAllowanceCharge[] */ - #[Type('array')] + #[Type('array')] #[XmlList(entry: 'AppliedTradeAllowanceCharge', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public ?array $appliedTradeAllowanceCharges = null; diff --git a/src/Specs/ZUGFeRD/Models/TradeProduct.php b/src/Specs/ZUGFeRD/Models/TradeProduct.php index ce2872c..9dbc608 100644 --- a/src/Specs/ZUGFeRD/Models/TradeProduct.php +++ b/src/Specs/ZUGFeRD/Models/TradeProduct.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation\SerializedName; diff --git a/src/Specs/ZUGFeRD/Models/TradeSettlementFinancialCard.php b/src/Specs/ZUGFeRD/Models/TradeSettlementFinancialCard.php index ba92707..86f46ff 100644 --- a/src/Specs/ZUGFeRD/Models/TradeSettlementFinancialCard.php +++ b/src/Specs/ZUGFeRD/Models/TradeSettlementFinancialCard.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeSettlementHeaderMonetarySummation.php b/src/Specs/ZUGFeRD/Models/TradeSettlementHeaderMonetarySummation.php index 0f07e8c..a9848ed 100644 --- a/src/Specs/ZUGFeRD/Models/TradeSettlementHeaderMonetarySummation.php +++ b/src/Specs/ZUGFeRD/Models/TradeSettlementHeaderMonetarySummation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation as JMS; use JMS\Serializer\Annotation\XmlList; @@ -27,14 +27,14 @@ final class TradeSettlementHeaderMonetarySummation /** * @var Amount[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[XmlList(entry: 'TaxBasisTotalAmount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $taxBasisTotalAmount = []; /** * @var Amount[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[XmlList(entry: 'TaxTotalAmount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $taxTotalAmount = []; @@ -46,7 +46,7 @@ final class TradeSettlementHeaderMonetarySummation /** * @var Amount[] */ - #[JMS\Type('array')] + #[JMS\Type('array')] #[XmlList(entry: 'GrandTotalAmount', inline: true, namespace: 'urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100')] public array $grandTotalAmount = []; diff --git a/src/Specs/ZUGFeRD/Models/TradeSettlementLineMonetarySummation.php b/src/Specs/ZUGFeRD/Models/TradeSettlementLineMonetarySummation.php index 7f3d4ec..7451a81 100644 --- a/src/Specs/ZUGFeRD/Models/TradeSettlementLineMonetarySummation.php +++ b/src/Specs/ZUGFeRD/Models/TradeSettlementLineMonetarySummation.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeSettlementPaymentMeans.php b/src/Specs/ZUGFeRD/Models/TradeSettlementPaymentMeans.php index 45a8a8d..d532eb9 100644 --- a/src/Specs/ZUGFeRD/Models/TradeSettlementPaymentMeans.php +++ b/src/Specs/ZUGFeRD/Models/TradeSettlementPaymentMeans.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Models/TradeTax.php b/src/Specs/ZUGFeRD/Models/TradeTax.php index f5e3990..671f8c7 100644 --- a/src/Specs/ZUGFeRD/Models/TradeTax.php +++ b/src/Specs/ZUGFeRD/Models/TradeTax.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\AccessorOrder; use JMS\Serializer\Annotation as JMS; diff --git a/src/Specs/ZUGFeRD/Models/UniversalCommunication.php b/src/Specs/ZUGFeRD/Models/UniversalCommunication.php index 601b714..ae5d6a0 100644 --- a/src/Specs/ZUGFeRD/Models/UniversalCommunication.php +++ b/src/Specs/ZUGFeRD/Models/UniversalCommunication.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD\Models; +namespace easybill\eInvoicing\Specs\ZUGFeRD\Models; use JMS\Serializer\Annotation\SerializedName; use JMS\Serializer\Annotation\Type; diff --git a/src/Specs/ZUGFeRD/Reader.php b/src/Specs/ZUGFeRD/Reader.php index 395712d..0d3ec39 100644 --- a/src/Specs/ZUGFeRD/Reader.php +++ b/src/Specs/ZUGFeRD/Reader.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD; +namespace easybill\eInvoicing\Specs\ZUGFeRD; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/src/Specs/ZUGFeRD/Transformer.php b/src/Specs/ZUGFeRD/Transformer.php index b9209fb..1345c92 100644 --- a/src/Specs/ZUGFeRD/Transformer.php +++ b/src/Specs/ZUGFeRD/Transformer.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace Easybill\eInvoicing\Specs\ZUGFeRD; +namespace easybill\eInvoicing\Specs\ZUGFeRD; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; use JMS\Serializer\SerializerBuilder; use JMS\Serializer\SerializerInterface; diff --git a/tests/Integration/DocumentFactoryTest.php b/tests/Integration/DocumentFactoryTest.php index 88ca944..d312aa2 100644 --- a/tests/Integration/DocumentFactoryTest.php +++ b/tests/Integration/DocumentFactoryTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration; +namespace easybill\eInvoicingTests\Integration; -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; test('check if the ZUGFeRD document is constructed as expected', function () { $document = DocumentFactory::createZUGFeRDInvoice(ZUGFeRDProfileType::BASIC); diff --git a/tests/Integration/DocumentXmlReaderTest.php b/tests/Integration/DocumentXmlReaderTest.php index 6cf2a37..0aab872 100644 --- a/tests/Integration/DocumentXmlReaderTest.php +++ b/tests/Integration/DocumentXmlReaderTest.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration; +namespace easybill\eInvoicingTests\Integration; -use Easybill\eInvoicing\DocumentXmlReader; -use Easybill\eInvoicing\Specs\Dtos\ReaderResult; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\DocumentXmlReader; +use easybill\eInvoicing\Dtos\ReaderResult; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; test( 'test if the reader can process the provided xml', diff --git a/tests/Integration/Peppol/ReaderTest.php b/tests/Integration/Peppol/ReaderTest.php index c72b3db..bc9f6e4 100644 --- a/tests/Integration/Peppol/ReaderTest.php +++ b/tests/Integration/Peppol/ReaderTest.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\Peppol; +namespace easybill\eInvoicingTests\Integration\Peppol; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; -use Easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; -use Easybill\eInvoicing\Specs\Peppol\Reader; -use Easybill\eInvoicing\Specs\Peppol\Transformer; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISCredit; +use easybill\eInvoicing\Specs\Peppol\Documents\PeppolBISInvoice; +use easybill\eInvoicing\Specs\Peppol\Reader; +use easybill\eInvoicing\Specs\Peppol\Transformer; test( 'Reader parses the provided xml example accordingly and the resulting xml is identical to the provided', diff --git a/tests/Integration/Peppol/TransformerTest.php b/tests/Integration/Peppol/TransformerTest.php index 3232bfd..ed5ad80 100644 --- a/tests/Integration/Peppol/TransformerTest.php +++ b/tests/Integration/Peppol/TransformerTest.php @@ -2,43 +2,43 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\Peppol; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\Peppol\Models\AccountingParty; -use Easybill\eInvoicing\Specs\Peppol\Models\Address; -use Easybill\eInvoicing\Specs\Peppol\Models\AllowanceCharge; -use Easybill\eInvoicing\Specs\Peppol\Models\Amount; -use Easybill\eInvoicing\Specs\Peppol\Models\CommodityClassification; -use Easybill\eInvoicing\Specs\Peppol\Models\Contact; -use Easybill\eInvoicing\Specs\Peppol\Models\Country; -use Easybill\eInvoicing\Specs\Peppol\Models\Delivery; -use Easybill\eInvoicing\Specs\Peppol\Models\DeliveryLocation; -use Easybill\eInvoicing\Specs\Peppol\Models\FinancialInstitutionBranch; -use Easybill\eInvoicing\Specs\Peppol\Models\Id; -use Easybill\eInvoicing\Specs\Peppol\Models\Identification; -use Easybill\eInvoicing\Specs\Peppol\Models\InvoiceLine; -use Easybill\eInvoicing\Specs\Peppol\Models\Item; -use Easybill\eInvoicing\Specs\Peppol\Models\ItemClassificationCode; -use Easybill\eInvoicing\Specs\Peppol\Models\LegalMonetaryTotal; -use Easybill\eInvoicing\Specs\Peppol\Models\OrderLineReference; -use Easybill\eInvoicing\Specs\Peppol\Models\Party; -use Easybill\eInvoicing\Specs\Peppol\Models\PartyLegalEntity; -use Easybill\eInvoicing\Specs\Peppol\Models\PartyName; -use Easybill\eInvoicing\Specs\Peppol\Models\PartyTaxScheme; -use Easybill\eInvoicing\Specs\Peppol\Models\PayeeFinancialAccount; -use Easybill\eInvoicing\Specs\Peppol\Models\PaymentMeans; -use Easybill\eInvoicing\Specs\Peppol\Models\PaymentMeansCode; -use Easybill\eInvoicing\Specs\Peppol\Models\PaymentTerms; -use Easybill\eInvoicing\Specs\Peppol\Models\Price; -use Easybill\eInvoicing\Specs\Peppol\Models\Quantity; -use Easybill\eInvoicing\Specs\Peppol\Models\StandardItemIdentification; -use Easybill\eInvoicing\Specs\Peppol\Models\TaxCategory; -use Easybill\eInvoicing\Specs\Peppol\Models\TaxScheme; -use Easybill\eInvoicing\Specs\Peppol\Models\TaxSubtotal; -use Easybill\eInvoicing\Specs\Peppol\Models\TaxTotal; -use Easybill\eInvoicing\Specs\Peppol\Transformer; -use Easybill\eInvoicingTests\Validators\PeppolValidator; +namespace easybill\eInvoicingTests\Integration\Peppol; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\Peppol\Models\AccountingParty; +use easybill\eInvoicing\Specs\Peppol\Models\Address; +use easybill\eInvoicing\Specs\Peppol\Models\AllowanceCharge; +use easybill\eInvoicing\Specs\Peppol\Models\Amount; +use easybill\eInvoicing\Specs\Peppol\Models\CommodityClassification; +use easybill\eInvoicing\Specs\Peppol\Models\Contact; +use easybill\eInvoicing\Specs\Peppol\Models\Country; +use easybill\eInvoicing\Specs\Peppol\Models\Delivery; +use easybill\eInvoicing\Specs\Peppol\Models\DeliveryLocation; +use easybill\eInvoicing\Specs\Peppol\Models\FinancialInstitutionBranch; +use easybill\eInvoicing\Specs\Peppol\Models\Id; +use easybill\eInvoicing\Specs\Peppol\Models\Identification; +use easybill\eInvoicing\Specs\Peppol\Models\InvoiceLine; +use easybill\eInvoicing\Specs\Peppol\Models\Item; +use easybill\eInvoicing\Specs\Peppol\Models\ItemClassificationCode; +use easybill\eInvoicing\Specs\Peppol\Models\LegalMonetaryTotal; +use easybill\eInvoicing\Specs\Peppol\Models\OrderLineReference; +use easybill\eInvoicing\Specs\Peppol\Models\Party; +use easybill\eInvoicing\Specs\Peppol\Models\PartyLegalEntity; +use easybill\eInvoicing\Specs\Peppol\Models\PartyName; +use easybill\eInvoicing\Specs\Peppol\Models\PartyTaxScheme; +use easybill\eInvoicing\Specs\Peppol\Models\PayeeFinancialAccount; +use easybill\eInvoicing\Specs\Peppol\Models\PaymentMeans; +use easybill\eInvoicing\Specs\Peppol\Models\PaymentMeansCode; +use easybill\eInvoicing\Specs\Peppol\Models\PaymentTerms; +use easybill\eInvoicing\Specs\Peppol\Models\Price; +use easybill\eInvoicing\Specs\Peppol\Models\Quantity; +use easybill\eInvoicing\Specs\Peppol\Models\StandardItemIdentification; +use easybill\eInvoicing\Specs\Peppol\Models\TaxCategory; +use easybill\eInvoicing\Specs\Peppol\Models\TaxScheme; +use easybill\eInvoicing\Specs\Peppol\Models\TaxSubtotal; +use easybill\eInvoicing\Specs\Peppol\Models\TaxTotal; +use easybill\eInvoicing\Specs\Peppol\Transformer; +use easybill\eInvoicingTests\Validators\PeppolValidator; test( 'Allows building a valid Peppol BIS 3.0 Billing document with a simple structure', diff --git a/tests/Integration/XRechnung/CII/ReaderTest.php b/tests/Integration/XRechnung/CII/ReaderTest.php index 33b2a44..f6b003f 100644 --- a/tests/Integration/XRechnung/CII/ReaderTest.php +++ b/tests/Integration/XRechnung/CII/ReaderTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\XRechnung3\CII; +namespace easybill\eInvoicingTests\Integration\XRechnung3\CII; -use Easybill\eInvoicing\Specs\XRechnung\CII\Reader; -use Easybill\eInvoicing\Specs\XRechnung\CII\Transformer; +use easybill\eInvoicing\Specs\XRechnung\CII\Reader; +use easybill\eInvoicing\Specs\XRechnung\CII\Transformer; test( 'Reader parses the provided xml example accordingly and the resulting xml is identical to the provided', diff --git a/tests/Integration/XRechnung/CII/TransformerTest.php b/tests/Integration/XRechnung/CII/TransformerTest.php index 66e8a2d..437a417 100644 --- a/tests/Integration/XRechnung/CII/TransformerTest.php +++ b/tests/Integration/XRechnung/CII/TransformerTest.php @@ -2,43 +2,43 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\Amount; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\BinaryObject; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\CreditorFinancialAccount; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\CreditorFinancialInstitution; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\DateTime; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\DocumentLineDocument; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\HeaderTradeAgreement; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\HeaderTradeDelivery; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\HeaderTradeSettlement; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\Id; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\LineTradeAgreement; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\LineTradeDelivery; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\LineTradeSettlement; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\Note; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\Period; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\Quantity; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\ReferencedDocument; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainEvent; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainTradeLineItem; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainTradeTransaction; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TaxRegistration; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeAddress; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeContact; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeParty; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradePaymentTerms; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradePrice; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeProduct; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeSettlementHeaderMonetarySummation; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeSettlementLineMonetarySummation; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeSettlementPaymentMeans; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeTax; -use Easybill\eInvoicing\Specs\XRechnung\CII\Models\UniversalCommunication; -use Easybill\eInvoicing\Specs\XRechnung\CII\Transformer; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\Amount; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\BinaryObject; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\CreditorFinancialAccount; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\CreditorFinancialInstitution; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\DateTime; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\DocumentLineDocument; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\HeaderTradeAgreement; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\HeaderTradeDelivery; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\HeaderTradeSettlement; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\Id; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\LineTradeAgreement; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\LineTradeDelivery; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\LineTradeSettlement; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\Note; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\Period; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\Quantity; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\ReferencedDocument; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainEvent; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainTradeLineItem; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TaxRegistration; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeAddress; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeContact; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeParty; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradePaymentTerms; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradePrice; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeProduct; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeSettlementHeaderMonetarySummation; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeSettlementLineMonetarySummation; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeSettlementPaymentMeans; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\TradeTax; +use easybill\eInvoicing\Specs\XRechnung\CII\Models\UniversalCommunication; +use easybill\eInvoicing\Specs\XRechnung\CII\Transformer; +use easybill\eInvoicingTests\Validators\SchemaValidator; test( 'building XRechnung CII document for XRECHNUNG_Einfach.xml', diff --git a/tests/Integration/XRechnung/UBL/ReaderTest.php b/tests/Integration/XRechnung/UBL/ReaderTest.php index bf76ee8..fc545e7 100644 --- a/tests/Integration/XRechnung/UBL/ReaderTest.php +++ b/tests/Integration/XRechnung/UBL/ReaderTest.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\XRechnung3\UBL; +namespace easybill\eInvoicingTests\Integration\XRechnung3\UBL; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Reader; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Transformer; +use easybill\eInvoicing\Specs\XRechnung\UBL\Documents\XRechnungUblInvoice; +use easybill\eInvoicing\Specs\XRechnung\UBL\Reader; +use easybill\eInvoicing\Specs\XRechnung\UBL\Transformer; test( 'Reader parses the provided xml example accordingly and the resulting xml is identical to the provided', diff --git a/tests/Integration/XRechnung/UBL/TransformerTest.php b/tests/Integration/XRechnung/UBL/TransformerTest.php index cb4339c..f39c0d3 100644 --- a/tests/Integration/XRechnung/UBL/TransformerTest.php +++ b/tests/Integration/XRechnung/UBL/TransformerTest.php @@ -2,40 +2,40 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\XRechnung3\UBL; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\AccountingParty; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Address; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Amount; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\CommodityClassification; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Contact; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Country; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Id; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Identification; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\InvoiceLine; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Item; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\ItemClassificationCode; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\LegalMonetaryTotal; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Note; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\OrderLineReference; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Party; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PartyLegalEntity; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PartyName; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PartyTaxScheme; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PayeeFinancialAccount; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentMeans; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentMeansCode; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentTerms; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Period; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Price; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\Quantity; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\SellersItemIdentification; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxCategory; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxScheme; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxSubtotal; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxTotal; -use Easybill\eInvoicing\Specs\XRechnung\UBL\Transformer; +namespace easybill\eInvoicingTests\Integration\XRechnung3\UBL; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\AccountingParty; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Address; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Amount; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\CommodityClassification; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Contact; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Country; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Id; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Identification; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\InvoiceLine; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Item; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\ItemClassificationCode; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\LegalMonetaryTotal; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Note; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\OrderLineReference; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Party; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PartyLegalEntity; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PartyName; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PartyTaxScheme; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PayeeFinancialAccount; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentMeans; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentMeansCode; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\PaymentTerms; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Period; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Price; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\Quantity; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\SellersItemIdentification; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxCategory; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxScheme; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxSubtotal; +use easybill\eInvoicing\Specs\XRechnung\UBL\Models\TaxTotal; +use easybill\eInvoicing\Specs\XRechnung\UBL\Transformer; test( 'Allows building a valid XRechnung 3.0 document with a simple structure', diff --git a/tests/Integration/ZUGFeRD/ProfileBasicTest.php b/tests/Integration/ZUGFeRD/ProfileBasicTest.php index 52e0327..de0b23e 100644 --- a/tests/Integration/ZUGFeRD/ProfileBasicTest.php +++ b/tests/Integration/ZUGFeRD/ProfileBasicTest.php @@ -2,38 +2,38 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentLineDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Id; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Indicator; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Quantity; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainEvent; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeLineItem; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAllowanceCharge; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePrice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeProduct; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementLineMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentLineDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\ExchangedDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Id; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Indicator; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Quantity; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainEvent; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeLineItem; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAllowanceCharge; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePrice; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeProduct; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementLineMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; +use easybill\eInvoicingTests\Validators\SchemaValidator; test( 'building ZUGFeRD cii document for BASIC_Einfach.xml', diff --git a/tests/Integration/ZUGFeRD/ProfileBasicWLTest.php b/tests/Integration/ZUGFeRD/ProfileBasicWLTest.php index f1bbedf..1126a5c 100644 --- a/tests/Integration/ZUGFeRD/ProfileBasicWLTest.php +++ b/tests/Integration/ZUGFeRD/ProfileBasicWLTest.php @@ -2,25 +2,25 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainEvent; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainEvent; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; +use easybill\eInvoicingTests\Validators\SchemaValidator; test( 'building ZUGFeRD cii document for BASIC-WL_Einfach.xml', diff --git a/tests/Integration/ZUGFeRD/ProfileEN16931Test.php b/tests/Integration/ZUGFeRD/ProfileEN16931Test.php index e3b7dc2..3323f39 100644 --- a/tests/Integration/ZUGFeRD/ProfileEN16931Test.php +++ b/tests/Integration/ZUGFeRD/ProfileEN16931Test.php @@ -2,36 +2,36 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentLineDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Id; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Quantity; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainEvent; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeLineItem; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePrice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeProduct; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementLineMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; -use Easybill\eInvoicing\Specs\ZUGFeRD\Transformer; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentLineDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Id; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Quantity; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainEvent; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeLineItem; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePrice; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeProduct; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementLineMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; +use easybill\eInvoicing\Specs\ZUGFeRD\Transformer; +use easybill\eInvoicingTests\Validators\SchemaValidator; test( 'building ZUGFeRD CII document for EN16931_Einfach.xml', diff --git a/tests/Integration/ZUGFeRD/ProfileExtendedTest.php b/tests/Integration/ZUGFeRD/ProfileExtendedTest.php index 4f8c88d..6bbad51 100644 --- a/tests/Integration/ZUGFeRD/ProfileExtendedTest.php +++ b/tests/Integration/ZUGFeRD/ProfileExtendedTest.php @@ -2,41 +2,41 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\CreditorFinancialAccount; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentContextParameter; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentLineDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Id; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Period; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Quantity; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\ReferencedDocument; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeLineItem; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeCountry; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePrice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeProduct; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementLineMonetarySummation; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementPaymentMeans; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\UniversalCommunication; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\CreditorFinancialAccount; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentContextParameter; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DocumentLineDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Id; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\LineTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Note; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Period; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Quantity; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\ReferencedDocument; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeLineItem; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeCountry; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePaymentTerms; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradePrice; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeProduct; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementLineMonetarySummation; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementPaymentMeans; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeTax; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\UniversalCommunication; +use easybill\eInvoicingTests\Validators\SchemaValidator; test( 'building ZUGFeRD CII document for EXTENDED_InnergemeinschLieferungMehrereBestellungen.xml', diff --git a/tests/Integration/ZUGFeRD/ProfileMinimumTest.php b/tests/Integration/ZUGFeRD/ProfileMinimumTest.php index 98bc9a2..1f4ab09 100644 --- a/tests/Integration/ZUGFeRD/ProfileMinimumTest.php +++ b/tests/Integration/ZUGFeRD/ProfileMinimumTest.php @@ -2,21 +2,21 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; - -use Easybill\eInvoicing\DocumentFactory; -use Easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; -use Easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; + +use easybill\eInvoicing\DocumentFactory; +use easybill\eInvoicing\Specs\ZUGFeRD\Enums\ZUGFeRDProfileType; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\Amount; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\DateTime; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeAgreement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeDelivery; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\HeaderTradeSettlement; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\SupplyChainTradeTransaction; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TaxRegistration; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeAddress; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeParty; +use easybill\eInvoicing\Specs\ZUGFeRD\Models\TradeSettlementHeaderMonetarySummation; +use easybill\eInvoicingTests\Validators\SchemaValidator; test( 'building ZUGFeRD cii document for MINIMUM_Rechnung.xml', diff --git a/tests/Integration/ZUGFeRD/ReaderAndTransformerTest.php b/tests/Integration/ZUGFeRD/ReaderAndTransformerTest.php index 345d119..2077a8f 100644 --- a/tests/Integration/ZUGFeRD/ReaderAndTransformerTest.php +++ b/tests/Integration/ZUGFeRD/ReaderAndTransformerTest.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Integration\ZUGFeRD; +namespace easybill\eInvoicingTests\Integration\ZUGFeRD; -use Easybill\eInvoicing\Specs\ZUGFeRD\Reader; -use Easybill\eInvoicing\Specs\ZUGFeRD\Transformer; +use easybill\eInvoicing\Specs\ZUGFeRD\Reader; +use easybill\eInvoicing\Specs\ZUGFeRD\Transformer; test( 'building and reading different xml formats', diff --git a/tests/Pest.php b/tests/Pest.php index ad3f9c2..a1cd8b2 100644 --- a/tests/Pest.php +++ b/tests/Pest.php @@ -2,6 +2,6 @@ declare(strict_types=1); -use Easybill\eInvoicingTests\TestCase; +use easybill\eInvoicingTests\TestCase; uses(TestCase::class)->in('Integration'); diff --git a/tests/TestCase.php b/tests/TestCase.php index 07b09bd..2af7ef6 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests; +namespace easybill\eInvoicingTests; -use Easybill\eInvoicingTests\Validators\Traits\AssertXmlOutputTrait; -use Easybill\eInvoicingTests\Validators\Traits\ReformatXmlTrait; -use Easybill\eInvoicingTests\Validators\Traits\RemoveXmlMutatesTrait; -use Easybill\eInvoicingTests\Validators\Traits\ValidatorTrait; +use easybill\eInvoicingTests\Validators\Traits\AssertXmlOutputTrait; +use easybill\eInvoicingTests\Validators\Traits\ReformatXmlTrait; +use easybill\eInvoicingTests\Validators\Traits\RemoveXmlMutatesTrait; +use easybill\eInvoicingTests\Validators\Traits\ValidatorTrait; use PHPUnit\Framework\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase diff --git a/tests/Validators/KositValidator.php b/tests/Validators/KositValidator.php index 25d054f..93a6e1b 100644 --- a/tests/Validators/KositValidator.php +++ b/tests/Validators/KositValidator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators; +namespace easybill\eInvoicingTests\Validators; use GuzzleHttp\Client; use GuzzleHttp\RequestOptions; @@ -18,8 +18,8 @@ public function validate(string $xml): ?string 'Content-Type' => 'application/xml', ], RequestOptions::BODY => $xml, - RequestOptions::TIMEOUT => 3, - RequestOptions::CONNECT_TIMEOUT => 3, + RequestOptions::TIMEOUT => 10, + RequestOptions::CONNECT_TIMEOUT => 10, RequestOptions::HTTP_ERRORS => false, ]); diff --git a/tests/Validators/PeppolValidator.php b/tests/Validators/PeppolValidator.php index 082ea5b..c581aec 100644 --- a/tests/Validators/PeppolValidator.php +++ b/tests/Validators/PeppolValidator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators; +namespace easybill\eInvoicingTests\Validators; use GuzzleHttp\Client; use GuzzleHttp\RequestOptions; @@ -18,8 +18,8 @@ public function validate(string $xml): ?string 'Content-Type' => 'application/xml', ], RequestOptions::BODY => $xml, - RequestOptions::TIMEOUT => 3, - RequestOptions::CONNECT_TIMEOUT => 3, + RequestOptions::TIMEOUT => 10, + RequestOptions::CONNECT_TIMEOUT => 10, RequestOptions::HTTP_ERRORS => false, ]); diff --git a/tests/Validators/SchemaValidator.php b/tests/Validators/SchemaValidator.php index e725dc9..d446030 100644 --- a/tests/Validators/SchemaValidator.php +++ b/tests/Validators/SchemaValidator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators; +namespace easybill\eInvoicingTests\Validators; final class SchemaValidator { diff --git a/tests/Validators/Traits/AssertXmlOutputTrait.php b/tests/Validators/Traits/AssertXmlOutputTrait.php index fe1a361..0001616 100644 --- a/tests/Validators/Traits/AssertXmlOutputTrait.php +++ b/tests/Validators/Traits/AssertXmlOutputTrait.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators\Traits; +namespace easybill\eInvoicingTests\Validators\Traits; -use Easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; -use Easybill\eInvoicing\Specs\XRechnung\CII\Transformer as XRechnungTransformer; -use Easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; -use Easybill\eInvoicing\Specs\ZUGFeRD\Transformer as ZUGFeRDTransformer; -use Easybill\eInvoicingTests\Validators\SchemaValidator; +use easybill\eInvoicing\Specs\XRechnung\CII\Documents\XRechnungCiiInvoice; +use easybill\eInvoicing\Specs\XRechnung\CII\Transformer as XRechnungTransformer; +use easybill\eInvoicing\Specs\ZUGFeRD\Documents\ZUGFeRDInvoice; +use easybill\eInvoicing\Specs\ZUGFeRD\Transformer as ZUGFeRDTransformer; +use easybill\eInvoicingTests\Validators\SchemaValidator; trait AssertXmlOutputTrait { diff --git a/tests/Validators/Traits/ReformatXmlTrait.php b/tests/Validators/Traits/ReformatXmlTrait.php index 85223d3..7e48a61 100644 --- a/tests/Validators/Traits/ReformatXmlTrait.php +++ b/tests/Validators/Traits/ReformatXmlTrait.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators\Traits; +namespace easybill\eInvoicingTests\Validators\Traits; trait ReformatXmlTrait { diff --git a/tests/Validators/Traits/RemoveXmlMutatesTrait.php b/tests/Validators/Traits/RemoveXmlMutatesTrait.php index 7be6566..1f3d1bb 100644 --- a/tests/Validators/Traits/RemoveXmlMutatesTrait.php +++ b/tests/Validators/Traits/RemoveXmlMutatesTrait.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators\Traits; +namespace easybill\eInvoicingTests\Validators\Traits; trait RemoveXmlMutatesTrait { diff --git a/tests/Validators/Traits/ValidatorTrait.php b/tests/Validators/Traits/ValidatorTrait.php index 16607dd..1fbde4a 100644 --- a/tests/Validators/Traits/ValidatorTrait.php +++ b/tests/Validators/Traits/ValidatorTrait.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace Easybill\eInvoicingTests\Validators\Traits; +namespace easybill\eInvoicingTests\Validators\Traits; -use Easybill\eInvoicingTests\Validators\KositValidator; -use Easybill\eInvoicingTests\Validators\PeppolValidator; +use easybill\eInvoicingTests\Validators\KositValidator; +use easybill\eInvoicingTests\Validators\PeppolValidator; trait ValidatorTrait {