Package: php-oscarotero-gettext / 4.8.12-1

Metadata

Package Version Patches format
php-oscarotero-gettext 4.8.12-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 tests bootstrap.php Remove obsolete property setting.patch | (download)

tests/bootstrap.php | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

 tests/bootstrap.php: remove obsolete property setting

0002 Support PHPUnit 7.patch | (download)

tests/MergeEntriesTest.php | 2 1 + 1 - 0 !
tests/MergeHeadersTest.php | 2 1 + 1 - 0 !
tests/MergeTranslationsTest.php | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 support phpunit 7+

0003 tests AssetsTest.php Remove test of Blade extractor.patch | (download)

tests/AssetsTest.php | 36 0 + 36 - 0 !
1 file changed, 36 deletions(-)

 tests/assetstest.php: remove test of blade extractor

Blade extractor is provided by php-illuminate-view, which is not
packaged in Debian currently. Other extractors such as Twig and Yaml
are available.

0004 Adapt to recent version of PHPUnit 9.patch | (download)

tests/LocalesTest.php | 4 1 + 3 - 0 !
tests/TranslatorTest.php | 4 1 + 3 - 0 !
2 files changed, 2 insertions(+), 6 deletions(-)

 adapt to recent version of phpunit (9)


0005 Remove twig support.patch | (download)

src/Extractors/Twig.php | 45 0 + 45 - 0 !
tests/AbstractTest.php | 1 0 + 1 - 0 !
tests/AssetsTest.php | 40 0 + 40 - 0 !
tests/assets/twig/Csv.csv | 19 0 + 19 - 0 !
tests/assets/twig/CsvDictionary.csv | 10 0 + 10 - 0 !
tests/assets/twig/Jed.json | 39 0 + 39 - 0 !
tests/assets/twig/Json.json | 41 0 + 41 - 0 !
tests/assets/twig/JsonDictionary.json | 12 0 + 12 - 0 !
tests/assets/twig/Mo.mo | 9 0 + 9 - 0 !
tests/assets/twig/PhpArray.php | 62 0 + 62 - 0 !
tests/assets/twig/Po.po | 52 0 + 52 - 0 !
tests/assets/twig/Xliff.xlf | 116 0 + 116 - 0 !
tests/assets/twig/Yaml.yml | 16 0 + 16 - 0 !
tests/assets/twig/YamlDictionary.yml | 10 0 + 10 - 0 !
tests/assets/twig/input.php | 26 0 + 26 - 0 !
15 files changed, 498 deletions(-)

 remove twig support

0007 Relax development dependency version.patch | (download)

composer.json | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 relax development dependency version

dh_composer was not able to parse the original version expression.

0008 Rename AbstractTest to AbstractTestCase for phpunit .patch | (download)

tests/AbstractTest.php | 96 0 + 96 - 0 !
tests/AbstractTestCase.php | 96 96 + 0 - 0 !
tests/AssetsTest.php | 2 1 + 1 - 0 !
tests/LocalesTest.php | 2 1 + 1 - 0 !
tests/MergeEntriesTest.php | 2 1 + 1 - 0 !
tests/MergeHeadersTest.php | 2 1 + 1 - 0 !
tests/MergeTranslationsTest.php | 2 1 + 1 - 0 !
tests/StringsTest.php | 2 1 + 1 - 0 !
tests/TranslationTest.php | 2 1 + 1 - 0 !
tests/TranslationsTest.php | 2 1 + 1 - 0 !
tests/TranslatorTest.php | 2 1 + 1 - 0 !
11 files changed, 105 insertions(+), 105 deletions(-)

 rename abstracttest to abstracttestcase for phpunit 10


0009 Make dataProviders static.patch | (download)

tests/StringsTest.php | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 make dataproviders static


0010 Migrate phpunit XML config.patch | (download)

phpunit.xml | 24 13 + 11 - 0 !
1 file changed, 13 insertions(+), 11 deletions(-)

 migrate phpunit xml config


0011 tests Drop yaml tests.patch | (download)

tests/AssetsTest.php | 44 0 + 44 - 0 !
1 file changed, 44 deletions(-)

 tests: drop yaml tests

They are failing with php-symfony 6 due to minor changes in the output
(double-quoted strings vs single-quoted strings). The only reverse dependency
currently (shaarli) does not use any extractors or generators from this
package. So it is not an important feature currently.

0012 Modernize PHPUnit syntax.patch | (download)

tests/StringsTest.php | 17 5 + 12 - 0 !
1 file changed, 5 insertions(+), 12 deletions(-)

 modernize phpunit syntax


0012 Skip VueJs tests for Debian package.patch | (download)

tests/AssetsTest.php | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 skip vuejs tests for debian package

- I have no idea why it is suddenly failing.
- VueJs extractor is not used by any package.