-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EQPS-477: SVC Enhancements #26
Conversation
5680c92
to
da36c25
Compare
…the location of the ‘vendor’ folder
@@ -5,7 +5,12 @@ | |||
* See COPYING.txt for license details. | |||
*/ | |||
|
|||
require __DIR__ . '/../vendor/autoload.php'; | |||
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we do something if no autoload.php file was found?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's critical but we can throw an exception and suggest the user run the composer command. I don't see a scenario where the autoload.php file would be anywhere else.
* Update README.md: Add information about releases and versioning * COMOPS-908: Updating compatibility with the BIC doc generator (#25) * EQPS-477: SVC Enhancements (#26) * EQPS-477: Dynamically set the correct path for autoload.php based on the location of the ‘vendor’ folder * EQPS-477: Make zend-stdlib a required dependency Co-authored-by: Peter Dohogne <pdohogne@adobe.com>
[Arrows] MC-40411: SVC false-positive: removing the leading slash from a class name in di.xml
Description
EQPS-477: SVC Enhancements to allow SVC tests on EQP submissions.
develop
andmaster
README.md
files.zendframework/zend-stdlib
as a required dependency instead of dev.autoload.php
file whether running the tool independently or as a dependency.Manual testing scenarios
Contribution checklist