|
9 | 9 | - [Composer Autoloader](#composer-autoloader) |
10 | 10 | - [Composer Plugins](#composer-plugins) |
11 | 11 | - [PSR-0 Partial support](#psr-0-partial-support) |
12 | | -- [Files autoloading](#files-autoloading) |
13 | 12 | - [Exposing/Excluding traits](#exposingexcluding-traits) |
14 | 13 | - [Exposing/Excluding enums](#exposingexcluding-enums) |
15 | 14 | - [Declaring a custom namespaced function `function_exists()`](#declaring-a-custom-namespaced-function-function_exists) |
@@ -238,19 +237,6 @@ transforming it to PSR-4, i.e. in the case above: |
238 | 237 | If this works for the classes under `src/JsonMapper/`, it will not for `JsonMapper.php`. |
239 | 238 |
|
240 | 239 |
|
241 | | -### Files autoloading |
242 | | - |
243 | | -Currently, scoping autoloaded files, i.e. files registered to Composer via the |
244 | | -[`autoload.files`][autoload-files] setting only half work. Indeed, the scoping |
245 | | -itself works, but if your scoped code happen to try to load another Composer |
246 | | -based project with the same file, it will not. The problem identified is that |
247 | | -the Composer autoloader uses hash to know if a file has been loaded or not already. |
248 | | -Unfortunately, this hash is defined by the package and file name, which means |
249 | | -the scoped file and non-scoped file will have the same hash resulting in errors. |
250 | | - |
251 | | -This is a limitation that should be fixable, check [#298] for the progress. |
252 | | - |
253 | | - |
254 | 240 | ### Exposing/Excluding traits |
255 | 241 |
|
256 | 242 | There is currently no way to expose or exclude a trait. Since there is no |
|
0 commit comments