Changeset 3257296
- Timestamp:
- 03/17/2025 05:28:04 PM (13 months ago)
- Location:
- iloveimg
- Files:
-
- 42 edited
- 1 copied
-
tags/2.2.9 (copied) (copied from iloveimg/trunk)
-
tags/2.2.9/.gitignore (modified) (2 diffs)
-
tags/2.2.9/admin/Ilove_Img_Compress_Plugin.php (modified) (1 diff)
-
tags/2.2.9/composer.json (modified) (2 diffs)
-
tags/2.2.9/ilove-img-compress.php (modified) (1 diff)
-
tags/2.2.9/readme.txt (modified) (3 diffs)
-
tags/2.2.9/vendor/autoload.php (modified) (1 diff)
-
tags/2.2.9/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/2.2.9/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/2.2.9/vendor/composer/installed.json (modified) (6 diffs)
-
tags/2.2.9/vendor/composer/installed.php (modified) (4 diffs)
-
tags/2.2.9/vendor/composer/platform_check.php (modified) (1 diff)
-
tags/2.2.9/vendor/firebase/php-jwt/CHANGELOG.md (modified) (1 diff)
-
tags/2.2.9/vendor/firebase/php-jwt/README.md (modified) (2 diffs)
-
tags/2.2.9/vendor/firebase/php-jwt/composer.json (modified) (2 diffs)
-
tags/2.2.9/vendor/firebase/php-jwt/src/CachedKeySet.php (modified) (3 diffs)
-
tags/2.2.9/vendor/firebase/php-jwt/src/JWK.php (modified) (4 diffs)
-
tags/2.2.9/vendor/firebase/php-jwt/src/JWT.php (modified) (4 diffs)
-
tags/2.2.9/vendor/firebase/php-jwt/src/Key.php (modified) (3 diffs)
-
tags/2.2.9/vendor/symfony/deprecation-contracts/README.md (modified) (1 diff)
-
tags/2.2.9/vendor/symfony/deprecation-contracts/composer.json (modified) (2 diffs)
-
tags/2.2.9/vendor/symfony/deprecation-contracts/function.php (modified) (1 diff)
-
trunk/.gitignore (modified) (2 diffs)
-
trunk/admin/Ilove_Img_Compress_Plugin.php (modified) (1 diff)
-
trunk/composer.json (modified) (2 diffs)
-
trunk/ilove-img-compress.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.json (modified) (6 diffs)
-
trunk/vendor/composer/installed.php (modified) (4 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/vendor/firebase/php-jwt/CHANGELOG.md (modified) (1 diff)
-
trunk/vendor/firebase/php-jwt/README.md (modified) (2 diffs)
-
trunk/vendor/firebase/php-jwt/composer.json (modified) (2 diffs)
-
trunk/vendor/firebase/php-jwt/src/CachedKeySet.php (modified) (3 diffs)
-
trunk/vendor/firebase/php-jwt/src/JWK.php (modified) (4 diffs)
-
trunk/vendor/firebase/php-jwt/src/JWT.php (modified) (4 diffs)
-
trunk/vendor/firebase/php-jwt/src/Key.php (modified) (3 diffs)
-
trunk/vendor/symfony/deprecation-contracts/README.md (modified) (1 diff)
-
trunk/vendor/symfony/deprecation-contracts/composer.json (modified) (2 diffs)
-
trunk/vendor/symfony/deprecation-contracts/function.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
iloveimg/tags/2.2.9/.gitignore
r3165770 r3257296 12 12 composer.lock 13 13 package-lock.json 14 dev/package-lock.json15 14 16 15 # Compiled Java class files … … 42 41 *.exe 43 42 *.war 43 *.zip 44 44 45 45 # Large media files -
iloveimg/tags/2.2.9/admin/Ilove_Img_Compress_Plugin.php
r3256112 r3257296 20 20 * @var string VERSION The current version of the plugin. 21 21 */ 22 const VERSION = '2.2. 8';22 const VERSION = '2.2.9'; 23 23 24 24 /** -
iloveimg/tags/2.2.9/composer.json
r3256112 r3257296 12 12 ], 13 13 "require": { 14 "php": ">=7.4", 14 15 "ilovepdf/iloveimg-php": "dev-master" 15 16 }, … … 21 22 }, 22 23 "config": { 24 "platform": { 25 "php": "7.4" 26 }, 23 27 "allow-plugins": { 24 28 "phpstan/extension-installer": true, -
iloveimg/tags/2.2.9/ilove-img-compress.php
r3256112 r3257296 11 11 * Plugin URI: https://iloveapi.com/ 12 12 * Description: Get your images delivered quickly. Now you can get a powerful, easy to use, and reliable image compression plugin for your image optimization needs. With full automation and powerful features, iLoveIMG makes it easy to speed up your website by lightening past and new images with just a click. Compress JPG, PNG and GIF images in your WordPress to improve the positioning of your site, boost visitor’s engagement and ultimately increase sales. 13 * Version: 2.2. 813 * Version: 2.2.9 14 14 * Requires at least: 5.3 15 15 * Requires PHP: 7.4 -
iloveimg/tags/2.2.9/readme.txt
r3256112 r3257296 1 1 === Image Compressor & Optimizer - iLoveIMG === 2 2 Plugin Name: Image Compressor & Optimizer - iLoveIMG 3 Version: 2.2. 83 Version: 2.2.9 4 4 Author: iLovePDF 5 5 Author URI: https://www.iloveimg.com/ … … 8 8 Requires at least: 5.3 9 9 Tested up to: 6.7 10 Stable tag: 2.2. 810 Stable tag: 2.2.9 11 11 Requires PHP: 7.4 12 12 License: GPLv2 or later … … 94 94 95 95 == Changelog == 96 97 = 2.2.9 = 98 Improved 99 * library compatibility with PHP 7.4 96 100 97 101 = 2.2.8 = -
iloveimg/tags/2.2.9/vendor/autoload.php
r3224285 r3257296 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd::getLoader();25 return ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c::getLoader(); -
iloveimg/tags/2.2.9/vendor/composer/autoload_real.php
r3224285 r3257296 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd5 class ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
iloveimg/tags/2.2.9/vendor/composer/autoload_static.php
r3224285 r3257296 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd7 class ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c 8 8 { 9 9 public static $files = array ( … … 79 79 { 80 80 return \Closure::bind(function () use ($loader) { 81 $loader->prefixLengthsPsr4 = ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$prefixLengthsPsr4;82 $loader->prefixDirsPsr4 = ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$prefixDirsPsr4;83 $loader->classMap = ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$classMap;81 $loader->prefixLengthsPsr4 = ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$prefixLengthsPsr4; 82 $loader->prefixDirsPsr4 = ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$prefixDirsPsr4; 83 $loader->classMap = ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$classMap; 84 84 85 85 }, null, ClassLoader::class); -
iloveimg/tags/2.2.9/vendor/composer/installed.json
r3256112 r3257296 84 84 { 85 85 "name": "firebase/php-jwt", 86 "version": "v6.1 1.0",87 "version_normalized": "6.1 1.0.0",86 "version": "v6.10.0", 87 "version_normalized": "6.10.0.0", 88 88 "source": { 89 89 "type": "git", 90 90 "url": "https://github.com/firebase/php-jwt.git", 91 "reference": " 8f718f4dfc9c5d5f0c994cdfd103921b43592712"92 }, 93 "dist": { 94 "type": "zip", 95 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/ 8f718f4dfc9c5d5f0c994cdfd103921b43592712",96 "reference": " 8f718f4dfc9c5d5f0c994cdfd103921b43592712",97 "shasum": "" 98 }, 99 "require": { 100 "php": "^ 8.0"91 "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" 92 }, 93 "dist": { 94 "type": "zip", 95 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", 96 "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", 97 "shasum": "" 98 }, 99 "require": { 100 "php": "^7.4||^8.0" 101 101 }, 102 102 "require-dev": { 103 "guzzlehttp/guzzle": "^ 7.4",103 "guzzlehttp/guzzle": "^6.5||^7.4", 104 104 "phpspec/prophecy-phpunit": "^2.0", 105 105 "phpunit/phpunit": "^9.5", 106 "psr/cache": "^ 2.0||^3.0",106 "psr/cache": "^1.0||^2.0", 107 107 "psr/http-client": "^1.0", 108 108 "psr/http-factory": "^1.0" … … 112 112 "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" 113 113 }, 114 "time": "202 5-01-23T05:11:06+00:00",114 "time": "2023-12-01T16:26:39+00:00", 115 115 "type": "library", 116 116 "installation-source": "dist", … … 144 144 "support": { 145 145 "issues": "https://github.com/firebase/php-jwt/issues", 146 "source": "https://github.com/firebase/php-jwt/tree/v6.1 1.0"146 "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" 147 147 }, 148 148 "install-path": "../firebase/php-jwt" … … 1174 1174 { 1175 1175 "name": "symfony/deprecation-contracts", 1176 "version": "v 3.5.1",1177 "version_normalized": " 3.5.1.0",1176 "version": "v2.5.4", 1177 "version_normalized": "2.5.4.0", 1178 1178 "source": { 1179 1179 "type": "git", 1180 1180 "url": "https://github.com/symfony/deprecation-contracts.git", 1181 "reference": " 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"1182 }, 1183 "dist": { 1184 "type": "zip", 1185 "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/ 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",1186 "reference": " 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",1187 "shasum": "" 1188 }, 1189 "require": { 1190 "php": ">= 8.1"1191 }, 1192 "time": "2024-09-25T14: 20:29+00:00",1181 "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918" 1182 }, 1183 "dist": { 1184 "type": "zip", 1185 "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918", 1186 "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918", 1187 "shasum": "" 1188 }, 1189 "require": { 1190 "php": ">=7.1" 1191 }, 1192 "time": "2024-09-25T14:11:13+00:00", 1193 1193 "type": "library", 1194 1194 "extra": { … … 1198 1198 }, 1199 1199 "branch-alias": { 1200 "dev-main": " 3.5-dev"1200 "dev-main": "2.5-dev" 1201 1201 } 1202 1202 }, … … 1224 1224 "homepage": "https://symfony.com", 1225 1225 "support": { 1226 "source": "https://github.com/symfony/deprecation-contracts/tree/v 3.5.1"1226 "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4" 1227 1227 }, 1228 1228 "funding": [ -
iloveimg/tags/2.2.9/vendor/composer/installed.php
r3256112 r3257296 4 4 'pretty_version' => 'dev-develop', 5 5 'version' => 'dev-develop', 6 'reference' => ' 4e76b741e45e308cc3af16f453385e11de725135',6 'reference' => '8ff778154da1f0cc5b9b5d75c2638b18c0d37ec5', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 21 21 ), 22 22 'firebase/php-jwt' => array( 23 'pretty_version' => 'v6.1 1.0',24 'version' => '6.1 1.0.0',25 'reference' => ' 8f718f4dfc9c5d5f0c994cdfd103921b43592712',23 'pretty_version' => 'v6.10.0', 24 'version' => '6.10.0.0', 25 'reference' => 'a49db6f0a5033aef5143295342f1c95521b075ff', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../firebase/php-jwt', … … 70 70 'pretty_version' => 'dev-develop', 71 71 'version' => 'dev-develop', 72 'reference' => ' 4e76b741e45e308cc3af16f453385e11de725135',72 'reference' => '8ff778154da1f0cc5b9b5d75c2638b18c0d37ec5', 73 73 'type' => 'wordpress-plugin', 74 74 'install_path' => __DIR__ . '/../../', … … 185 185 ), 186 186 'symfony/deprecation-contracts' => array( 187 'pretty_version' => 'v 3.5.1',188 'version' => ' 3.5.1.0',189 'reference' => ' 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',187 'pretty_version' => 'v2.5.4', 188 'version' => '2.5.4.0', 189 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 190 190 'type' => 'library', 191 191 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', -
iloveimg/tags/2.2.9/vendor/composer/platform_check.php
r3119476 r3257296 5 5 $issues = array(); 6 6 7 if (!(PHP_VERSION_ID >= 80100)) {8 $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';7 if (!(PHP_VERSION_ID >= 70400)) { 8 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; 9 9 } 10 10 -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/CHANGELOG.md
r3239545 r3257296 1 1 # Changelog 2 3 ## [6.11.0](https://github.com/firebase/php-jwt/compare/v6.10.2...v6.11.0) (2025-01-23)4 5 6 ### Features7 8 * support octet typed JWK ([#587](https://github.com/firebase/php-jwt/issues/587)) ([7cb8a26](https://github.com/firebase/php-jwt/commit/7cb8a265fa81edf2fa6ef8098f5bc5ae573c33ad))9 10 11 ### Bug Fixes12 13 * refactor constructor Key to use PHP 8.0 syntax ([#577](https://github.com/firebase/php-jwt/issues/577)) ([29fa2ce](https://github.com/firebase/php-jwt/commit/29fa2ce9e0582cd397711eec1e80c05ce20fabca))14 15 ## [6.10.2](https://github.com/firebase/php-jwt/compare/v6.10.1...v6.10.2) (2024-11-24)16 17 18 ### Bug Fixes19 20 * Mitigate PHP8.4 deprecation warnings ([#570](https://github.com/firebase/php-jwt/issues/570)) ([76808fa](https://github.com/firebase/php-jwt/commit/76808fa227f3811aa5cdb3bf81233714b799a5b5))21 * support php 8.4 ([#583](https://github.com/firebase/php-jwt/issues/583)) ([e3d68b0](https://github.com/firebase/php-jwt/commit/e3d68b044421339443c74199edd020e03fb1887e))22 23 ## [6.10.1](https://github.com/firebase/php-jwt/compare/v6.10.0...v6.10.1) (2024-05-18)24 25 26 ### Bug Fixes27 28 * ensure ratelimit expiry is set every time ([#556](https://github.com/firebase/php-jwt/issues/556)) ([09cb208](https://github.com/firebase/php-jwt/commit/09cb2081c2c3bc0f61e2f2a5fbea5741f7498648))29 * ratelimit cache expiration ([#550](https://github.com/firebase/php-jwt/issues/550)) ([dda7250](https://github.com/firebase/php-jwt/commit/dda725033585ece30ff8cae8937320d7e9f18bae))30 2 31 3 ## [6.10.0](https://github.com/firebase/php-jwt/compare/v6.9.0...v6.10.0) (2023-11-28) -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/README.md
r3239545 r3257296 18 18 19 19 Optionally, install the `paragonie/sodium_compat` package from composer if your 20 php envdoes not have libsodium installed:20 php is < 7.2 or does not have libsodium installed: 21 21 22 22 ```bash … … 49 49 50 50 // Pass a stdClass in as the third parameter to get the decoded header values 51 $headers = new stdClass(); 52 $decoded = JWT::decode($jwt, new Key($key, 'HS256'), $headers); 51 $decoded = JWT::decode($jwt, new Key($key, 'HS256'), $headers = new stdClass()); 53 52 print_r($headers); 54 53 -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/composer.json
r3165770 r3257296 21 21 "license": "BSD-3-Clause", 22 22 "require": { 23 "php": "^ 8.0"23 "php": "^7.4||^8.0" 24 24 }, 25 25 "suggest": { … … 33 33 }, 34 34 "require-dev": { 35 "guzzlehttp/guzzle": "^ 7.4",35 "guzzlehttp/guzzle": "^6.5||^7.4", 36 36 "phpspec/prophecy-phpunit": "^2.0", 37 37 "phpunit/phpunit": "^9.5", 38 "psr/cache": "^ 2.0||^3.0",38 "psr/cache": "^1.0||^2.0", 39 39 "psr/http-client": "^1.0", 40 40 "psr/http-factory": "^1.0" -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/src/CachedKeySet.php
r3224285 r3257296 81 81 RequestFactoryInterface $httpFactory, 82 82 CacheItemPoolInterface $cache, 83 ?int $expiresAfter = null,83 int $expiresAfter = null, 84 84 bool $rateLimit = false, 85 ?string $defaultAlg = null85 string $defaultAlg = null 86 86 ) { 87 87 $this->jwksUri = $jwksUri; … … 181 181 if ($jwksResponse->getStatusCode() !== 200) { 182 182 throw new UnexpectedValueException( 183 \sprintf('HTTP Error: %d %s for URI "%s"',183 sprintf('HTTP Error: %d %s for URI "%s"', 184 184 $jwksResponse->getStatusCode(), 185 185 $jwksResponse->getReasonPhrase(), … … 213 213 214 214 $cacheItem = $this->cache->getItem($this->rateLimitCacheKey); 215 216 $cacheItemData = []; 217 if ($cacheItem->isHit() && \is_array($data = $cacheItem->get())) { 218 $cacheItemData = $data; 219 } 220 221 $callsPerMinute = $cacheItemData['callsPerMinute'] ?? 0; 222 $expiry = $cacheItemData['expiry'] ?? new \DateTime('+60 seconds', new \DateTimeZone('UTC')); 223 215 if (!$cacheItem->isHit()) { 216 $cacheItem->expiresAfter(1); // # of calls are cached each minute 217 } 218 219 $callsPerMinute = (int) $cacheItem->get(); 224 220 if (++$callsPerMinute > $this->maxCallsPerMinute) { 225 221 return true; 226 222 } 227 228 $cacheItem->set(['expiry' => $expiry, 'callsPerMinute' => $callsPerMinute]); 229 $cacheItem->expiresAt($expiry); 223 $cacheItem->set($callsPerMinute); 230 224 $this->cache->save($cacheItem); 231 225 return false; -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/src/JWK.php
r3239545 r3257296 53 53 * @uses parseKey 54 54 */ 55 public static function parseKeySet(array $jwks, ?string $defaultAlg = null): array55 public static function parseKeySet(array $jwks, string $defaultAlg = null): array 56 56 { 57 57 $keys = []; … … 94 94 * @uses createPemFromModulusAndExponent 95 95 */ 96 public static function parseKey(array $jwk, ?string $defaultAlg = null): ?Key96 public static function parseKey(array $jwk, string $defaultAlg = null): ?Key 97 97 { 98 98 if (empty($jwk)) { … … 173 173 $publicKey = JWT::convertBase64urlToBase64($jwk['x']); 174 174 return new Key($publicKey, $jwk['alg']); 175 case 'oct':176 if (!isset($jwk['k'])) {177 throw new UnexpectedValueException('k not set');178 }179 180 return new Key(JWT::urlsafeB64Decode($jwk['k']), $jwk['alg']);181 175 default: 182 176 break; … … 219 213 ); 220 214 221 return \sprintf(215 return sprintf( 222 216 "-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n", 223 217 wordwrap(base64_encode($pem), 64, "\n", true) -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/src/JWT.php
r3224285 r3257296 97 97 string $jwt, 98 98 $keyOrKeyArray, 99 ?stdClass &$headers = null99 stdClass &$headers = null 100 100 ): stdClass { 101 101 // Validate JWT … … 201 201 $key, 202 202 string $alg, 203 ?string $keyId = null,204 ?array $head = null203 string $keyId = null, 204 array $head = null 205 205 ): string { 206 206 $header = ['typ' => 'JWT']; 207 if (isset($head) ) {207 if (isset($head) && \is_array($head)) { 208 208 $header = \array_merge($header, $head); 209 209 } … … 252 252 case 'openssl': 253 253 $signature = ''; 254 if (!\is_resource($key) && !openssl_pkey_get_private($key)) {255 throw new DomainException('OpenSSL unable to validate key');256 }257 254 $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line 258 255 if (!$success) { … … 388 385 public static function jsonEncode(array $input): string 389 386 { 390 $json = \json_encode($input, \JSON_UNESCAPED_SLASHES); 387 if (PHP_VERSION_ID >= 50400) { 388 $json = \json_encode($input, \JSON_UNESCAPED_SLASHES); 389 } else { 390 // PHP 5.3 only 391 $json = \json_encode($input); 392 } 391 393 if ($errno = \json_last_error()) { 392 394 self::handleJsonError($errno); -
iloveimg/tags/2.2.9/vendor/firebase/php-jwt/src/Key.php
r3239545 r3257296 10 10 class Key 11 11 { 12 /** @var string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate */ 13 private $keyMaterial; 14 /** @var string */ 15 private $algorithm; 16 12 17 /** 13 18 * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial … … 15 20 */ 16 21 public function __construct( 17 private$keyMaterial,18 privatestring $algorithm22 $keyMaterial, 23 string $algorithm 19 24 ) { 20 25 if ( … … 34 39 throw new InvalidArgumentException('Algorithm must not be empty'); 35 40 } 41 42 // TODO: Remove in PHP 8.0 in favor of class constructor property promotion 43 $this->keyMaterial = $keyMaterial; 44 $this->algorithm = $algorithm; 36 45 } 37 46 -
iloveimg/tags/2.2.9/vendor/symfony/deprecation-contracts/README.md
r3164517 r3257296 23 23 `Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.` 24 24 25 While not recommended, the deprecation notices can be completely ignored by declaring an empty25 While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty 26 26 `function trigger_deprecation() {}` in your application. -
iloveimg/tags/2.2.9/vendor/symfony/deprecation-contracts/composer.json
r3164517 r3257296 16 16 ], 17 17 "require": { 18 "php": ">= 8.1"18 "php": ">=7.1" 19 19 }, 20 20 "autoload": { … … 26 26 "extra": { 27 27 "branch-alias": { 28 "dev-main": " 3.5-dev"28 "dev-main": "2.5-dev" 29 29 }, 30 30 "thanks": { -
iloveimg/tags/2.2.9/vendor/symfony/deprecation-contracts/function.php
r3164517 r3257296 21 21 * @author Nicolas Grekas <p@tchwork.com> 22 22 */ 23 function trigger_deprecation(string $package, string $version, string $message, mixed...$args): void23 function trigger_deprecation(string $package, string $version, string $message, ...$args): void 24 24 { 25 25 @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED); -
iloveimg/trunk/.gitignore
r3165770 r3257296 12 12 composer.lock 13 13 package-lock.json 14 dev/package-lock.json15 14 16 15 # Compiled Java class files … … 42 41 *.exe 43 42 *.war 43 *.zip 44 44 45 45 # Large media files -
iloveimg/trunk/admin/Ilove_Img_Compress_Plugin.php
r3256112 r3257296 20 20 * @var string VERSION The current version of the plugin. 21 21 */ 22 const VERSION = '2.2. 8';22 const VERSION = '2.2.9'; 23 23 24 24 /** -
iloveimg/trunk/composer.json
r3256112 r3257296 12 12 ], 13 13 "require": { 14 "php": ">=7.4", 14 15 "ilovepdf/iloveimg-php": "dev-master" 15 16 }, … … 21 22 }, 22 23 "config": { 24 "platform": { 25 "php": "7.4" 26 }, 23 27 "allow-plugins": { 24 28 "phpstan/extension-installer": true, -
iloveimg/trunk/ilove-img-compress.php
r3256112 r3257296 11 11 * Plugin URI: https://iloveapi.com/ 12 12 * Description: Get your images delivered quickly. Now you can get a powerful, easy to use, and reliable image compression plugin for your image optimization needs. With full automation and powerful features, iLoveIMG makes it easy to speed up your website by lightening past and new images with just a click. Compress JPG, PNG and GIF images in your WordPress to improve the positioning of your site, boost visitor’s engagement and ultimately increase sales. 13 * Version: 2.2. 813 * Version: 2.2.9 14 14 * Requires at least: 5.3 15 15 * Requires PHP: 7.4 -
iloveimg/trunk/readme.txt
r3256112 r3257296 1 1 === Image Compressor & Optimizer - iLoveIMG === 2 2 Plugin Name: Image Compressor & Optimizer - iLoveIMG 3 Version: 2.2. 83 Version: 2.2.9 4 4 Author: iLovePDF 5 5 Author URI: https://www.iloveimg.com/ … … 8 8 Requires at least: 5.3 9 9 Tested up to: 6.7 10 Stable tag: 2.2. 810 Stable tag: 2.2.9 11 11 Requires PHP: 7.4 12 12 License: GPLv2 or later … … 94 94 95 95 == Changelog == 96 97 = 2.2.9 = 98 Improved 99 * library compatibility with PHP 7.4 96 100 97 101 = 2.2.8 = -
iloveimg/trunk/vendor/autoload.php
r3224285 r3257296 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd::getLoader();25 return ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c::getLoader(); -
iloveimg/trunk/vendor/composer/autoload_real.php
r3224285 r3257296 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd5 class ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInitc a264d8dde67813376c567ae25ecc7cd', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitc53b9aaaed807b4d7afb2663fe31177c', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
iloveimg/trunk/vendor/composer/autoload_static.php
r3224285 r3257296 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd7 class ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c 8 8 { 9 9 public static $files = array ( … … 79 79 { 80 80 return \Closure::bind(function () use ($loader) { 81 $loader->prefixLengthsPsr4 = ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$prefixLengthsPsr4;82 $loader->prefixDirsPsr4 = ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$prefixDirsPsr4;83 $loader->classMap = ComposerStaticInitc a264d8dde67813376c567ae25ecc7cd::$classMap;81 $loader->prefixLengthsPsr4 = ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$prefixLengthsPsr4; 82 $loader->prefixDirsPsr4 = ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$prefixDirsPsr4; 83 $loader->classMap = ComposerStaticInitc53b9aaaed807b4d7afb2663fe31177c::$classMap; 84 84 85 85 }, null, ClassLoader::class); -
iloveimg/trunk/vendor/composer/installed.json
r3256112 r3257296 84 84 { 85 85 "name": "firebase/php-jwt", 86 "version": "v6.1 1.0",87 "version_normalized": "6.1 1.0.0",86 "version": "v6.10.0", 87 "version_normalized": "6.10.0.0", 88 88 "source": { 89 89 "type": "git", 90 90 "url": "https://github.com/firebase/php-jwt.git", 91 "reference": " 8f718f4dfc9c5d5f0c994cdfd103921b43592712"92 }, 93 "dist": { 94 "type": "zip", 95 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/ 8f718f4dfc9c5d5f0c994cdfd103921b43592712",96 "reference": " 8f718f4dfc9c5d5f0c994cdfd103921b43592712",97 "shasum": "" 98 }, 99 "require": { 100 "php": "^ 8.0"91 "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" 92 }, 93 "dist": { 94 "type": "zip", 95 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", 96 "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", 97 "shasum": "" 98 }, 99 "require": { 100 "php": "^7.4||^8.0" 101 101 }, 102 102 "require-dev": { 103 "guzzlehttp/guzzle": "^ 7.4",103 "guzzlehttp/guzzle": "^6.5||^7.4", 104 104 "phpspec/prophecy-phpunit": "^2.0", 105 105 "phpunit/phpunit": "^9.5", 106 "psr/cache": "^ 2.0||^3.0",106 "psr/cache": "^1.0||^2.0", 107 107 "psr/http-client": "^1.0", 108 108 "psr/http-factory": "^1.0" … … 112 112 "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" 113 113 }, 114 "time": "202 5-01-23T05:11:06+00:00",114 "time": "2023-12-01T16:26:39+00:00", 115 115 "type": "library", 116 116 "installation-source": "dist", … … 144 144 "support": { 145 145 "issues": "https://github.com/firebase/php-jwt/issues", 146 "source": "https://github.com/firebase/php-jwt/tree/v6.1 1.0"146 "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" 147 147 }, 148 148 "install-path": "../firebase/php-jwt" … … 1174 1174 { 1175 1175 "name": "symfony/deprecation-contracts", 1176 "version": "v 3.5.1",1177 "version_normalized": " 3.5.1.0",1176 "version": "v2.5.4", 1177 "version_normalized": "2.5.4.0", 1178 1178 "source": { 1179 1179 "type": "git", 1180 1180 "url": "https://github.com/symfony/deprecation-contracts.git", 1181 "reference": " 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"1182 }, 1183 "dist": { 1184 "type": "zip", 1185 "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/ 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",1186 "reference": " 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",1187 "shasum": "" 1188 }, 1189 "require": { 1190 "php": ">= 8.1"1191 }, 1192 "time": "2024-09-25T14: 20:29+00:00",1181 "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918" 1182 }, 1183 "dist": { 1184 "type": "zip", 1185 "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918", 1186 "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918", 1187 "shasum": "" 1188 }, 1189 "require": { 1190 "php": ">=7.1" 1191 }, 1192 "time": "2024-09-25T14:11:13+00:00", 1193 1193 "type": "library", 1194 1194 "extra": { … … 1198 1198 }, 1199 1199 "branch-alias": { 1200 "dev-main": " 3.5-dev"1200 "dev-main": "2.5-dev" 1201 1201 } 1202 1202 }, … … 1224 1224 "homepage": "https://symfony.com", 1225 1225 "support": { 1226 "source": "https://github.com/symfony/deprecation-contracts/tree/v 3.5.1"1226 "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4" 1227 1227 }, 1228 1228 "funding": [ -
iloveimg/trunk/vendor/composer/installed.php
r3256112 r3257296 4 4 'pretty_version' => 'dev-develop', 5 5 'version' => 'dev-develop', 6 'reference' => ' 4e76b741e45e308cc3af16f453385e11de725135',6 'reference' => '8ff778154da1f0cc5b9b5d75c2638b18c0d37ec5', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 21 21 ), 22 22 'firebase/php-jwt' => array( 23 'pretty_version' => 'v6.1 1.0',24 'version' => '6.1 1.0.0',25 'reference' => ' 8f718f4dfc9c5d5f0c994cdfd103921b43592712',23 'pretty_version' => 'v6.10.0', 24 'version' => '6.10.0.0', 25 'reference' => 'a49db6f0a5033aef5143295342f1c95521b075ff', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../firebase/php-jwt', … … 70 70 'pretty_version' => 'dev-develop', 71 71 'version' => 'dev-develop', 72 'reference' => ' 4e76b741e45e308cc3af16f453385e11de725135',72 'reference' => '8ff778154da1f0cc5b9b5d75c2638b18c0d37ec5', 73 73 'type' => 'wordpress-plugin', 74 74 'install_path' => __DIR__ . '/../../', … … 185 185 ), 186 186 'symfony/deprecation-contracts' => array( 187 'pretty_version' => 'v 3.5.1',188 'version' => ' 3.5.1.0',189 'reference' => ' 74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',187 'pretty_version' => 'v2.5.4', 188 'version' => '2.5.4.0', 189 'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918', 190 190 'type' => 'library', 191 191 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', -
iloveimg/trunk/vendor/composer/platform_check.php
r3119476 r3257296 5 5 $issues = array(); 6 6 7 if (!(PHP_VERSION_ID >= 80100)) {8 $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';7 if (!(PHP_VERSION_ID >= 70400)) { 8 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; 9 9 } 10 10 -
iloveimg/trunk/vendor/firebase/php-jwt/CHANGELOG.md
r3239545 r3257296 1 1 # Changelog 2 3 ## [6.11.0](https://github.com/firebase/php-jwt/compare/v6.10.2...v6.11.0) (2025-01-23)4 5 6 ### Features7 8 * support octet typed JWK ([#587](https://github.com/firebase/php-jwt/issues/587)) ([7cb8a26](https://github.com/firebase/php-jwt/commit/7cb8a265fa81edf2fa6ef8098f5bc5ae573c33ad))9 10 11 ### Bug Fixes12 13 * refactor constructor Key to use PHP 8.0 syntax ([#577](https://github.com/firebase/php-jwt/issues/577)) ([29fa2ce](https://github.com/firebase/php-jwt/commit/29fa2ce9e0582cd397711eec1e80c05ce20fabca))14 15 ## [6.10.2](https://github.com/firebase/php-jwt/compare/v6.10.1...v6.10.2) (2024-11-24)16 17 18 ### Bug Fixes19 20 * Mitigate PHP8.4 deprecation warnings ([#570](https://github.com/firebase/php-jwt/issues/570)) ([76808fa](https://github.com/firebase/php-jwt/commit/76808fa227f3811aa5cdb3bf81233714b799a5b5))21 * support php 8.4 ([#583](https://github.com/firebase/php-jwt/issues/583)) ([e3d68b0](https://github.com/firebase/php-jwt/commit/e3d68b044421339443c74199edd020e03fb1887e))22 23 ## [6.10.1](https://github.com/firebase/php-jwt/compare/v6.10.0...v6.10.1) (2024-05-18)24 25 26 ### Bug Fixes27 28 * ensure ratelimit expiry is set every time ([#556](https://github.com/firebase/php-jwt/issues/556)) ([09cb208](https://github.com/firebase/php-jwt/commit/09cb2081c2c3bc0f61e2f2a5fbea5741f7498648))29 * ratelimit cache expiration ([#550](https://github.com/firebase/php-jwt/issues/550)) ([dda7250](https://github.com/firebase/php-jwt/commit/dda725033585ece30ff8cae8937320d7e9f18bae))30 2 31 3 ## [6.10.0](https://github.com/firebase/php-jwt/compare/v6.9.0...v6.10.0) (2023-11-28) -
iloveimg/trunk/vendor/firebase/php-jwt/README.md
r3239545 r3257296 18 18 19 19 Optionally, install the `paragonie/sodium_compat` package from composer if your 20 php envdoes not have libsodium installed:20 php is < 7.2 or does not have libsodium installed: 21 21 22 22 ```bash … … 49 49 50 50 // Pass a stdClass in as the third parameter to get the decoded header values 51 $headers = new stdClass(); 52 $decoded = JWT::decode($jwt, new Key($key, 'HS256'), $headers); 51 $decoded = JWT::decode($jwt, new Key($key, 'HS256'), $headers = new stdClass()); 53 52 print_r($headers); 54 53 -
iloveimg/trunk/vendor/firebase/php-jwt/composer.json
r3165770 r3257296 21 21 "license": "BSD-3-Clause", 22 22 "require": { 23 "php": "^ 8.0"23 "php": "^7.4||^8.0" 24 24 }, 25 25 "suggest": { … … 33 33 }, 34 34 "require-dev": { 35 "guzzlehttp/guzzle": "^ 7.4",35 "guzzlehttp/guzzle": "^6.5||^7.4", 36 36 "phpspec/prophecy-phpunit": "^2.0", 37 37 "phpunit/phpunit": "^9.5", 38 "psr/cache": "^ 2.0||^3.0",38 "psr/cache": "^1.0||^2.0", 39 39 "psr/http-client": "^1.0", 40 40 "psr/http-factory": "^1.0" -
iloveimg/trunk/vendor/firebase/php-jwt/src/CachedKeySet.php
r3224285 r3257296 81 81 RequestFactoryInterface $httpFactory, 82 82 CacheItemPoolInterface $cache, 83 ?int $expiresAfter = null,83 int $expiresAfter = null, 84 84 bool $rateLimit = false, 85 ?string $defaultAlg = null85 string $defaultAlg = null 86 86 ) { 87 87 $this->jwksUri = $jwksUri; … … 181 181 if ($jwksResponse->getStatusCode() !== 200) { 182 182 throw new UnexpectedValueException( 183 \sprintf('HTTP Error: %d %s for URI "%s"',183 sprintf('HTTP Error: %d %s for URI "%s"', 184 184 $jwksResponse->getStatusCode(), 185 185 $jwksResponse->getReasonPhrase(), … … 213 213 214 214 $cacheItem = $this->cache->getItem($this->rateLimitCacheKey); 215 216 $cacheItemData = []; 217 if ($cacheItem->isHit() && \is_array($data = $cacheItem->get())) { 218 $cacheItemData = $data; 219 } 220 221 $callsPerMinute = $cacheItemData['callsPerMinute'] ?? 0; 222 $expiry = $cacheItemData['expiry'] ?? new \DateTime('+60 seconds', new \DateTimeZone('UTC')); 223 215 if (!$cacheItem->isHit()) { 216 $cacheItem->expiresAfter(1); // # of calls are cached each minute 217 } 218 219 $callsPerMinute = (int) $cacheItem->get(); 224 220 if (++$callsPerMinute > $this->maxCallsPerMinute) { 225 221 return true; 226 222 } 227 228 $cacheItem->set(['expiry' => $expiry, 'callsPerMinute' => $callsPerMinute]); 229 $cacheItem->expiresAt($expiry); 223 $cacheItem->set($callsPerMinute); 230 224 $this->cache->save($cacheItem); 231 225 return false; -
iloveimg/trunk/vendor/firebase/php-jwt/src/JWK.php
r3239545 r3257296 53 53 * @uses parseKey 54 54 */ 55 public static function parseKeySet(array $jwks, ?string $defaultAlg = null): array55 public static function parseKeySet(array $jwks, string $defaultAlg = null): array 56 56 { 57 57 $keys = []; … … 94 94 * @uses createPemFromModulusAndExponent 95 95 */ 96 public static function parseKey(array $jwk, ?string $defaultAlg = null): ?Key96 public static function parseKey(array $jwk, string $defaultAlg = null): ?Key 97 97 { 98 98 if (empty($jwk)) { … … 173 173 $publicKey = JWT::convertBase64urlToBase64($jwk['x']); 174 174 return new Key($publicKey, $jwk['alg']); 175 case 'oct':176 if (!isset($jwk['k'])) {177 throw new UnexpectedValueException('k not set');178 }179 180 return new Key(JWT::urlsafeB64Decode($jwk['k']), $jwk['alg']);181 175 default: 182 176 break; … … 219 213 ); 220 214 221 return \sprintf(215 return sprintf( 222 216 "-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n", 223 217 wordwrap(base64_encode($pem), 64, "\n", true) -
iloveimg/trunk/vendor/firebase/php-jwt/src/JWT.php
r3224285 r3257296 97 97 string $jwt, 98 98 $keyOrKeyArray, 99 ?stdClass &$headers = null99 stdClass &$headers = null 100 100 ): stdClass { 101 101 // Validate JWT … … 201 201 $key, 202 202 string $alg, 203 ?string $keyId = null,204 ?array $head = null203 string $keyId = null, 204 array $head = null 205 205 ): string { 206 206 $header = ['typ' => 'JWT']; 207 if (isset($head) ) {207 if (isset($head) && \is_array($head)) { 208 208 $header = \array_merge($header, $head); 209 209 } … … 252 252 case 'openssl': 253 253 $signature = ''; 254 if (!\is_resource($key) && !openssl_pkey_get_private($key)) {255 throw new DomainException('OpenSSL unable to validate key');256 }257 254 $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line 258 255 if (!$success) { … … 388 385 public static function jsonEncode(array $input): string 389 386 { 390 $json = \json_encode($input, \JSON_UNESCAPED_SLASHES); 387 if (PHP_VERSION_ID >= 50400) { 388 $json = \json_encode($input, \JSON_UNESCAPED_SLASHES); 389 } else { 390 // PHP 5.3 only 391 $json = \json_encode($input); 392 } 391 393 if ($errno = \json_last_error()) { 392 394 self::handleJsonError($errno); -
iloveimg/trunk/vendor/firebase/php-jwt/src/Key.php
r3239545 r3257296 10 10 class Key 11 11 { 12 /** @var string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate */ 13 private $keyMaterial; 14 /** @var string */ 15 private $algorithm; 16 12 17 /** 13 18 * @param string|resource|OpenSSLAsymmetricKey|OpenSSLCertificate $keyMaterial … … 15 20 */ 16 21 public function __construct( 17 private$keyMaterial,18 privatestring $algorithm22 $keyMaterial, 23 string $algorithm 19 24 ) { 20 25 if ( … … 34 39 throw new InvalidArgumentException('Algorithm must not be empty'); 35 40 } 41 42 // TODO: Remove in PHP 8.0 in favor of class constructor property promotion 43 $this->keyMaterial = $keyMaterial; 44 $this->algorithm = $algorithm; 36 45 } 37 46 -
iloveimg/trunk/vendor/symfony/deprecation-contracts/README.md
r3164517 r3257296 23 23 `Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.` 24 24 25 While not recommended, the deprecation notices can be completely ignored by declaring an empty25 While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty 26 26 `function trigger_deprecation() {}` in your application. -
iloveimg/trunk/vendor/symfony/deprecation-contracts/composer.json
r3164517 r3257296 16 16 ], 17 17 "require": { 18 "php": ">= 8.1"18 "php": ">=7.1" 19 19 }, 20 20 "autoload": { … … 26 26 "extra": { 27 27 "branch-alias": { 28 "dev-main": " 3.5-dev"28 "dev-main": "2.5-dev" 29 29 }, 30 30 "thanks": { -
iloveimg/trunk/vendor/symfony/deprecation-contracts/function.php
r3164517 r3257296 21 21 * @author Nicolas Grekas <p@tchwork.com> 22 22 */ 23 function trigger_deprecation(string $package, string $version, string $message, mixed...$args): void23 function trigger_deprecation(string $package, string $version, string $message, ...$args): void 24 24 { 25 25 @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
Note: See TracChangeset
for help on using the changeset viewer.