2.4 KiB
2.4 KiB
TYPO3 Updates
Talk about TYPO3 updates at TYPO3 user group Rhine Ruhr 2024. There are no slides, this is a collection of all the sources.
I'll go over the sources and show some parts hands on on real world project.
Update vs. Upgrade
See: https://daniel-siepmann.de/typo3-update.html#updateVsUpgrade
- Prepare project setup ( https://daniel-siepmann.de/typo3-update.html#properSetup )
- Do the update ( https://daniel-siepmann.de/typo3-update.html#theUpdate )
Tooling
- Rector
- Automated tests
- PHPStan
- Crawl frontend URLs and check TYPO3 log
- Compare frontend output
Ease updates for the future
- Follow TYPO3 commits
- Follow TYPO3 blogs, e.g.
- https://packagist.org/packages/staabm/phpstan-todo-by
- Decouple from dependencies
- Write automated tests (functional and end to end)
- Contribute back
- Create issues
- Share patches
Concrete example
- Reuter v12
- https://github.com/werkraum-media/events
Sources
Own sources
- https://daniel-siepmann.de/typo3-update.html
- https://daniel-siepmann.de/prepare-legacy-code-for-upcoming-typo3-versions.html
- https://daniel-siepmann.de/typo3-composer-best-practices.html
- https://daniel-siepmann.de/auto-migrate-php-code-via-configuration.html
- https://daniel-siepmann.de/posts/2017/using-php-codesniffer-for-automated-code-migrations.html prior rector
Official sources
- https://docs.typo3.org/c/typo3/cms-core/main/en-us/Index.html
- https://docs.typo3.org/Home/UpgradingTYPO3.html
Community sources
- https://packagist.org/packages/ichhabrecht/core-upgrader
- https://packagist.org/packages/ssch/typo3-rector
- https://github.com/lolli42/dbdoctor
- https://github.com/peter-neumann-dev/ddev-cms-upgrader
- https://github.com/ElementareTeilchen/upgrader
- https://packagist.org/packages/saschaegerer/phpstan-typo3
- https://github.com/Tuurlijk/typo3scan
Additional sources