========================== Rule ``single_line_throw`` ========================== Throwing exception must be done in single line. Examples -------- Example #1 ~~~~~~~~~~ .. code-block:: diff --- Original +++ New `_ References ---------- - Fixer class: `PhpCsFixer\\Fixer\\FunctionNotation\\SingleLineThrowFixer <./../../../src/Fixer/FunctionNotation/SingleLineThrowFixer.php>`_ - Test class: `PhpCsFixer\\Tests\\Fixer\\FunctionNotation\\SingleLineThrowFixerTest <./../../../tests/Fixer/FunctionNotation/SingleLineThrowFixerTest.php>`_ The test class defines officially supported behaviour. Each test case is a part of our backward compatibility promise.