All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Test PHP 8.5 and improve tests
- Require Twig
^3.22andphpmyadmin/twig-i18n-extension^4.1.5
- Drop PHP 7.2, 7.3, 7.4, 8.0
- Remove test files from the vendor tarball
- Drop phpunit support < 10
- Support phpunit 10, 11, 12
- Require Twig 3.20
- Change
BasePlugin::__constructsignature to__construct(array $options = [])(make$optionsoptional) - Add
getTranslationsandsetTranslationstoMoReaderclass - Add a new even simpler example using
setTranslations - Remove options array sent to
MoReader, it was useless
- Use
phpmyadmin/twig-i18n-extensionfor Twig translation tag and pipe support - Drop Twig 2
- Support Twig 3
- Drop PHP 7.1
- Require PHP
>=7.2.9 - Add
Launcher::setPlugin($moReader); - Remove direct access to
Launcher::$plugin - Applied
wdes/coding-standardon the code-base
- Add support for PHP 8.0
- Add support for phpunit 8 and 9
- Add a .gitattributes file
- Improved code coverage
- Upgraded squizlabs/php_codesniffer from 3.3.x to 3.5.x
- Upgraded phpstan/phpstan from 0.11.8+ to 0.12+
- BREAKING CHANGE rename namespace to Wdes\phpI18nL10n
- Test phpunit suite
- .editorconfig for *.neon files
- twig/extensions dependency
- TravisCI setup
- scripts directory from dist version
- dev files from dist version
- example from dist version
- Utils class
- CI scripts
- Some useless files
v1.0.0 - 2019-06-08
- First stable version