Deployer: Don't modify include_path

Created on 16 Oct 2018  路  2Comments  路  Source: deployphp/deployer

We recently came across a perplexing bug, where the cause was a different library using require 'autoload.php'; where they wanted to load the file in the same directory, but it was including your autoload file instead. I understand this would be a large breaking change for you, but I don't think you should be modifying include_path. It could be done in the next major release.

bug

Most helpful comment

Yes, I'm thinking about refactoring all this autoload part of deployer.

All 2 comments

Yes, I'm thinking about refactoring all this autoload part of deployer.

Fixed in master. Please verify.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jolipixel picture jolipixel  路  4Comments

timkley picture timkley  路  4Comments

krve picture krve  路  4Comments

exts picture exts  路  3Comments

JonasDoebertin picture JonasDoebertin  路  4Comments