Skip to content

Commit

Permalink
Follow up on #72 / escape messages in CheckstyleOutput
Browse files Browse the repository at this point in the history
* Minor tweak to allow CS to pass.
* Enable SimpleXML for the PHP 5.3-5.5 tests.
  • Loading branch information
jrfnl committed Dec 6, 2021
1 parent 9ab2750 commit eaa07b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/Output.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class OutputTest extends Tester\TestCase

$output->writeResult($result, new ErrorFormatter(), true);
$xml = $writer->getLogs();
// phpcs:ignore Generic.PHP.NoSilencedErrors -- Test only code, this is okay.
$parsed = @simplexml_load_string($xml);

Assert::contains("unexpected '"'", $xml);
Expand Down
1 change: 1 addition & 0 deletions tests/php5.3-5.5.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[PHP]

extension=json.so
extension=simplexml.so
extension=tokenizer.so

memory_limit=512M
Expand Down

0 comments on commit eaa07b4

Please sign in to comment.