================================= Rule ``no_unneeded_curly_braces`` ================================= Removes unneeded curly braces that are superfluous and aren't part of a control structure's body. Configuration ------------- ``namespaces`` ~~~~~~~~~~~~~~ Remove unneeded curly braces from bracketed namespaces. Allowed types: ``bool`` Default value: ``false`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New - true]``. .. code-block:: diff --- Original +++ New `_ with config: ``['namespaces' => true]`` - `@Symfony <./../../ruleSets/Symfony.rst>`_ with config: ``['namespaces' => true]``