Skip to content

Commit 178e68c

Browse files
committed
Add filter to required extensions and filter_var() to required functions
1 parent ab7d316 commit 178e68c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

amp.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
'DOMXPath',
6565
),
6666
),
67+
'filter' => array(
68+
'functions' => array(
69+
'filter_var',
70+
),
71+
),
6772
// Required by PHP-CSS-Parser.
6873
'iconv' => array(
6974
'functions' => array( 'iconv' ),

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"ext-curl": "*",
1010
"ext-date": "*",
1111
"ext-dom": "*",
12+
"ext-filter": "*",
1213
"ext-iconv": "*",
1314
"ext-json": "*",
1415
"ext-libxml": "*",

0 commit comments

Comments
 (0)