Repository navigation
Fix the PHPStan and test jobs, drop the Smarty parts - #25
Merged
Merged
Conversation
…s gone since 2.3.4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What failed on main:
@var ActiveRecordInterface $thisin the model event trait (24), the skeleton models of the droppedcredit_note_versiontable (2), an undefined$orderIdinperformCustomer(1).CreditNoteTableMap::COL_INVOICE_ADDRESS_IDundefined): the listener unit test declares a stub of the table map when the generated class is not autoloadable yet, and the stub then replaced the generated map for the integration tests of the same run. The schema and the generated models were consistent; the models are generated at build, none is committed. One test also assumed a demo shop (French default language).Changes:
tests/bootstrap.phpmapsvar/propel/test/modelbefore the first kernel boot, so the generated map is found instead of the stub.CreditNoteDocumentLocaleTestsets the default language it relies on, inside its transaction.$thisasActiveRecordInterface.performCustomerloses its order branch, which could never run ($orderIdwas never read from the form;performOrderalready sets the customer from the order).credit_note_format_addressplugin,templates/backOffice/default/**,templates/pdf/default/credit-note.html,TemplateFallbackTraitof the back-office hooks. Every removed template has a Twig counterpart (back-officedefault-twig, the PDF themecredit-note.html.twig).credit-note-version(table dropped in 2.3.4, models were dead), andcredit-note-comment,credit-note-status,credit-note-type,order-credit-note, which no Twig template calls.credit-note,credit-note-address,credit-note-detailstay, the PDF document reads them.