Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v 2.0.0 #60

Merged
merged 51 commits into from
Mar 11, 2024
Merged

v 2.0.0 #60

merged 51 commits into from
Mar 11, 2024

Conversation

BolZer
Copy link
Member

@BolZer BolZer commented Feb 29, 2024

Description

The project is completely updated with this pull request. On the one hand, PHP versions that are no longer officially supported are also no longer supported by this project. Furthermore, the annotations have been removed from the project and replaced by attributes. In order to continue to provide a good and reliable solution, the PHP files have been given the statement "declare(strict_types=1);" to avoid strange behavior with PHP types.

Features

  • Adds ZUGFeRD 2.2 Schemas and Examples for Tests
  • Change the used namespace for ZUGFeRD 2 from Easybill\ZUGFeRD211 to Easybill\ZUGFeRD2
  • Updates Dependencies
  • Introduces PHPStan
  • Drops deprecated PHP Version 7.4. Minimum PHP Version is 8.1
  • Updates github action workflows to reflect on the changes on the PHP version
  • Lowers the used PHP version in github actions to 8.1
  • Replaces Annotation with attributes
  • Adds "declare(strict_types=1);" to every PHP file.

Fixes

Includes

@BolZer BolZer self-assigned this Feb 29, 2024
Make phpstan ignore zugferd10
Fix issue in DocumentLineDocument with the type of the notes property
@guillaume-sainthillier
Copy link
Contributor

Btw if this PR is merged I will be happy to create a PR to update zugferd to 2.2 and add a lot of more tests (see https://github.com/silarhi/zugferd-factur-x/pull/5/files)

@BolZer BolZer marked this pull request as draft March 1, 2024 11:44
BolZer and others added 9 commits March 1, 2024 12:48
Add BillingSpecifiedPeriod to HeaderTradeSettlement
Add new test case to test BillingSpecifiedPeriod and various new things that will be added
Add "own" reference file for the new test.
…rOrderReferencedDocument, ContractReferencedDocument and AdditionalReferencedDocument
Add fields ExemptionReasonCode, TaxPointDate, DueDateTypeCode to TradeTax
Change Test to include TradeTax with Category G (Export out of eu) and the appropriate vatex exemption reason code
@BolZer BolZer requested a review from PATROMO March 8, 2024 14:38
@BolZer BolZer marked this pull request as ready for review March 8, 2024 14:38
@BolZer
Copy link
Member Author

BolZer commented Mar 8, 2024

Btw if this PR is merged I will be happy to create a PR to update zugferd to 2.2 and add a lot of more tests (see https://github.com/silarhi/zugferd-factur-x/pull/5/files)

Sorry for the late Response. ZUGFeRD was updated with this PR to 2.2. However, I would be extremely grateful if you could create a PR with different tests. If you got the spare time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants