Skip to content

Commit eaa07b4

Browse files
committed
Follow up on #72 / escape messages in CheckstyleOutput
* Minor tweak to allow CS to pass. * Enable SimpleXML for the PHP 5.3-5.5 tests.
1 parent 9ab2750 commit eaa07b4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/Output.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class OutputTest extends Tester\TestCase
6262

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

6768
Assert::contains("unexpected '"'", $xml);

tests/php5.3-5.5.ini

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[PHP]
22

33
extension=json.so
4+
extension=simplexml.so
45
extension=tokenizer.so
56

67
memory_limit=512M

0 commit comments

Comments
 (0)