Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1128 → Rev 1129

/trunk/dev/vendor_update.sh
105,6 → 105,10
# so we do not need to patch platform_check.php
sed -i 's@private function serialize($item): void@private function serialize($item)/*: void*/ // ViaThinkSoft: Removed ": void" for PHP 7.0 compatibility@g' plugins/viathinksoft/publicPages/100_whois/whois/json/vendor/aywan/php-json-canonicalization/src/Canonicalizator.php
 
# Fix PHP 8.0 deprecation warning
# see https://github.com/SergeyBrook/php-jws/pull/1
sed -i 's@openssl_pkey_free@if (version_compare(PHP_VERSION, \x278\.0\.0\x27) < 0) openssl_pkey_free@g' plugins/viathinksoft/publicPages/100_whois/whois/json/vendor/sergeybrook/php-jws/src/JWS/JwsRsa.php
 
# Fix symfony/polyfill-mbstring to make it compatible with PHP 8.2
# The author does know about the problem (I have opened a GitHub issue), but they did not sync it from the symfony main repo (as polyfill-mbstring is just a fraction of it, for composer)
# see https://github.com/symfony/polyfill-mbstring/pull/11