escape_implicit_backslashes,single_quote.test 259 B

12345678910111213
  1. --TEST--
  2. Integration of fixers: escape_implicit_backslashes,single_quote.
  3. --RULESET--
  4. {"escape_implicit_backslashes": {"double_quoted": true}, "single_quote": true}
  5. --EXPECT--
  6. <?php
  7. $var = 'a\\b';
  8. $baz = "a\\'b";
  9. --INPUT--
  10. <?php
  11. $var = "a\b";
  12. $baz = "a\'b";