flaupretre / pecl-pcs

PHP Code Service
Other
25 stars 4 forks source link

PCS autoloaded classes can be overriden by user code #5

Closed flaupretre closed 8 years ago

flaupretre commented 8 years ago

Today, PCS registers its autoloader using spl_autoload_register(). Unfortunately, composer then registers the application's autoloader using the 'prepend' flag. So, when a unknown symbol is referenced, the application autoloader is called first.

Consequences :

Solution to investigate :