[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 #5 from Remi Collet <fedora@xxxxxxxxxxxxxxxxx> ---
Additional notice: in composer.json upstream have

    "autoload": {
        "psr-4": {
            "Gettext\\": "src"
        }
    }

Which means this is PSR-4, and this is what consumer projects will rely on. So,
their autoloader is NOT used (probably there for compatibility).

If upstream expect we use their autoloader, they will have

    "autoload": {
        "files": ["src/autoloader.php"],
    }

Perhaps, a way could be to provide both autoloaders:

/usr/share/php/Gettext/autoloader.php 
  => the upstream one, unused

/usr/share/php/Gettext/autoload.php
  => using fedora autoloader (above ex), used in fedora packaging

-- 
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]