- Add support for PHP 8.3
- Add support for Symfony 7
- Drop support for PHP < 8.1
- Drop support for Symfony < 5.4 and 6.1, 6.2, and 6.3
- Drop support for Twig < 2
- Drop support for Symfony < 4.4
- Add support for Symfony ^6.0
- Run tests on PHP 8.1
- Run tests on PHP 8.2
- Add PHAR generation to use the library in CLI context
- Automatically generate a GitHub release when a new tag is pushed
- Automatically add PHAR to GitHub release
- Drop support for PHP < 7.4
- Switch from Travis to GitHub Action
- Bump
org_heigl/hyphenator
to 2.6.1 - Drop support for PHP < 7.2
- drop Symfony 2 support for the Bundle
- add Symfony 5 support for the Bundle
- better tests
- fix a full DOM dump error occurring on Ubuntu PHP 7.3
- add an exception for "de-ch" SmartQuote style
- fix deprecation messages in Symfony
- fix Bundle namespace
- PHP minimum required version is now 5.6
- add built-in support for Symfony and Twig
- fix PHP CS Fixer configuration and version
- fix #30 deprecate the PHP 7 reserved word Numeric class in favor of Unit
- fix #28, NoSpaceBeforeComma should not change spaces inside digits
- add Numeric fixer, adding NoBreakSpace between numeric and their units, fix #15
- PSR2 and Symfony coding standard applied everywhere
- add
fixString
method to bypass the DomDocument parsing and directly run the fixers on a string - better handling of common spaces in texts to fix (do not use
\s
anymore) ⚠️ replaceEnglishQuotes
,FrenchQuotes
,GermanQuotes
by the newSmartQuotes
! A BC layer is provided.
- new NoSpaceBeforeComma fixer, cleaning badly placed spaces close to commas
- add NoBreakSpace inside french quotes automatically
- add HHVM tests on travis
- add libxml to composer requirements
- set APC 3.1.11 as conflict (https://bugs.php.net/bug.php?id=62190)
- do not process empty contents
- apply
mb_convert_encoding($content, 'HTML-ENTITIES', $encoding)
on all contents to fix encoding - workaround for old (2.6.32) libxml versions (#7)
- better Org_Heigl_Hyphenator version requirement
- test on PHP 5.5 ok
- better error messages
- fix edge case when the opening quote in right after an
(
- regexp was capturing UTF8 sequence, some octets were eaten in some cases. Added the "u" modifier to disable this feature from the preg_replace function
- Fix Org_Heigl_Hyphenator version to >= v2.0.3 (issue with spaces in the previous ones)
- Fix double quote mess on complex DOM, the sibling fixer was runned after the simple regexp, so his own regexp were useless
fixViaState
only replace the first matching occurrence, fix issue on multi-lines DOMText- Add GermanQuotes fixer
- Initial release, ready for test and production