SideEffects
Ensures a file declares new symbols and causes no other side effects, or executes logic with side effects, but not both.
Scope
PSR1.Files.SideEffects
Description
A php file should either contain declarations with no side effects, or should just have logic (including side effects) with no declarations.
Usage
xml
<rule ref="PSR1.Files.SideEffects"></rule>
Examples
No Examples Available
Please edit this page through Github to add examples.