Skip to content

Commit

Permalink
Require SimpleXML
Browse files Browse the repository at this point in the history
Since the code uses functions from the SimpleXML module
(simplexml_load_string), it should require it. Some distributions split
SimpleXML in a separate package (as Debian recently did), so being
explicit about used modules is helpful.

Bug-Debian: https://bugs.debian.org/816248
  • Loading branch information
DavidPrevot committed Mar 2, 2016
1 parent fd4cddc commit eb79bde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@
"require": {
"php": ">=5.1.2",
"ext-tokenizer": "*",
"ext-xmlwriter": "*"
"ext-xmlwriter": "*",
"ext-simplexml": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
Expand Down

0 comments on commit eb79bde

Please sign in to comment.