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.
- Change
BasePlugin::__construct
signature to__construct(array $options = [])
(make$options
optional) - Add
getTranslations
andsetTranslations
toMoReader
class - Add a new even simpler example using
setTranslations
- Remove options array sent to
MoReader
, it was useless
- Use
phpmyadmin/twig-i18n-extension
for 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-standard
on 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