Skip to content

new line inserted at start for every response when MopaBootstrapBundle included with Symfony 4 #1239

@PaddyLock

Description

@PaddyLock

It took me a while to track down the source of this issue, but I was getting a new blank line at the start of every response returned, even debug error pages and JSON responses. I narrowed it down to including the MopaBootstrapBundle. I am using Symfony 4.1. If I edit the file Mopa\Bundle\BootstrapBundle\MopaBootstrapBundle and comment out the line

use Symfony\Component\HttpKernel\Bundle\Bundle;

and remove extends Bundle then the blank line disappears. However, this is the only bundle this affects, so I'm not sure where the actual error is happening. At the moment this bundle is unusable with Symfony 4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions