Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23791

Documentation: warn in composer dump-autoload --optimize

    XMLWordPrintable

    Details

      Description

      If you try to execute "_composer dump-autoload --optimize_", you will get the following warn

      Generating optimized autoload files
      Warning: Ambiguous class resolution, "StashSessionSessionHandlerInterface" was found in both
      "/var/www/sites/5.4/vendor/tedivm/stash/src/Stash/Session/SessionHandlerInterface_Legacy.php"
      and "/var/www/sites/5.4/vendor/tedivm/stash/src/Stash/Session/SessionHandlerInterface_Modern.php",
      the first will be used.

      Please add a note in Using composer documentation page explaining:

      1. If such warnings can be ignored
      2. If it's advisable or not to use "_composer dump-autoload --optimize_" and why

      Warning is caused by https://github.com/tedious/Stash/issues/181

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h