123456789101112131415161718 |
- --TEST--
- Integration of fixers: single_line_throw,braces.
- --RULESET--
- {"braces": true, "single_line_throw": true}
- --EXPECT--
- <?php
- throw new class() extends Exception {
- protected $message = "Custom message";
- };
- --INPUT--
- <?php
- throw
- new class()
- extends Exception
- {
- protected $message = "Custom message";
- };
|