Skip to content

Commit

Permalink
docs: Remove obsolete doc entry (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
theofidry authored Jun 15, 2024
1 parent 36b530c commit 7831a09
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- [Composer Autoloader](#composer-autoloader)
- [Composer Plugins](#composer-plugins)
- [PSR-0 Partial support](#psr-0-partial-support)
- [Files autoloading](#files-autoloading)
- [Exposing/Excluding traits](#exposingexcluding-traits)
- [Exposing/Excluding enums](#exposingexcluding-enums)
- [Declaring a custom namespaced function `function_exists()`](#declaring-a-custom-namespaced-function-function_exists)
Expand Down Expand Up @@ -238,19 +237,6 @@ transforming it to PSR-4, i.e. in the case above:
If this works for the classes under `src/JsonMapper/`, it will not for `JsonMapper.php`.


### Files autoloading

Currently, scoping autoloaded files, i.e. files registered to Composer via the
[`autoload.files`][autoload-files] setting only half work. Indeed, the scoping
itself works, but if your scoped code happen to try to load another Composer
based project with the same file, it will not. The problem identified is that
the Composer autoloader uses hash to know if a file has been loaded or not already.
Unfortunately, this hash is defined by the package and file name, which means
the scoped file and non-scoped file will have the same hash resulting in errors.

This is a limitation that should be fixable, check [#298] for the progress.


### Exposing/Excluding traits

There is currently no way to expose or exclude a trait. Since there is no
Expand Down

0 comments on commit 7831a09

Please sign in to comment.