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

3.x config for page-builder is reported as invalid according to lint:container

    XMLWordPrintable

Details

    Description

      Issue

      1. bin/console lint:container
      [ERROR] Invalid definition for service "EzSystems\EzPlatformPageBuilderBundle\Controller\PageController": argument 22
      of "EzSystems\EzPlatformPageBuilderBundle\Controller\PageController::__construct" accepts
      "JMS\Serializer\Serializer", "EzSystems\EzPlatformPageBuilder\PageBuilder\Timeline\Serializer" passed.
      
      

      Possible fix
      Correct class name being hinted, or hint using interface if we are agnostic.

      Besides fixing this, to avoid it in the future we should setup Githib Action to lint container config.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.romcke-obsolete@ez.no André Rømcke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: