Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed
getcwd()
usage from autoloader path discovery
As per discussion in Roave/BackwardCompatibilityCheck#91 (comment) (#91), the autoloader is in a fixed position, relative to the executable entry-point, so a `getcwd()` is unnecessary, and can actually lead to loading the wrong composer autoloader, which in turn may lead to loading analysed files, which is exactly what we want to avoid.
- Loading branch information