Skip to content
On this page

LanguageConstructSpacing

Ensures all language constructs contain a single space between themselves and their content.

Scope

Squiz.WhiteSpace.LanguageConstructSpacing

Description

The php constructs echo, print, return, include, include_once, require, require_once, and new should have one space after them.

Usage

xml
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing"></rule>

Examples

No Examples Available

Please edit this page through Github to add examples.

Released under the MIT License.