Be like #TYPODOG!
Allows you to create and manage a list of seminars, workshops, lectures, theater performances and other events, allowing front-end users to sign up. FE users also can create and edit events.
Prices are net values without any applicable VAT. Customers from Germany will get bills including VAT, others can get bills without VAT if they provide us with their VAT-ID.
The extension should work without error messages in the BE and FE, the automated tests should be green, and Travis should be green. The typo3scan package will report no errors (but lots of warnings) for target versions 8 and 9 (except for false positives). Not-so-clean workarounds and lots of deprecation warnings are to be expected, though. The extensions will not work in PHP 7.3 yet.
Running the extensions in the FE and BE in TYPO3 9 will create no deprecation warnings. Neither will running the automated tests. The code will be PSR-2-compliant, and the TypoScript will be linted with TSlint. The typo3scan will report no warnings for target versions 8 and 9 (except for false positives).
Dependencies on the old extensions phpunit, mkforms and rn_base are removed. Instead of the phpunit extension, nimut/testing-framework will be used. Instead of mkforms, extbase and fluid will be used for the forms. The dependency on static_info_tables will be optional.
The extensions seminars, onetimeaccount, oelib and static_info_tables will run without errors or warnings in PHP 7.3. For this, milestones 2 and 3 are strictly required first.
There are typed parameters whereever possible, strict mode is enabled for all class files, all comparisons are strict, and the PhpStorm code inspection has no valid warnings about type compatiblity, return types and PHP language level. In addition, the code is checked with phpstan and psalm. The phpstan and psalm checks require the conversion to namespaces first.
More parts of the code follow what an integrator or contributor would expect from a modern TYPO3 extension. Still, this is only a start, and lots of other places can be modernized as well.
© Copyright 2021 Cybercraft GmbH