« Previous | Next » 

Revision b196453b

Parent f3ab4e9f
Child e414c79c

Added by Martin Helmich about 7 years ago

[BUGFIX] PHP Notice when multiple namespace roots are set

The ``Package`` class triggers a PHP Notice when a composer manifest
contains several search paths for the same prefix (see [1])::

"autoload": {
"psr-0": {
"Foo\\": ["src/", "tests/"]

This commit changes the behaviour to using the first path as class
path when multiple paths are defined.

[1] https://getcomposer.org/doc/04-schema.md#psr-0

Resolves: FLOW-94
Change-Id: If33ba0cb4b3dd22c8543e2ee5f881967f342c372
Releases: master, 2.3, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted