Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1640263

Summary: Autoloader is broken
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: php-jdorn-sql-formatterAssignee: Remi Collet <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: shawn
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: php-jdorn-sql-formatter-1.2.17-9.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 17:29:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Remi Collet 2018-10-17 17:24:01 UTC
Reproducer:


$ php -r 'require "/usr/share/php/jdorn-sql-formatter/autoload.php"; $a = new SqlFormatter;'
PHP Fatal error:  Uncaught Error: Class 'SqlFormatter' not found in Command line code:1
Stack trace:
#0 {main}
  thrown in Command line code on line 1



FYI PSR4 doesn't work without namespace.

Comment 1 Fedora Update System 2018-10-17 17:33:52 UTC
php-jdorn-sql-formatter-1.2.17-9.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ecd2a69e6c

Comment 2 Fedora Update System 2018-10-17 23:31:53 UTC
php-jdorn-sql-formatter-1.2.17-9.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ecd2a69e6c

Comment 3 Fedora Update System 2018-10-30 17:29:28 UTC
php-jdorn-sql-formatter-1.2.17-9.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.