Files
dokuwiki/composer.json
Andreas Gohr db9267247e Replace strftime with Intl ICU. Fixes #3573
This uses a class that maps strftime placeholders to the appropriate ICU
patterns. I am using the fallback-intl branch here which provides an
English-only fallback when the intl extension is not available.

Core has only two places where strftime is used: dformat() and the
SimplePie feed parser. Both are adjusted with this patch. For the latter
a custom Item class had to be registered. For better separation all our
FeedParser classes have been moved to the Feed namespace where our
FeedCreator classes already reside.

Note that this will currently be a degration for users without intl as
it will fall back to date and not to the still available strftime.
2024-10-30 19:52:46 +01:00

36 lines
1.4 KiB
JSON

{
"name": "dokuwiki/dokuwiki",
"description": "DokuWiki is a simple to use and highly versatile Open Source wiki software that doesn't require a database",
"homepage": "https://www.dokuwiki.org",
"type": "project",
"license": "GPL v2",
"require": {
"php": ">=7.4",
"ext-json": "*",
"splitbrain/php-archive": "~1.0",
"phpseclib/phpseclib": "^3.0",
"simplepie/simplepie": "^1.4",
"geshi/geshi": "dev-master as 1.0.x-dev",
"openpsa/universalfeedcreator": "^1.8",
"aziraphale/email-address-validator": "^2",
"splitbrain/lesserphp": "^0.10",
"splitbrain/php-cli": "^1.1",
"splitbrain/slika": "^1.0",
"kissifrot/php-ixr": "^1.8",
"splitbrain/php-jsstrip": "^1.0",
"php81_bc/strftime": "dev-fallback-intl"
},
"config": {
"platform": {
"php": "7.4"
}
},
"suggest": {
"ext-mbstring": "The mbstring extension is highly recommended to speed up all UTF-8 handling",
"ext-intl": "The intl extension allows for better locale specific sorting",
"squizlabs/php_codesniffer": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
"phpunit/phpunit": "Allows automated tests to be run without system-wide install (only version 4-7 are supported)."
},
"prefer-stable": true
}