thecodingmachine/class-explorer

chdir breaks in phars

withinboredom opened this issue · 0 comments

Due to some chdir's in GlobClassExplorer, this library doesn't work if running inside a phar file (it probably also causes issues when running in ReactPHP, AMP, or Swoole as changing the runtime's working directory could have interesting side effects for other code running asynchronously).