Skip to content

Commit

Permalink
feat: require twig/intl-extra and twig/extra-bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreyu committed Jul 24, 2023
1 parent fcabbbc commit 4405d74
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"symfony/translation": "^6.0",
"symfony/form": "^6.0",
"symfony/mime": "^6.0",
"symfony/twig-bundle": "^6.0"
"symfony/twig-bundle": "^6.0",
"twig/extra-bundle": "^3.6",
"twig/intl-extra": "^3.6"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
Expand Down
6 changes: 0 additions & 6 deletions docs/reference/columns/types/money.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,6 @@ For example, value `123456.78` will be rendered differently:
- `123 456,78` when using `pl` locale;
- etc.

!!! Note
When using Twig, enabling the Intl formatter without [`twig/intl-extra`](https://packagist.org/packages/twig/intl-extra) installed will result in an exception:

> The "format_currency" filter is part of the IntlExtension, which is not installed/enabled; try running "composer require twig/intl-extra"
!!!

### `intl_formatter_options`

- **type**: `array`
Expand Down
6 changes: 0 additions & 6 deletions docs/reference/columns/types/number.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ For example, value `123456.78` will be rendered differently:
- `123 456,78` when using `pl` locale;
- etc.

!!! Note
When using Twig, enabling the Intl formatter without [`twig/intl-extra`](https://packagist.org/packages/twig/intl-extra) installed will result in an exception:

> The "format_number" filter is part of the IntlExtension, which is not installed/enabled; try running "composer require twig/intl-extra"
!!!

### `intl_formatter_options`

- **type**: `array`
Expand Down

0 comments on commit 4405d74

Please sign in to comment.