Skip to content
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

Remove extraneous require statements #149

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

itismadness
Copy link
Contributor

Removes two require('vendor/autoload.php'); statements from the source code, as it should be up to the user of this library to handle setting up the composer autoload, not the library itself. Having these requires breaks trying to use this library for people who's working directory is not the root of their project where composer installs the dependencies, and then doing require('vendor/autoload.php') will not work due to the nature of relative pathing.

These statements were introduced in #141 though I am not sure why, and they were only introduced to two classes vs everywhere within the library.

@serhack serhack merged commit 2778239 into monero-integrations:master Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants