Skip to content

Commit

Permalink
issue #915: whitelist floor php function
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriim committed Dec 13, 2024
1 parent c61b76b commit c7f39de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions classes/local/provider/expression_provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function getFunctions(): array { // phpcs:ignore
ExpressionFunction::fromPhp('count', 'count'),
ExpressionFunction::fromPhp('format_time', 'format_time'),
ExpressionFunction::fromPhp('round', 'round'),
ExpressionFunction::fromPhp('floor', 'floor'),
ExpressionFunction::fromPhp('time', 'time'),
ExpressionFunction::fromPhp('userdate', 'userdate'),
ExpressionFunction::fromPhp('date', 'date'),
Expand Down

0 comments on commit c7f39de

Please sign in to comment.