[Bug 1414216] Review Request: php-gettext-gettext - PHP gettext manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1414216



--- Comment #6 from Randy Barlow <randy@xxxxxxxxxxxxxxxxxxxxx> ---
Hello Remi!

I've added your example autoloader. When I don't skip the twig related tests, I
see this error:


+ phpunit --bootstrap tests/bootstrap.php --filter '^((?!(testBlade)).)*$'
PHPUnit 5.7.5 by Sebastian Bergmann and contributors.

.........E....................................................... 65 / 83 (
78%)
..................                                                83 / 83
(100%)

Time: 96 ms, Memory: 6.00MB

There was 1 error:

1) Gettext\Tests\AssetsTest::testTwig
Error: Class 'Twig_Loader_String' not found

/home/rbarlow/rpmbuild/BUILDROOT/php-gettext-gettext-3.5.9-3.fc26.x86_64/usr/share/php/Gettext/Gettext/Extractors/Twig.php:38
/home/rbarlow/rpmbuild/BUILDROOT/php-gettext-gettext-3.5.9-3.fc26.x86_64/usr/share/php/Gettext/Gettext/Extractors/Twig.php:26
/home/rbarlow/rpmbuild/BUILDROOT/php-gettext-gettext-3.5.9-3.fc26.x86_64/usr/share/php/Gettext/Gettext/Extractors/Extractor.php:18
/home/rbarlow/rpmbuild/BUILDROOT/php-gettext-gettext-3.5.9-3.fc26.x86_64/usr/share/php/Gettext/Gettext/Translations.php:170
/home/rbarlow/rpmbuild/BUILDROOT/php-gettext-gettext-3.5.9-3.fc26.x86_64/usr/share/php/Gettext/Gettext/Translations.php:149
/home/rbarlow/rpmbuild/BUILD/Gettext-8da2f94538a2250275bb86b431c51e31e256e1e1/tests/AbstractTest.php:42
/home/rbarlow/rpmbuild/BUILD/Gettext-8da2f94538a2250275bb86b431c51e31e256e1e1/tests/AssetsTest.php:376

ERRORS!
Tests: 83, Assertions: 673, Errors: 1.


Perhaps the Twig autoloader doesn't load /usr/share/php/Twig/Loader (which is
where this class is)? What do you think?

Here is another build that has your suggested autoload.php but still skips the
Twig tests:

Spec URL: https://bowlofeggs.fedorapeople.org/php-gettext-gettext.spec
SRPM URL:
https://bowlofeggs.fedorapeople.org/php-gettext-gettext-3.5.9-3.fc26.src.rpm

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]