Changeset 3125369
- Timestamp:
- 07/25/2024 03:06:24 PM (20 months ago)
- Location:
- web-archive/trunk
- Files:
-
- 86 edited
-
includes/class-assets.php (modified) (1 diff)
-
includes/class-init.php (modified) (1 diff)
-
includes/core/class-init.php (modified) (1 diff)
-
includes/core/class-settings.php (modified) (1 diff)
-
includes/core/class-snapshot.php (modified) (5 diffs)
-
includes/traits/helpers.php (modified) (3 diffs)
-
includes/utils/node-processor.php (modified) (1 diff)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (3 diffs)
-
vendor/composer/installed.json (modified) (37 diffs)
-
vendor/composer/installed.php (modified) (14 diffs)
-
vendor/composer/installers/.github/workflows/continuous-integration.yml (modified) (1 diff)
-
vendor/composer/installers/.github/workflows/lint.yml (modified) (1 diff)
-
vendor/composer/installers/.github/workflows/phpstan.yml (modified) (1 diff)
-
vendor/composer/installers/composer.json (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/Installer.php (modified) (5 diffs)
-
vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php (modified) (4 diffs)
-
vendor/graham-campbell/result-type/LICENSE (modified) (1 diff)
-
vendor/graham-campbell/result-type/composer.json (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/CHANGELOG.md (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/README.md (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/composer.json (modified) (2 diffs)
-
vendor/guzzlehttp/guzzle/src/BodySummarizer.php (modified) (2 diffs)
-
vendor/guzzlehttp/guzzle/src/Client.php (modified) (2 diffs)
-
vendor/guzzlehttp/guzzle/src/ClientInterface.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Exception/RequestException.php (modified) (5 diffs)
-
vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php (modified) (10 diffs)
-
vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php (modified) (3 diffs)
-
vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php (modified) (4 diffs)
-
vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php (modified) (3 diffs)
-
vendor/guzzlehttp/guzzle/src/HandlerStack.php (modified) (3 diffs)
-
vendor/guzzlehttp/guzzle/src/MessageFormatter.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Middleware.php (modified) (3 diffs)
-
vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/RequestOptions.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/RetryMiddleware.php (modified) (2 diffs)
-
vendor/guzzlehttp/guzzle/src/TransferStats.php (modified) (1 diff)
-
vendor/guzzlehttp/guzzle/src/Utils.php (modified) (2 diffs)
-
vendor/guzzlehttp/promises/CHANGELOG.md (modified) (1 diff)
-
vendor/guzzlehttp/promises/README.md (modified) (1 diff)
-
vendor/guzzlehttp/promises/composer.json (modified) (1 diff)
-
vendor/guzzlehttp/promises/src/Coroutine.php (modified) (1 diff)
-
vendor/guzzlehttp/promises/src/Each.php (modified) (3 diffs)
-
vendor/guzzlehttp/promises/src/FulfilledPromise.php (modified) (1 diff)
-
vendor/guzzlehttp/promises/src/Promise.php (modified) (2 diffs)
-
vendor/guzzlehttp/promises/src/PromiseInterface.php (modified) (1 diff)
-
vendor/guzzlehttp/promises/src/RejectedPromise.php (modified) (1 diff)
-
vendor/guzzlehttp/promises/src/RejectionException.php (modified) (1 diff)
-
vendor/guzzlehttp/promises/src/Utils.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/CHANGELOG.md (modified) (1 diff)
-
vendor/guzzlehttp/psr7/README.md (modified) (4 diffs)
-
vendor/guzzlehttp/psr7/composer.json (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/CachingStream.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/HttpFactory.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/MultipartStream.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/Query.php (modified) (4 diffs)
-
vendor/guzzlehttp/psr7/src/Response.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/StreamWrapper.php (modified) (3 diffs)
-
vendor/guzzlehttp/psr7/src/UploadedFile.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/Uri.php (modified) (1 diff)
-
vendor/guzzlehttp/psr7/src/Utils.php (modified) (2 diffs)
-
vendor/phpoption/phpoption/composer.json (modified) (2 diffs)
-
vendor/phpoption/phpoption/src/PhpOption/Option.php (modified) (2 diffs)
-
vendor/symfony/polyfill-mbstring/Mbstring.php (modified) (8 diffs)
-
vendor/symfony/polyfill-mbstring/bootstrap.php (modified) (1 diff)
-
vendor/symfony/polyfill-mbstring/bootstrap80.php (modified) (1 diff)
-
vendor/vlucas/phpdotenv/composer.json (modified) (2 diffs)
-
vendor/vlucas/phpdotenv/src/Dotenv.php (modified) (6 diffs)
-
vendor/vlucas/phpdotenv/src/Parser/Entry.php (modified) (1 diff)
-
vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php (modified) (2 diffs)
-
vendor/vlucas/phpdotenv/src/Store/File/Reader.php (modified) (2 diffs)
-
vendor/vlucas/phpdotenv/src/Store/FileStore.php (modified) (1 diff)
-
vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php (modified) (2 diffs)
-
vendor/vlucas/phpdotenv/src/Util/Regex.php (modified) (1 diff)
-
vendor/vlucas/phpdotenv/src/Util/Str.php (modified) (2 diffs)
-
vendor/voku/simple_html_dom/CHANGELOG (modified) (1 diff)
-
vendor/voku/simple_html_dom/src/voku/helper/HtmlDomHelper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
web-archive/trunk/includes/class-assets.php
r3095601 r3125369 63 63 if (is_wp_error($response)) { 64 64 $error_message = $response->get_error_message(); 65 error_log("Error retrieving manifest: $error_message");66 65 } 67 66 else { -
web-archive/trunk/includes/class-init.php
r3095601 r3125369 30 30 */ 31 31 private $constants = array( 32 ' WA_MIN_WP_VERSION_SUPPORT_TERMS' => '6.0',33 ' WA_MIN_WP_VERSION' => '6.0',34 ' WA_MIN_PHP_VERSION' => '8.1',35 ' WA_MIN_MYSQL_VERSION' => '',36 ' WA_PLUGIN_PREFIX' => 'wa',37 ' WA_PLUGIN_NAME' => 'Web Archive',38 ' WA_PLUGIN_VERSION' => '0.0.1',39 ' WA_SNAPSHOTS_BASE_DIR' => WP_CONTENT_DIR . '/web-archive/snapshots',40 ' WA_SNAPSHOTS_UPLOADS_DIR' => WP_CONTENT_DIR . '/web-archive/snapshots/uploads',41 ' WA_SNAPSHOTS_BASE_URI' => '/web-archive/snapshots',42 ' WA_SNAPSHOTS_UPLOADS_URI' => WP_CONTENT_URL . '/web-archive/snapshots/uploads',32 'MIN_WP_VERSION_SUPPORT_TERMS' => '6.0', 33 'MIN_WP_VERSION' => '6.0', 34 'MIN_PHP_VERSION' => '8.1', 35 'MIN_MYSQL_VERSION' => '', 36 'PLUGIN_PREFIX' => 'wa', 37 'PLUGIN_NAME' => 'Web Archive', 38 'PLUGIN_VERSION' => '0.0.1', 39 'SNAPSHOTS_BASE_DIR' => WP_CONTENT_DIR . '/web-archive/snapshots', 40 'SNAPSHOTS_UPLOADS_DIR' => WP_CONTENT_DIR . '/web-archive/snapshots/uploads', 41 'SNAPSHOTS_BASE_URI' => '/web-archive/snapshots', 42 'SNAPSHOTS_UPLOADS_URI' => WP_CONTENT_URL . '/web-archive/snapshots/uploads', 43 43 ); 44 44 -
web-archive/trunk/includes/core/class-init.php
r3095601 r3125369 65 65 return; 66 66 67 $options = wp_parse_args( get_option('wa_general', []), array( 68 'post_type' => [], 69 )); 70 71 if ( ! in_array($post->post_type, $options['post_type'] ) ) { 72 return; 73 } 74 75 $snap = new Snapshot; 67 $snap = new Snapshot(); 76 68 $snap->create_log_entry( $new_status, $old_status, $post ); 77 69 } -
web-archive/trunk/includes/core/class-settings.php
r3095601 r3125369 70 70 { 71 71 $options = get_option('wa_general'); 72 $types = get_post_types([' exclude_from_search' => false], 'objects');72 $types = get_post_types(['publicly_queryable' => true], 'objects'); 73 73 $skip = ['attachment', 'snapshot']; 74 74 -
web-archive/trunk/includes/core/class-snapshot.php
r3095601 r3125369 19 19 private $dirs; 20 20 21 public function __construct() 21 private $args; 22 23 private $post_types = array(); 24 25 public function __construct( $args = array() ) 22 26 { 27 $this->args = $args; 28 $this->post_types = array( 29 'document', 30 'drops', 31 'free', 32 'learn', 33 'news', 34 'page', 35 'partnership', 36 'post', 37 'talks', 38 'tools', 39 'town-hall', 40 'updates', 41 ); 42 43 23 44 /** 24 45 * Use built in WordPress classes … … 42 63 */ 43 64 public function create_log_entry( string $new_status, string $old_status, \WP_Post $post ) { 65 66 // Not enabled for current post type 67 if ( ! in_array($post->post_type, $this->post_types) ) 68 return; 44 69 45 70 // Don't log in case post was never published … … 194 219 ]); 195 220 $headers = array( 196 'User-Agent' => "W eb-Archive/{$this->get_plugin_version()}",221 'User-Agent' => "WPWebArchive/{$this->get_plugin_version()}", 197 222 'X-WP-Nonce' => wp_create_nonce('create_snapshot'), 198 223 ); … … 229 254 $now = gmdate('Y/m/d'); 230 255 $time = gmdate('U'); 231 $baseDir = $this->get_constant(' WA_SNAPSHOTS_BASE_DIR');232 $baseUri = content_url($this->get_constant(' WA_SNAPSHOTS_BASE_URI'));256 $baseDir = $this->get_constant('SNAPSHOTS_BASE_DIR'); 257 $baseUri = content_url($this->get_constant('SNAPSHOTS_BASE_URI')); 233 258 234 259 // Consolidating directories and URIs into a single array … … 239 264 'snapshot_uri' => "{$baseUri}/{$now}/{$post_id}/{$time}", 240 265 'assets_uri' => "{$baseUri}/{$now}/{$post_id}/{$time}/assets", 241 'uploads_path' => $this->get_constant(' WA_SNAPSHOTS_UPLOADS_DIR'),242 'uploads_uri' => $this->get_constant(' WA_SNAPSHOTS_UPLOADS_URI'),266 'uploads_path' => $this->get_constant('SNAPSHOTS_UPLOADS_DIR'), 267 'uploads_uri' => $this->get_constant('SNAPSHOTS_UPLOADS_URI'), 243 268 'home_url' => untrailingslashit( home_url() ), 244 269 'theme_url' => untrailingslashit( get_stylesheet_directory_uri() ) -
web-archive/trunk/includes/traits/helpers.php
r3095601 r3125369 48 48 private function get_plugin_name(): string { 49 49 50 return $this->get_constant( ' WA_PLUGIN_NAME' );50 return $this->get_constant( 'PLUGIN_NAME' ); 51 51 } 52 52 … … 59 59 private function get_plugin_version(): string { 60 60 61 return $this->get_constant( ' WA_PLUGIN_VERSION' );61 return $this->get_constant( 'PLUGIN_VERSION' ); 62 62 } 63 63 … … 72 72 private function get_plugin_id( string $append = '' ): string { 73 73 74 $dashed = str_replace( '_', '-', $this->get_constant( ' WA_PLUGIN_NAME' ) );74 $dashed = str_replace( '_', '-', $this->get_constant( 'PLUGIN_NAME' ) ); 75 75 76 76 return sanitize_title( $dashed ) . $append; -
web-archive/trunk/includes/utils/node-processor.php
r3095601 r3125369 135 135 $this->fs->put_contents( $paths['path'], $response->getBody()->getContents() ); 136 136 137 $this->log( $url ); 138 $this->log( $paths ); 139 137 140 return $paths['uri']; 138 141 } -
web-archive/trunk/vendor/autoload.php
r3095601 r3125369 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 3ac79f3ca8fdadb11e726a404b8aea8d::getLoader();25 return ComposerAutoloaderInitcc594e133ef0078dd2cc34849b4f009c::getLoader(); -
web-archive/trunk/vendor/composer/autoload_psr4.php
r3095601 r3125369 12 12 'Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), 13 13 'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'), 14 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http- message/src', $vendorDir . '/psr/http-factory/src'),14 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-factory/src', $vendorDir . '/psr/http-message/src'), 15 15 'Psr\\Http\\Client\\' => array($vendorDir . '/psr/http-client/src'), 16 16 'PhpOption\\' => array($vendorDir . '/phpoption/phpoption/src/PhpOption'), -
web-archive/trunk/vendor/composer/autoload_real.php
r3095601 r3125369 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 3ac79f3ca8fdadb11e726a404b8aea8d5 class ComposerAutoloaderInitcc594e133ef0078dd2cc34849b4f009c 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 3ac79f3ca8fdadb11e726a404b8aea8d', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitcc594e133ef0078dd2cc34849b4f009c', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 3ac79f3ca8fdadb11e726a404b8aea8d', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitcc594e133ef0078dd2cc34849b4f009c', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 3ac79f3ca8fdadb11e726a404b8aea8d::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitcc594e133ef0078dd2cc34849b4f009c::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit 3ac79f3ca8fdadb11e726a404b8aea8d::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInitcc594e133ef0078dd2cc34849b4f009c::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
web-archive/trunk/vendor/composer/autoload_static.php
r3095601 r3125369 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 3ac79f3ca8fdadb11e726a404b8aea8d7 class ComposerStaticInitcc594e133ef0078dd2cc34849b4f009c 8 8 { 9 9 public static $files = array ( … … 74 74 'Psr\\Http\\Message\\' => 75 75 array ( 76 0 => __DIR__ . '/..' . '/psr/http- message/src',77 1 => __DIR__ . '/..' . '/psr/http- factory/src',76 0 => __DIR__ . '/..' . '/psr/http-factory/src', 77 1 => __DIR__ . '/..' . '/psr/http-message/src', 78 78 ), 79 79 'Psr\\Http\\Client\\' => … … 136 136 { 137 137 return \Closure::bind(function () use ($loader) { 138 $loader->prefixLengthsPsr4 = ComposerStaticInit 3ac79f3ca8fdadb11e726a404b8aea8d::$prefixLengthsPsr4;139 $loader->prefixDirsPsr4 = ComposerStaticInit 3ac79f3ca8fdadb11e726a404b8aea8d::$prefixDirsPsr4;140 $loader->classMap = ComposerStaticInit 3ac79f3ca8fdadb11e726a404b8aea8d::$classMap;138 $loader->prefixLengthsPsr4 = ComposerStaticInitcc594e133ef0078dd2cc34849b4f009c::$prefixLengthsPsr4; 139 $loader->prefixDirsPsr4 = ComposerStaticInitcc594e133ef0078dd2cc34849b4f009c::$prefixDirsPsr4; 140 $loader->classMap = ComposerStaticInitcc594e133ef0078dd2cc34849b4f009c::$classMap; 141 141 142 142 }, null, ClassLoader::class); -
web-archive/trunk/vendor/composer/installed.json
r3095601 r3125369 3 3 { 4 4 "name": "composer/installers", 5 "version": "v2. 2.0",6 "version_normalized": "2. 2.0.0",5 "version": "v2.3.0", 6 "version_normalized": "2.3.0.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/composer/installers.git", 10 "reference": " c29dc4b93137acb82734f672c37e029dfbd95b35"11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/composer/installers/zipball/ c29dc4b93137acb82734f672c37e029dfbd95b35",15 "reference": " c29dc4b93137acb82734f672c37e029dfbd95b35",10 "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/composer/installers/zipball/12fb2dfe5e16183de69e784a7b84046c43d97e8e", 15 "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e", 16 16 "shasum": "" 17 17 }, … … 21 21 }, 22 22 "require-dev": { 23 "composer/composer": " 1.6.* || ^2.0",24 "composer/semver": "^1 || ^3",25 "phpstan/phpstan": "^ 0.12.55",26 "phpstan/phpstan-phpunit": "^ 0.12.16",27 "symfony/phpunit-bridge": "^ 5.3",28 "symfony/process": "^5 "29 }, 30 "time": "202 2-08-20T06:45:11+00:00",23 "composer/composer": "^1.10.27 || ^2.7", 24 "composer/semver": "^1.7.2 || ^3.4.0", 25 "phpstan/phpstan": "^1.11", 26 "phpstan/phpstan-phpunit": "^1", 27 "symfony/phpunit-bridge": "^7.1.1", 28 "symfony/process": "^5 || ^6 || ^7" 29 }, 30 "time": "2024-06-24T20:46:46+00:00", 31 31 "type": "composer-plugin", 32 32 "extra": { … … 85 85 "codeigniter", 86 86 "concrete5", 87 "concreteCMS", 87 88 "croogo", 88 89 "dokuwiki", … … 131 132 "support": { 132 133 "issues": "https://github.com/composer/installers/issues", 133 "source": "https://github.com/composer/installers/tree/v2. 2.0"134 "source": "https://github.com/composer/installers/tree/v2.3.0" 134 135 }, 135 136 "funding": [ … … 151 152 { 152 153 "name": "graham-campbell/result-type", 153 "version": "v1.1. 2",154 "version_normalized": "1.1. 2.0",154 "version": "v1.1.3", 155 "version_normalized": "1.1.3.0", 155 156 "source": { 156 157 "type": "git", 157 158 "url": "https://github.com/GrahamCampbell/Result-Type.git", 158 "reference": " fbd48bce38f73f8a4ec8583362e732e4095e5862"159 }, 160 "dist": { 161 "type": "zip", 162 "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/ fbd48bce38f73f8a4ec8583362e732e4095e5862",163 "reference": " fbd48bce38f73f8a4ec8583362e732e4095e5862",159 "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" 160 }, 161 "dist": { 162 "type": "zip", 163 "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", 164 "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", 164 165 "shasum": "" 165 166 }, 166 167 "require": { 167 168 "php": "^7.2.5 || ^8.0", 168 "phpoption/phpoption": "^1.9. 2"169 "phpoption/phpoption": "^1.9.3" 169 170 }, 170 171 "require-dev": { 171 "phpunit/phpunit": "^8.5.3 4 || ^9.6.13 || ^10.4.2"172 }, 173 "time": "202 3-11-12T22:16:48+00:00",172 "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" 173 }, 174 "time": "2024-07-20T21:45:45+00:00", 174 175 "type": "library", 175 176 "installation-source": "dist", … … 200 201 "support": { 201 202 "issues": "https://github.com/GrahamCampbell/Result-Type/issues", 202 "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1. 2"203 "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" 203 204 }, 204 205 "funding": [ … … 216 217 { 217 218 "name": "guzzlehttp/guzzle", 218 "version": "7. 8.1",219 "version_normalized": "7. 8.1.0",219 "version": "7.9.2", 220 "version_normalized": "7.9.2.0", 220 221 "source": { 221 222 "type": "git", 222 223 "url": "https://github.com/guzzle/guzzle.git", 223 "reference": " 41042bc7ab002487b876a0683fc8dce04ddce104"224 }, 225 "dist": { 226 "type": "zip", 227 "url": "https://api.github.com/repos/guzzle/guzzle/zipball/ 41042bc7ab002487b876a0683fc8dce04ddce104",228 "reference": " 41042bc7ab002487b876a0683fc8dce04ddce104",224 "reference": "d281ed313b989f213357e3be1a179f02196ac99b" 225 }, 226 "dist": { 227 "type": "zip", 228 "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", 229 "reference": "d281ed313b989f213357e3be1a179f02196ac99b", 229 230 "shasum": "" 230 231 }, 231 232 "require": { 232 233 "ext-json": "*", 233 "guzzlehttp/promises": "^1.5.3 || ^2.0. 1",234 "guzzlehttp/psr7": "^ 1.9.1 || ^2.5.1",234 "guzzlehttp/promises": "^1.5.3 || ^2.0.3", 235 "guzzlehttp/psr7": "^2.7.0", 235 236 "php": "^7.2.5 || ^8.0", 236 237 "psr/http-client": "^1.0", … … 243 244 "bamarni/composer-bin-plugin": "^1.8.2", 244 245 "ext-curl": "*", 245 " php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",246 "guzzle/client-integration-tests": "3.0.2", 246 247 "php-http/message-factory": "^1.1", 247 "phpunit/phpunit": "^8.5.3 6 || ^9.6.15",248 "phpunit/phpunit": "^8.5.39 || ^9.6.20", 248 249 "psr/log": "^1.1 || ^2.0 || ^3.0" 249 250 }, … … 253 254 "psr/log": "Required for using the Log middleware" 254 255 }, 255 "time": "202 3-12-03T20:35:24+00:00",256 "time": "2024-07-24T11:22:20+00:00", 256 257 "type": "library", 257 258 "extra": { … … 325 326 "support": { 326 327 "issues": "https://github.com/guzzle/guzzle/issues", 327 "source": "https://github.com/guzzle/guzzle/tree/7. 8.1"328 "source": "https://github.com/guzzle/guzzle/tree/7.9.2" 328 329 }, 329 330 "funding": [ … … 345 346 { 346 347 "name": "guzzlehttp/promises", 347 "version": "2.0. 2",348 "version_normalized": "2.0. 2.0",348 "version": "2.0.3", 349 "version_normalized": "2.0.3.0", 349 350 "source": { 350 351 "type": "git", 351 352 "url": "https://github.com/guzzle/promises.git", 352 "reference": " bbff78d96034045e58e13dedd6ad91b5d1253223"353 }, 354 "dist": { 355 "type": "zip", 356 "url": "https://api.github.com/repos/guzzle/promises/zipball/ bbff78d96034045e58e13dedd6ad91b5d1253223",357 "reference": " bbff78d96034045e58e13dedd6ad91b5d1253223",353 "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8" 354 }, 355 "dist": { 356 "type": "zip", 357 "url": "https://api.github.com/repos/guzzle/promises/zipball/6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", 358 "reference": "6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8", 358 359 "shasum": "" 359 360 }, … … 363 364 "require-dev": { 364 365 "bamarni/composer-bin-plugin": "^1.8.2", 365 "phpunit/phpunit": "^8.5.3 6 || ^9.6.15"366 }, 367 "time": "202 3-12-03T20:19:20+00:00",366 "phpunit/phpunit": "^8.5.39 || ^9.6.20" 367 }, 368 "time": "2024-07-18T10:29:17+00:00", 368 369 "type": "library", 369 370 "extra": { … … 411 412 "support": { 412 413 "issues": "https://github.com/guzzle/promises/issues", 413 "source": "https://github.com/guzzle/promises/tree/2.0. 2"414 "source": "https://github.com/guzzle/promises/tree/2.0.3" 414 415 }, 415 416 "funding": [ … … 431 432 { 432 433 "name": "guzzlehttp/psr7", 433 "version": "2. 6.2",434 "version_normalized": "2. 6.2.0",434 "version": "2.7.0", 435 "version_normalized": "2.7.0.0", 435 436 "source": { 436 437 "type": "git", 437 438 "url": "https://github.com/guzzle/psr7.git", 438 "reference": " 45b30f99ac27b5ca93cb4831afe16285f57b8221"439 }, 440 "dist": { 441 "type": "zip", 442 "url": "https://api.github.com/repos/guzzle/psr7/zipball/ 45b30f99ac27b5ca93cb4831afe16285f57b8221",443 "reference": " 45b30f99ac27b5ca93cb4831afe16285f57b8221",439 "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" 440 }, 441 "dist": { 442 "type": "zip", 443 "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", 444 "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", 444 445 "shasum": "" 445 446 }, … … 456 457 "require-dev": { 457 458 "bamarni/composer-bin-plugin": "^1.8.2", 458 "http-interop/http-factory-tests": " ^0.9",459 "phpunit/phpunit": "^8.5.3 6 || ^9.6.15"459 "http-interop/http-factory-tests": "0.9.0", 460 "phpunit/phpunit": "^8.5.39 || ^9.6.20" 460 461 }, 461 462 "suggest": { 462 463 "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" 463 464 }, 464 "time": "202 3-12-03T20:05:35+00:00",465 "time": "2024-07-18T11:15:46+00:00", 465 466 "type": "library", 466 467 "extra": { … … 530 531 "support": { 531 532 "issues": "https://github.com/guzzle/psr7/issues", 532 "source": "https://github.com/guzzle/psr7/tree/2. 6.2"533 "source": "https://github.com/guzzle/psr7/tree/2.7.0" 533 534 }, 534 535 "funding": [ … … 550 551 { 551 552 "name": "phpoption/phpoption", 552 "version": "1.9. 2",553 "version_normalized": "1.9. 2.0",553 "version": "1.9.3", 554 "version_normalized": "1.9.3.0", 554 555 "source": { 555 556 "type": "git", 556 557 "url": "https://github.com/schmittjoh/php-option.git", 557 "reference": " 80735db690fe4fc5c76dfa7f9b770634285fa820"558 }, 559 "dist": { 560 "type": "zip", 561 "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/ 80735db690fe4fc5c76dfa7f9b770634285fa820",562 "reference": " 80735db690fe4fc5c76dfa7f9b770634285fa820",558 "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" 559 }, 560 "dist": { 561 "type": "zip", 562 "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", 563 "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", 563 564 "shasum": "" 564 565 }, … … 568 569 "require-dev": { 569 570 "bamarni/composer-bin-plugin": "^1.8.2", 570 "phpunit/phpunit": "^8.5.3 4 || ^9.6.13 || ^10.4.2"571 }, 572 "time": "202 3-11-12T21:59:55+00:00",571 "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" 572 }, 573 "time": "2024-07-20T21:41:07+00:00", 573 574 "type": "library", 574 575 "extra": { 575 576 "bamarni-bin": { 576 577 "bin-links": true, 577 "forward-command": true578 "forward-command": false 578 579 }, 579 580 "branch-alias": { … … 612 613 "support": { 613 614 "issues": "https://github.com/schmittjoh/php-option/issues", 614 "source": "https://github.com/schmittjoh/php-option/tree/1.9. 2"615 "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" 615 616 }, 616 617 "funding": [ … … 844 845 { 845 846 "name": "symfony/css-selector", 846 "version": "v7.1. 0",847 "version_normalized": "7.1. 0.0",847 "version": "v7.1.1", 848 "version_normalized": "7.1.1.0", 848 849 "source": { 849 850 "type": "git", 850 851 "url": "https://github.com/symfony/css-selector.git", 851 "reference": " 843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc"852 }, 853 "dist": { 854 "type": "zip", 855 "url": "https://api.github.com/repos/symfony/css-selector/zipball/ 843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc",856 "reference": " 843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc",852 "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4" 853 }, 854 "dist": { 855 "type": "zip", 856 "url": "https://api.github.com/repos/symfony/css-selector/zipball/1c7cee86c6f812896af54434f8ce29c8d94f9ff4", 857 "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4", 857 858 "shasum": "" 858 859 }, … … 860 861 "php": ">=8.2" 861 862 }, 862 "time": "2024-0 4-18T09:32:20+00:00",863 "time": "2024-05-31T14:57:53+00:00", 863 864 "type": "library", 864 865 "installation-source": "dist", … … 892 893 "homepage": "https://symfony.com", 893 894 "support": { 894 "source": "https://github.com/symfony/css-selector/tree/v7.1. 0"895 "source": "https://github.com/symfony/css-selector/tree/v7.1.1" 895 896 }, 896 897 "funding": [ … … 982 983 { 983 984 "name": "symfony/polyfill-ctype", 984 "version": "v1. 29.0",985 "version_normalized": "1. 29.0.0",985 "version": "v1.30.0", 986 "version_normalized": "1.30.0.0", 986 987 "source": { 987 988 "type": "git", 988 989 "url": "https://github.com/symfony/polyfill-ctype.git", 989 "reference": " ef4d7e442ca910c4764bce785146269b30cb5fc4"990 }, 991 "dist": { 992 "type": "zip", 993 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ ef4d7e442ca910c4764bce785146269b30cb5fc4",994 "reference": " ef4d7e442ca910c4764bce785146269b30cb5fc4",990 "reference": "0424dff1c58f028c451efff2045f5d92410bd540" 991 }, 992 "dist": { 993 "type": "zip", 994 "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", 995 "reference": "0424dff1c58f028c451efff2045f5d92410bd540", 995 996 "shasum": "" 996 997 }, … … 1004 1005 "ext-ctype": "For best performance" 1005 1006 }, 1006 "time": "2024-0 1-29T20:11:03+00:00",1007 "time": "2024-05-31T15:07:36+00:00", 1007 1008 "type": "library", 1008 1009 "extra": { … … 1044 1045 ], 1045 1046 "support": { 1046 "source": "https://github.com/symfony/polyfill-ctype/tree/v1. 29.0"1047 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" 1047 1048 }, 1048 1049 "funding": [ … … 1064 1065 { 1065 1066 "name": "symfony/polyfill-mbstring", 1066 "version": "v1. 29.0",1067 "version_normalized": "1. 29.0.0",1067 "version": "v1.30.0", 1068 "version_normalized": "1.30.0.0", 1068 1069 "source": { 1069 1070 "type": "git", 1070 1071 "url": "https://github.com/symfony/polyfill-mbstring.git", 1071 "reference": " 9773676c8a1bb1f8d4340a62efe641cf76eda7ec"1072 }, 1073 "dist": { 1074 "type": "zip", 1075 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/ 9773676c8a1bb1f8d4340a62efe641cf76eda7ec",1076 "reference": " 9773676c8a1bb1f8d4340a62efe641cf76eda7ec",1072 "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" 1073 }, 1074 "dist": { 1075 "type": "zip", 1076 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", 1077 "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", 1077 1078 "shasum": "" 1078 1079 }, … … 1086 1087 "ext-mbstring": "For best performance" 1087 1088 }, 1088 "time": "2024-0 1-29T20:11:03+00:00",1089 "time": "2024-06-19T12:30:46+00:00", 1089 1090 "type": "library", 1090 1091 "extra": { … … 1127 1128 ], 1128 1129 "support": { 1129 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1. 29.0"1130 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" 1130 1131 }, 1131 1132 "funding": [ … … 1147 1148 { 1148 1149 "name": "symfony/polyfill-php80", 1149 "version": "v1. 29.0",1150 "version_normalized": "1. 29.0.0",1150 "version": "v1.30.0", 1151 "version_normalized": "1.30.0.0", 1151 1152 "source": { 1152 1153 "type": "git", 1153 1154 "url": "https://github.com/symfony/polyfill-php80.git", 1154 "reference": " 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b"1155 }, 1156 "dist": { 1157 "type": "zip", 1158 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/ 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",1159 "reference": " 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b",1155 "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" 1156 }, 1157 "dist": { 1158 "type": "zip", 1159 "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", 1160 "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", 1160 1161 "shasum": "" 1161 1162 }, … … 1163 1164 "php": ">=7.1" 1164 1165 }, 1165 "time": "2024-0 1-29T20:11:03+00:00",1166 "time": "2024-05-31T15:07:36+00:00", 1166 1167 "type": "library", 1167 1168 "extra": { … … 1210 1211 ], 1211 1212 "support": { 1212 "source": "https://github.com/symfony/polyfill-php80/tree/v1. 29.0"1213 "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" 1213 1214 }, 1214 1215 "funding": [ … … 1230 1231 { 1231 1232 "name": "vlucas/phpdotenv", 1232 "version": "v5.6. 0",1233 "version_normalized": "5.6. 0.0",1233 "version": "v5.6.1", 1234 "version_normalized": "5.6.1.0", 1234 1235 "source": { 1235 1236 "type": "git", 1236 1237 "url": "https://github.com/vlucas/phpdotenv.git", 1237 "reference": " 2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4"1238 }, 1239 "dist": { 1240 "type": "zip", 1241 "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/ 2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4",1242 "reference": " 2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4",1238 "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" 1239 }, 1240 "dist": { 1241 "type": "zip", 1242 "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", 1243 "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", 1243 1244 "shasum": "" 1244 1245 }, 1245 1246 "require": { 1246 1247 "ext-pcre": "*", 1247 "graham-campbell/result-type": "^1.1. 2",1248 "graham-campbell/result-type": "^1.1.3", 1248 1249 "php": "^7.2.5 || ^8.0", 1249 "phpoption/phpoption": "^1.9. 2",1250 "phpoption/phpoption": "^1.9.3", 1250 1251 "symfony/polyfill-ctype": "^1.24", 1251 1252 "symfony/polyfill-mbstring": "^1.24", … … 1260 1261 "ext-filter": "Required to use the boolean validator." 1261 1262 }, 1262 "time": "202 3-11-12T22:43:29+00:00",1263 "time": "2024-07-20T21:52:34+00:00", 1263 1264 "type": "library", 1264 1265 "extra": { 1265 1266 "bamarni-bin": { 1266 1267 "bin-links": true, 1267 "forward-command": true1268 "forward-command": false 1268 1269 }, 1269 1270 "branch-alias": { … … 1301 1302 "support": { 1302 1303 "issues": "https://github.com/vlucas/phpdotenv/issues", 1303 "source": "https://github.com/vlucas/phpdotenv/tree/v5.6. 0"1304 "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" 1304 1305 }, 1305 1306 "funding": [ … … 1317 1318 { 1318 1319 "name": "voku/simple_html_dom", 1319 "version": "4.8. 9",1320 "version_normalized": "4.8. 9.0",1320 "version": "4.8.10", 1321 "version_normalized": "4.8.10.0", 1321 1322 "source": { 1322 1323 "type": "git", 1323 1324 "url": "https://github.com/voku/simple_html_dom.git", 1324 "reference": " e477d316aa0ea9d4d482d9f542af81b617d46ad2"1325 }, 1326 "dist": { 1327 "type": "zip", 1328 "url": "https://api.github.com/repos/voku/simple_html_dom/zipball/ e477d316aa0ea9d4d482d9f542af81b617d46ad2",1329 "reference": " e477d316aa0ea9d4d482d9f542af81b617d46ad2",1325 "reference": "716822ed52ed3a1881542be07a786270de390e99" 1326 }, 1327 "dist": { 1328 "type": "zip", 1329 "url": "https://api.github.com/repos/voku/simple_html_dom/zipball/716822ed52ed3a1881542be07a786270de390e99", 1330 "reference": "716822ed52ed3a1881542be07a786270de390e99", 1330 1331 "shasum": "" 1331 1332 }, … … 1343 1344 "voku/portable-utf8": "If you need e.g. UTF-8 fixed output." 1344 1345 }, 1345 "time": "2024-0 5-25T07:52:26+00:00",1346 "time": "2024-07-03T16:05:14+00:00", 1346 1347 "type": "library", 1347 1348 "installation-source": "dist", … … 1377 1378 "support": { 1378 1379 "issues": "https://github.com/voku/simple_html_dom/issues", 1379 "source": "https://github.com/voku/simple_html_dom/tree/4.8. 9"1380 "source": "https://github.com/voku/simple_html_dom/tree/4.8.10" 1380 1381 }, 1381 1382 "funding": [ -
web-archive/trunk/vendor/composer/installed.php
r3095601 r3125369 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' b16e2779faea605146f2f1b22e71e906821adc25',6 'reference' => '6d5f799543ca75847a7465a8d09265186977c4a2', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' b16e2779faea605146f2f1b22e71e906821adc25',16 'reference' => '6d5f799543ca75847a7465a8d09265186977c4a2', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', … … 21 21 ), 22 22 'composer/installers' => array( 23 'pretty_version' => 'v2. 2.0',24 'version' => '2. 2.0.0',25 'reference' => ' c29dc4b93137acb82734f672c37e029dfbd95b35',23 'pretty_version' => 'v2.3.0', 24 'version' => '2.3.0.0', 25 'reference' => '12fb2dfe5e16183de69e784a7b84046c43d97e8e', 26 26 'type' => 'composer-plugin', 27 27 'install_path' => __DIR__ . '/./installers', … … 30 30 ), 31 31 'graham-campbell/result-type' => array( 32 'pretty_version' => 'v1.1. 2',33 'version' => '1.1. 2.0',34 'reference' => ' fbd48bce38f73f8a4ec8583362e732e4095e5862',32 'pretty_version' => 'v1.1.3', 33 'version' => '1.1.3.0', 34 'reference' => '3ba905c11371512af9d9bdd27d99b782216b6945', 35 35 'type' => 'library', 36 36 'install_path' => __DIR__ . '/../graham-campbell/result-type', … … 39 39 ), 40 40 'guzzlehttp/guzzle' => array( 41 'pretty_version' => '7. 8.1',42 'version' => '7. 8.1.0',43 'reference' => ' 41042bc7ab002487b876a0683fc8dce04ddce104',41 'pretty_version' => '7.9.2', 42 'version' => '7.9.2.0', 43 'reference' => 'd281ed313b989f213357e3be1a179f02196ac99b', 44 44 'type' => 'library', 45 45 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', … … 48 48 ), 49 49 'guzzlehttp/promises' => array( 50 'pretty_version' => '2.0. 2',51 'version' => '2.0. 2.0',52 'reference' => ' bbff78d96034045e58e13dedd6ad91b5d1253223',50 'pretty_version' => '2.0.3', 51 'version' => '2.0.3.0', 52 'reference' => '6ea8dd08867a2a42619d65c3deb2c0fcbf81c8f8', 53 53 'type' => 'library', 54 54 'install_path' => __DIR__ . '/../guzzlehttp/promises', … … 57 57 ), 58 58 'guzzlehttp/psr7' => array( 59 'pretty_version' => '2. 6.2',60 'version' => '2. 6.2.0',61 'reference' => ' 45b30f99ac27b5ca93cb4831afe16285f57b8221',59 'pretty_version' => '2.7.0', 60 'version' => '2.7.0.0', 61 'reference' => 'a70f5c95fb43bc83f07c9c948baa0dc1829bf201', 62 62 'type' => 'library', 63 63 'install_path' => __DIR__ . '/../guzzlehttp/psr7', … … 66 66 ), 67 67 'phpoption/phpoption' => array( 68 'pretty_version' => '1.9. 2',69 'version' => '1.9. 2.0',70 'reference' => ' 80735db690fe4fc5c76dfa7f9b770634285fa820',68 'pretty_version' => '1.9.3', 69 'version' => '1.9.3.0', 70 'reference' => 'e3fac8b24f56113f7cb96af14958c0dd16330f54', 71 71 'type' => 'library', 72 72 'install_path' => __DIR__ . '/../phpoption/phpoption', … … 129 129 ), 130 130 'symfony/css-selector' => array( 131 'pretty_version' => 'v7.1. 0',132 'version' => '7.1. 0.0',133 'reference' => ' 843f2f7ac5e4c5bf0ec77daef23ca6d4d8922adc',131 'pretty_version' => 'v7.1.1', 132 'version' => '7.1.1.0', 133 'reference' => '1c7cee86c6f812896af54434f8ce29c8d94f9ff4', 134 134 'type' => 'library', 135 135 'install_path' => __DIR__ . '/../symfony/css-selector', … … 147 147 ), 148 148 'symfony/polyfill-ctype' => array( 149 'pretty_version' => 'v1. 29.0',150 'version' => '1. 29.0.0',151 'reference' => ' ef4d7e442ca910c4764bce785146269b30cb5fc4',149 'pretty_version' => 'v1.30.0', 150 'version' => '1.30.0.0', 151 'reference' => '0424dff1c58f028c451efff2045f5d92410bd540', 152 152 'type' => 'library', 153 153 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', … … 156 156 ), 157 157 'symfony/polyfill-mbstring' => array( 158 'pretty_version' => 'v1. 29.0',159 'version' => '1. 29.0.0',160 'reference' => ' 9773676c8a1bb1f8d4340a62efe641cf76eda7ec',158 'pretty_version' => 'v1.30.0', 159 'version' => '1.30.0.0', 160 'reference' => 'fd22ab50000ef01661e2a31d850ebaa297f8e03c', 161 161 'type' => 'library', 162 162 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', … … 165 165 ), 166 166 'symfony/polyfill-php80' => array( 167 'pretty_version' => 'v1. 29.0',168 'version' => '1. 29.0.0',169 'reference' => ' 87b68208d5c1188808dd7839ee1e6c8ec3b02f1b',167 'pretty_version' => 'v1.30.0', 168 'version' => '1.30.0.0', 169 'reference' => '77fa7995ac1b21ab60769b7323d600a991a90433', 170 170 'type' => 'library', 171 171 'install_path' => __DIR__ . '/../symfony/polyfill-php80', … … 174 174 ), 175 175 'vlucas/phpdotenv' => array( 176 'pretty_version' => 'v5.6. 0',177 'version' => '5.6. 0.0',178 'reference' => ' 2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4',176 'pretty_version' => 'v5.6.1', 177 'version' => '5.6.1.0', 178 'reference' => 'a59a13791077fe3d44f90e7133eb68e7d22eaff2', 179 179 'type' => 'library', 180 180 'install_path' => __DIR__ . '/../vlucas/phpdotenv', … … 183 183 ), 184 184 'voku/simple_html_dom' => array( 185 'pretty_version' => '4.8. 9',186 'version' => '4.8. 9.0',187 'reference' => ' e477d316aa0ea9d4d482d9f542af81b617d46ad2',185 'pretty_version' => '4.8.10', 186 'version' => '4.8.10.0', 187 'reference' => '716822ed52ed3a1881542be07a786270de390e99', 188 188 'type' => 'library', 189 189 'install_path' => __DIR__ . '/../voku/simple_html_dom', -
web-archive/trunk/vendor/composer/installers/.github/workflows/continuous-integration.yml
r3095601 r3125369 8 8 COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" 9 9 SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT: "1" 10 11 permissions: 12 contents: read 10 13 11 14 jobs: -
web-archive/trunk/vendor/composer/installers/.github/workflows/lint.yml
r3095601 r3125369 4 4 - push 5 5 - pull_request 6 7 permissions: 8 contents: read 6 9 7 10 jobs: -
web-archive/trunk/vendor/composer/installers/.github/workflows/phpstan.yml
r3095601 r3125369 8 8 COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" 9 9 SYMFONY_PHPUNIT_VERSION: "" 10 11 permissions: 12 contents: read 10 13 11 14 jobs: -
web-archive/trunk/vendor/composer/installers/composer.json
r3095601 r3125369 15 15 "CodeIgniter", 16 16 "concrete5", 17 "ConcreteCMS", 17 18 "Croogo", 18 19 "DokuWiki", … … 103 104 }, 104 105 "require-dev": { 105 "composer/composer": " 1.6.* || ^2.0",106 "composer/semver": "^1 || ^3",107 "symfony/phpunit-bridge": "^ 5.3",108 "phpstan/phpstan": "^ 0.12.55",109 "symfony/process": "^5 ",110 "phpstan/phpstan-phpunit": "^ 0.12.16"106 "composer/composer": "^1.10.27 || ^2.7", 107 "composer/semver": "^1.7.2 || ^3.4.0", 108 "symfony/phpunit-bridge": "^7.1.1", 109 "phpstan/phpstan": "^1.11", 110 "symfony/process": "^5 || ^6 || ^7", 111 "phpstan/phpstan-phpunit": "^1" 111 112 }, 112 113 "scripts": { 113 "test": " vendor/bin/simple-phpunit",114 "phpstan": " vendor/bin/phpstan analyse"114 "test": "@php vendor/bin/simple-phpunit", 115 "phpstan": "@php vendor/bin/phpstan analyse" 115 116 } 116 117 } -
web-archive/trunk/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
r3095601 r3125369 47 47 * Check if CakePHP version matches against a version 48 48 * 49 * @phpstan-param Constraint::STR_OP_*$matcher49 * @phpstan-param '='|'=='|'<'|'<='|'>'|'>='|'<>'|'!=' $matcher 50 50 */ 51 51 protected function matchesCakeVersion(string $matcher, string $version): bool -
web-archive/trunk/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
r3095601 r3125369 21 21 'console-language' => 'console/language/{$name}/', 22 22 'config' => 'config/sync/', 23 'recipe' => 'recipes/{$name}', 23 24 ); 24 25 } -
web-archive/trunk/vendor/composer/installers/src/Composer/Installers/Installer.php
r3095601 r3125369 27 27 'annotatecms' => 'AnnotateCmsInstaller', 28 28 'bitrix' => 'BitrixInstaller', 29 'botble' => 'BotbleInstaller', 29 30 'bonefish' => 'BonefishInstaller', 30 31 'cakephp' => 'CakePHPInstaller', … … 35 36 'codeigniter' => 'CodeIgniterInstaller', 36 37 'concrete5' => 'Concrete5Installer', 38 'concretecms' => 'ConcreteCMSInstaller', 37 39 'croogo' => 'CroogoInstaller', 38 40 'dframe' => 'DframeInstaller', … … 46 48 'ee2' => 'ExpressionEngineInstaller', 47 49 'ezplatform' => 'EzPlatformInstaller', 50 'fork' => 'ForkCMSInstaller', 48 51 'fuel' => 'FuelInstaller', 49 52 'fuelphp' => 'FuelphpInstaller', … … 146 149 147 150 $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; 151 /** 152 * @var BaseInstaller 153 */ 148 154 $installer = new $class($package, $this->composer, $this->getIO()); 149 155 … … 179 185 /** 180 186 * {@inheritDoc} 187 * 188 * @param string $packageType 181 189 */ 182 190 public function supports($packageType) -
web-archive/trunk/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
r3095601 r3125369 22 22 'cachelock' => 'cache/locks/{$name}/', 23 23 'calendartype' => 'calendar/type/{$name}/', 24 'communication' => 'communication/provider/{$name}/', 24 25 'customfield' => 'customfield/field/{$name}/', 25 26 'fileconverter' => 'files/converter/{$name}/', … … 34 35 'enrol' => 'enrol/{$name}/', 35 36 'filter' => 'filter/{$name}/', 37 'forumreport' => 'mod/forum/report/{$name}/', 36 38 'gradeexport' => 'grade/export/{$name}/', 37 39 'gradeimport' => 'grade/import/{$name}/', 38 40 'gradereport' => 'grade/report/{$name}/', 39 41 'gradingform' => 'grade/grading/form/{$name}/', 42 'h5plib' => 'h5p/h5plib/{$name}/', 40 43 'local' => 'local/{$name}/', 41 44 'logstore' => 'admin/tool/log/store/{$name}/', … … 44 47 'media' => 'media/player/{$name}/', 45 48 'message' => 'message/output/{$name}/', 49 'mlbackend' => 'lib/mlbackend/{$name}/', 46 50 'mnetservice' => 'mnet/service/{$name}/', 47 51 'paygw' => 'payment/gateway/{$name}/', 48 52 'plagiarism' => 'plagiarism/{$name}/', 49 53 'portfolio' => 'portfolio/{$name}/', 54 'qbank' => 'question/bank/{$name}/', 50 55 'qbehaviour' => 'question/behaviour/{$name}/', 51 56 'qformat' => 'question/format/{$name}/', … … 58 63 'search' => 'search/engine/{$name}/', 59 64 'theme' => 'theme/{$name}/', 65 'tiny' => 'lib/editor/tiny/plugins/{$name}/', 60 66 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/', 61 67 'profilefield' => 'user/profile/field/{$name}/', -
web-archive/trunk/vendor/graham-campbell/result-type/LICENSE
r3095601 r3125369 1 1 The MIT License (MIT) 2 2 3 Copyright (c) 2020-202 3Graham Campbell <hello@gjcampbell.co.uk>3 Copyright (c) 2020-2024 Graham Campbell <hello@gjcampbell.co.uk> 4 4 5 5 Permission is hereby granted, free of charge, to any person obtaining a copy -
web-archive/trunk/vendor/graham-campbell/result-type/composer.json
r3095601 r3125369 13 13 "require": { 14 14 "php": "^7.2.5 || ^8.0", 15 "phpoption/phpoption": "^1.9. 2"15 "phpoption/phpoption": "^1.9.3" 16 16 }, 17 17 "require-dev": { 18 "phpunit/phpunit": "^8.5.3 4 || ^9.6.13 || ^10.4.2"18 "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" 19 19 }, 20 20 "autoload": { -
web-archive/trunk/vendor/guzzlehttp/guzzle/CHANGELOG.md
r3095601 r3125369 2 2 3 3 Please refer to [UPGRADING](UPGRADING.md) guide for upgrading to a major version. 4 5 6 ## 7.9.2 - 2024-07-24 7 8 ### Fixed 9 10 - Adjusted handler selection to use cURL if its version is 7.21.2 or higher, rather than 7.34.0 11 12 13 ## 7.9.1 - 2024-07-19 14 15 ### Fixed 16 17 - Fix TLS 1.3 check for HTTP/2 requests 18 19 20 ## 7.9.0 - 2024-07-18 21 22 ### Changed 23 24 - Improve protocol version checks to provide feedback around unsupported protocols 25 - Only select the cURL handler by default if 7.34.0 or higher is linked 26 - Improved `CurlMultiHandler` to avoid busy wait if possible 27 - Dropped support for EOL `guzzlehttp/psr7` v1 28 - Improved URI user info redaction in errors 29 30 ## 7.8.2 - 2024-07-18 31 32 ### Added 33 34 - Support for PHP 8.4 4 35 5 36 -
web-archive/trunk/vendor/guzzlehttp/guzzle/README.md
r3095601 r3125369 63 63 | Version | Status | Packagist | Namespace | Repo | Docs | PSR-7 | PHP Version | 64 64 |---------|---------------------|---------------------|--------------|---------------------|---------------------|-------|--------------| 65 | 3.x | EOL | `guzzle/guzzle` | `Guzzle` | [v3][guzzle-3-repo] | [v3][guzzle-3-docs] | No | >=5.3.3,<7.0 |66 | 4.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >=5.4,<7.0 |67 | 5.x | EOL | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >=5.4,<7.4 |68 | 6.x | Security fixes only| `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >=5.5,<8.0 |69 | 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8. 4|65 | 3.x | EOL (2016-10-31) | `guzzle/guzzle` | `Guzzle` | [v3][guzzle-3-repo] | [v3][guzzle-3-docs] | No | >=5.3.3,<7.0 | 66 | 4.x | EOL (2016-10-31) | `guzzlehttp/guzzle` | `GuzzleHttp` | [v4][guzzle-4-repo] | N/A | No | >=5.4,<7.0 | 67 | 5.x | EOL (2019-10-31) | `guzzlehttp/guzzle` | `GuzzleHttp` | [v5][guzzle-5-repo] | [v5][guzzle-5-docs] | No | >=5.4,<7.4 | 68 | 6.x | EOL (2023-10-31) | `guzzlehttp/guzzle` | `GuzzleHttp` | [v6][guzzle-6-repo] | [v6][guzzle-6-docs] | Yes | >=5.5,<8.0 | 69 | 7.x | Latest | `guzzlehttp/guzzle` | `GuzzleHttp` | [v7][guzzle-7-repo] | [v7][guzzle-7-docs] | Yes | >=7.2.5,<8.5 | 70 70 71 71 [guzzle-3-repo]: https://github.com/guzzle/guzzle3 -
web-archive/trunk/vendor/guzzlehttp/guzzle/composer.json
r3095601 r3125369 51 51 } 52 52 ], 53 "repositories": [ 54 { 55 "type": "package", 56 "package": { 57 "name": "guzzle/client-integration-tests", 58 "version": "v3.0.2", 59 "dist": { 60 "url": "https://codeload.github.com/guzzle/client-integration-tests/zip/2c025848417c1135031fdf9c728ee53d0a7ceaee", 61 "type": "zip" 62 }, 63 "require": { 64 "php": "^7.2.5 || ^8.0", 65 "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.11", 66 "php-http/message": "^1.0 || ^2.0", 67 "guzzlehttp/psr7": "^1.7 || ^2.0", 68 "th3n3rd/cartesian-product": "^0.3" 69 }, 70 "autoload": { 71 "psr-4": { 72 "Http\\Client\\Tests\\": "src/" 73 } 74 }, 75 "bin": [ 76 "bin/http_test_server" 77 ] 78 } 79 } 80 ], 53 81 "require": { 54 82 "php": "^7.2.5 || ^8.0", 55 83 "ext-json": "*", 56 "guzzlehttp/promises": "^1.5.3 || ^2.0. 1",57 "guzzlehttp/psr7": "^ 1.9.1 || ^2.5.1",84 "guzzlehttp/promises": "^1.5.3 || ^2.0.3", 85 "guzzlehttp/psr7": "^2.7.0", 58 86 "psr/http-client": "^1.0", 59 87 "symfony/deprecation-contracts": "^2.2 || ^3.0" … … 65 93 "ext-curl": "*", 66 94 "bamarni/composer-bin-plugin": "^1.8.2", 67 " php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",95 "guzzle/client-integration-tests": "3.0.2", 68 96 "php-http/message-factory": "^1.1", 69 "phpunit/phpunit": "^8.5.3 6 || ^9.6.15",97 "phpunit/phpunit": "^8.5.39 || ^9.6.20", 70 98 "psr/log": "^1.1 || ^2.0 || ^3.0" 71 99 }, -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/BodySummarizer.php
r3095601 r3125369 12 12 private $truncateAt; 13 13 14 public function __construct( int $truncateAt = null)14 public function __construct(?int $truncateAt = null) 15 15 { 16 16 $this->truncateAt = $truncateAt; … … 23 23 { 24 24 return $this->truncateAt === null 25 ? \GuzzleHttp\Psr7\Message::bodySummary($message)26 : \GuzzleHttp\Psr7\Message::bodySummary($message, $this->truncateAt);25 ? Psr7\Message::bodySummary($message) 26 : Psr7\Message::bodySummary($message, $this->truncateAt); 27 27 } 28 28 } -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Client.php
r3095601 r3125369 53 53 * @param array $config Client configuration settings. 54 54 * 55 * @see \GuzzleHttp\RequestOptions for a list of available request options.55 * @see RequestOptions for a list of available request options. 56 56 */ 57 57 public function __construct(array $config = []) … … 203 203 * @deprecated Client::getConfig will be removed in guzzlehttp/guzzle:8.0. 204 204 */ 205 public function getConfig( string $option = null)205 public function getConfig(?string $option = null) 206 206 { 207 207 return $option === null -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/ClientInterface.php
r3095601 r3125369 81 81 * @deprecated ClientInterface::getConfig will be removed in guzzlehttp/guzzle:8.0. 82 82 */ 83 public function getConfig( string $option = null);83 public function getConfig(?string $option = null); 84 84 } -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php
r3095601 r3125369 104 104 } 105 105 106 public function clear( string $domain = null, string $path = null,string $name = null): void106 public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void 107 107 { 108 108 if (!$domain) { -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Cookie/CookieJarInterface.php
r3095601 r3125369 63 63 * @param string|null $name Clears cookies matching a domain, path, and name 64 64 */ 65 public function clear( string $domain = null, string $path = null,string $name = null): void;65 public function clear(?string $domain = null, ?string $path = null, ?string $name = null): void; 66 66 67 67 /** -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Exception/BadResponseException.php
r3095601 r3125369 15 15 RequestInterface $request, 16 16 ResponseInterface $response, 17 \Throwable $previous = null,17 ?\Throwable $previous = null, 18 18 array $handlerContext = [] 19 19 ) { -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Exception/ConnectException.php
r3095601 r3125369 26 26 string $message, 27 27 RequestInterface $request, 28 \Throwable $previous = null,28 ?\Throwable $previous = null, 29 29 array $handlerContext = [] 30 30 ) { -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
r3095601 r3125369 8 8 use Psr\Http\Message\RequestInterface; 9 9 use Psr\Http\Message\ResponseInterface; 10 use Psr\Http\Message\UriInterface;11 10 12 11 /** … … 33 32 string $message, 34 33 RequestInterface $request, 35 ResponseInterface $response = null,36 \Throwable $previous = null,34 ?ResponseInterface $response = null, 35 ?\Throwable $previous = null, 37 36 array $handlerContext = [] 38 37 ) { … … 64 63 public static function create( 65 64 RequestInterface $request, 66 ResponseInterface $response = null,67 \Throwable $previous = null,65 ?ResponseInterface $response = null, 66 ?\Throwable $previous = null, 68 67 array $handlerContext = [], 69 BodySummarizerInterface $bodySummarizer = null68 ?BodySummarizerInterface $bodySummarizer = null 70 69 ): self { 71 70 if (!$response) { … … 91 90 } 92 91 93 $uri = $request->getUri(); 94 $uri = static::obfuscateUri($uri); 92 $uri = \GuzzleHttp\Psr7\Utils::redactUserInfo($request->getUri()); 95 93 96 94 // Client Error: `GET /` resulted in a `404 Not Found` response: … … 112 110 113 111 return new $className($message, $request, $response, $previous, $handlerContext); 114 }115 116 /**117 * Obfuscates URI if there is a username and a password present118 */119 private static function obfuscateUri(UriInterface $uri): UriInterface120 {121 $userInfo = $uri->getUserInfo();122 123 if (false !== ($pos = \strpos($userInfo, ':'))) {124 return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***');125 }126 127 return $uri;128 112 } 129 113 -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php
r3095601 r3125369 12 12 use GuzzleHttp\Utils; 13 13 use Psr\Http\Message\RequestInterface; 14 use Psr\Http\Message\UriInterface; 14 15 15 16 /** … … 47 48 public function create(RequestInterface $request, array $options): EasyHandle 48 49 { 50 $protocolVersion = $request->getProtocolVersion(); 51 52 if ('2' === $protocolVersion || '2.0' === $protocolVersion) { 53 if (!self::supportsHttp2()) { 54 throw new ConnectException('HTTP/2 is supported by the cURL handler, however libcurl is built without HTTP/2 support.', $request); 55 } 56 } elseif ('1.0' !== $protocolVersion && '1.1' !== $protocolVersion) { 57 throw new ConnectException(sprintf('HTTP/%s is not supported by the cURL handler.', $protocolVersion), $request); 58 } 59 49 60 if (isset($options['curl']['body_as_string'])) { 50 61 $options['_body_as_string'] = $options['curl']['body_as_string']; … … 71 82 72 83 return $easy; 84 } 85 86 private static function supportsHttp2(): bool 87 { 88 static $supportsHttp2 = null; 89 90 if (null === $supportsHttp2) { 91 $supportsHttp2 = self::supportsTls12() 92 && defined('CURL_VERSION_HTTP2') 93 && (\CURL_VERSION_HTTP2 & \curl_version()['features']); 94 } 95 96 return $supportsHttp2; 97 } 98 99 private static function supportsTls12(): bool 100 { 101 static $supportsTls12 = null; 102 103 if (null === $supportsTls12) { 104 $supportsTls12 = \CURL_SSLVERSION_TLSv1_2 & \curl_version()['features']; 105 } 106 107 return $supportsTls12; 108 } 109 110 private static function supportsTls13(): bool 111 { 112 static $supportsTls13 = null; 113 114 if (null === $supportsTls13) { 115 $supportsTls13 = defined('CURL_SSLVERSION_TLSv1_3') 116 && (\CURL_SSLVERSION_TLSv1_3 & \curl_version()['features']); 117 } 118 119 return $supportsTls13; 73 120 } 74 121 … … 148 195 'appconnect_time' => \curl_getinfo($easy->handle, \CURLINFO_APPCONNECT_TIME), 149 196 ] + \curl_getinfo($easy->handle); 150 $ctx[self::CURL_VERSION_STR] = \curl_version()['version'];197 $ctx[self::CURL_VERSION_STR] = self::getCurlVersion(); 151 198 $factory->release($easy); 152 199 … … 157 204 158 205 return self::createRejection($easy, $ctx); 206 } 207 208 private static function getCurlVersion(): string 209 { 210 static $curlVersion = null; 211 212 if (null === $curlVersion) { 213 $curlVersion = \curl_version()['version']; 214 } 215 216 return $curlVersion; 159 217 } 160 218 … … 195 253 } 196 254 255 $uri = $easy->request->getUri(); 256 257 $sanitizedError = self::sanitizeCurlError($ctx['error'] ?? '', $uri); 258 197 259 $message = \sprintf( 198 260 'cURL error %s: %s (%s)', 199 261 $ctx['errno'], 200 $ ctx['error'],262 $sanitizedError, 201 263 'see https://curl.haxx.se/libcurl/c/libcurl-errors.html' 202 264 ); 203 $uriString = (string) $easy->request->getUri(); 204 if ($uriString !== '' && false === \strpos($ctx['error'], $uriString)) { 205 $message .= \sprintf(' for %s', $uriString); 265 266 if ('' !== $sanitizedError) { 267 $redactedUriString = \GuzzleHttp\Psr7\Utils::redactUserInfo($uri)->__toString(); 268 if ($redactedUriString !== '' && false === \strpos($sanitizedError, $redactedUriString)) { 269 $message .= \sprintf(' for %s', $redactedUriString); 270 } 206 271 } 207 272 … … 212 277 213 278 return P\Create::rejectionFor($error); 279 } 280 281 private static function sanitizeCurlError(string $error, UriInterface $uri): string 282 { 283 if ('' === $error) { 284 return $error; 285 } 286 287 $baseUri = $uri->withQuery('')->withFragment(''); 288 $baseUriString = $baseUri->__toString(); 289 290 if ('' === $baseUriString) { 291 return $error; 292 } 293 294 $redactedUriString = \GuzzleHttp\Psr7\Utils::redactUserInfo($baseUri)->__toString(); 295 296 return str_replace($baseUriString, $redactedUriString, $error); 214 297 } 215 298 … … 233 316 234 317 $version = $easy->request->getProtocolVersion(); 235 if ($version == 1.1) { 318 319 if ('2' === $version || '2.0' === $version) { 320 $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2_0; 321 } elseif ('1.1' === $version) { 236 322 $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_1; 237 } elseif ($version == 2.0) {238 $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_2_0;239 323 } else { 240 324 $conf[\CURLOPT_HTTP_VERSION] = \CURL_HTTP_VERSION_1_0; … … 391 475 // sets a matching 'Accept-Encoding' header. 392 476 $conf[\CURLOPT_ENCODING] = ''; 393 // But as the user did not specify any acceptable encodings we need 394 // to overwrite this implicit header with an empty one. 477 // But as the user did not specify any encoding preference, 478 // let's leave it up to server by preventing curl from sending 479 // the header, which will be interpreted as 'Accept-Encoding: *'. 480 // https://www.rfc-editor.org/rfc/rfc9110#field.accept-encoding 395 481 $conf[\CURLOPT_HTTPHEADER][] = 'Accept-Encoding:'; 396 482 } … … 456 542 457 543 if (isset($options['crypto_method'])) { 458 if (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method']) { 459 if (!defined('CURL_SSLVERSION_TLSv1_0')) { 460 throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.0 not supported by your version of cURL'); 461 } 544 $protocolVersion = $easy->request->getProtocolVersion(); 545 546 // If HTTP/2, upgrade TLS 1.0 and 1.1 to 1.2 547 if ('2' === $protocolVersion || '2.0' === $protocolVersion) { 548 if ( 549 \STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method'] 550 || \STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT === $options['crypto_method'] 551 || \STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT === $options['crypto_method'] 552 ) { 553 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_2; 554 } elseif (defined('STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT') && \STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT === $options['crypto_method']) { 555 if (!self::supportsTls13()) { 556 throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.3 not supported by your version of cURL'); 557 } 558 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_3; 559 } else { 560 throw new \InvalidArgumentException('Invalid crypto_method request option: unknown version provided'); 561 } 562 } elseif (\STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT === $options['crypto_method']) { 462 563 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_0; 463 564 } elseif (\STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT === $options['crypto_method']) { 464 if (!defined('CURL_SSLVERSION_TLSv1_1')) {465 throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.1 not supported by your version of cURL');466 }467 565 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_1; 468 566 } elseif (\STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT === $options['crypto_method']) { 469 if (! defined('CURL_SSLVERSION_TLSv1_2')) {567 if (!self::supportsTls12()) { 470 568 throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.2 not supported by your version of cURL'); 471 569 } 472 570 $conf[\CURLOPT_SSLVERSION] = \CURL_SSLVERSION_TLSv1_2; 473 571 } elseif (defined('STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT') && \STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT === $options['crypto_method']) { 474 if (! defined('CURL_SSLVERSION_TLSv1_3')) {572 if (!self::supportsTls13()) { 475 573 throw new \InvalidArgumentException('Invalid crypto_method request option: TLS 1.3 not supported by your version of cURL'); 476 574 } -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
r3095601 r3125369 3 3 namespace GuzzleHttp\Handler; 4 4 5 use Closure; 5 6 use GuzzleHttp\Promise as P; 6 7 use GuzzleHttp\Promise\Promise; … … 160 161 } 161 162 163 // Run curl_multi_exec in the queue to enable other async tasks to run 164 P\Utils::queue()->add(Closure::fromCallable([$this, 'tickInQueue'])); 165 162 166 // Step through the task queue which may add additional requests. 163 167 P\Utils::queue()->run(); … … 170 174 171 175 while (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) { 176 // Prevent busy looping for slow HTTP requests. 177 \curl_multi_select($this->_mh, $this->selectTimeout); 172 178 } 173 179 174 180 $this->processMessages(); 181 } 182 183 /** 184 * Runs \curl_multi_exec() inside the event loop, to prevent busy looping 185 */ 186 private function tickInQueue(): void 187 { 188 if (\curl_multi_exec($this->_mh, $this->active) === \CURLM_CALL_MULTI_PERFORM) { 189 \curl_multi_select($this->_mh, 0); 190 P\Utils::queue()->add(Closure::fromCallable([$this, 'tickInQueue'])); 191 } 175 192 } 176 193 -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php
r3095601 r3125369 53 53 * @param callable|null $onRejected Callback to invoke when the return value is rejected. 54 54 */ 55 public static function createWithMiddleware( array $queue = null, callable $onFulfilled = null,callable $onRejected = null): HandlerStack55 public static function createWithMiddleware(?array $queue = null, ?callable $onFulfilled = null, ?callable $onRejected = null): HandlerStack 56 56 { 57 57 return HandlerStack::create(new self($queue, $onFulfilled, $onRejected)); … … 60 60 /** 61 61 * The passed in value must be an array of 62 * {@see \Psr\Http\Message\ResponseInterface} objects, Exceptions,62 * {@see ResponseInterface} objects, Exceptions, 63 63 * callables, or Promises. 64 64 * … … 67 67 * @param callable|null $onRejected Callback to invoke when the return value is rejected. 68 68 */ 69 public function __construct( array $queue = null, callable $onFulfilled = null,callable $onRejected = null)69 public function __construct(?array $queue = null, ?callable $onFulfilled = null, ?callable $onRejected = null) 70 70 { 71 71 $this->onFulfilled = $onFulfilled; … … 201 201 RequestInterface $request, 202 202 array $options, 203 ResponseInterface $response = null,203 ?ResponseInterface $response = null, 204 204 $reason = null 205 205 ): void { -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
r3095601 r3125369 39 39 if (isset($options['delay'])) { 40 40 \usleep($options['delay'] * 1000); 41 } 42 43 $protocolVersion = $request->getProtocolVersion(); 44 45 if ('1.0' !== $protocolVersion && '1.1' !== $protocolVersion) { 46 throw new ConnectException(sprintf('HTTP/%s is not supported by the stream handler.', $protocolVersion), $request); 41 47 } 42 48 … … 84 90 RequestInterface $request, 85 91 ?float $startTime, 86 ResponseInterface $response = null,87 \Throwable $error = null92 ?ResponseInterface $response = null, 93 ?\Throwable $error = null 88 94 ): void { 89 95 if (isset($options['on_stats'])) { … … 274 280 // HTTP/1.1 streams using the PHP stream wrapper require a 275 281 // Connection: close header 276 if ($request->getProtocolVersion() == '1.1'282 if ($request->getProtocolVersion() === '1.1' 277 283 && !$request->hasHeader('Connection') 278 284 ) { -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/HandlerStack.php
r3095601 r3125369 45 45 * system will be utilized. 46 46 */ 47 public static function create( callable $handler = null): self47 public static function create(?callable $handler = null): self 48 48 { 49 49 $stack = new self($handler ?: Utils::chooseHandler()); … … 59 59 * @param (callable(RequestInterface, array): PromiseInterface)|null $handler Underlying HTTP handler. 60 60 */ 61 public function __construct( callable $handler = null)61 public function __construct(?callable $handler = null) 62 62 { 63 63 $this->handler = $handler; … … 132 132 * @param string $name Name to register for this middleware. 133 133 */ 134 public function unshift(callable $middleware, string $name = null): void134 public function unshift(callable $middleware, ?string $name = null): void 135 135 { 136 136 \array_unshift($this->stack, [$middleware, $name]); -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/MessageFormatter.php
r3095601 r3125369 69 69 * @param \Throwable|null $error Exception that was received 70 70 */ 71 public function format(RequestInterface $request, ResponseInterface $response = null,\Throwable $error = null): string71 public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string 72 72 { 73 73 $cache = []; -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/MessageFormatterInterface.php
r3095601 r3125369 15 15 * @param \Throwable|null $error Exception that was received 16 16 */ 17 public function format(RequestInterface $request, ResponseInterface $response = null,\Throwable $error = null): string;17 public function format(RequestInterface $request, ?ResponseInterface $response = null, ?\Throwable $error = null): string; 18 18 } -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Middleware.php
r3095601 r3125369 56 56 * @return callable(callable): callable Returns a function that accepts the next handler. 57 57 */ 58 public static function httpErrors( BodySummarizerInterface $bodySummarizer = null): callable58 public static function httpErrors(?BodySummarizerInterface $bodySummarizer = null): callable 59 59 { 60 60 return static function (callable $handler) use ($bodySummarizer): callable { … … 133 133 * @return callable Returns a function that accepts the next handler. 134 134 */ 135 public static function tap( callable $before = null,callable $after = null): callable135 public static function tap(?callable $before = null, ?callable $after = null): callable 136 136 { 137 137 return static function (callable $handler) use ($before, $after): callable { … … 177 177 * @return callable Returns a function that accepts the next handler. 178 178 */ 179 public static function retry(callable $decider, callable $delay = null): callable179 public static function retry(callable $decider, ?callable $delay = null): callable 180 180 { 181 181 return static function (callable $handler) use ($decider, $delay): RetryMiddleware { -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php
r3095601 r3125369 77 77 $expect = $options['expect'] ?? null; 78 78 79 // Return if disabled or if you're not using HTTP/1.1 or HTTP/2.080 if ($expect === false || $request->getProtocolVersion() < 1.1) {79 // Return if disabled or using HTTP/1.0 80 if ($expect === false || $request->getProtocolVersion() === '1.0') { 81 81 return; 82 82 } -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/RequestOptions.php
r3095601 r3125369 62 62 * jar to use or what cookies to send. This option only works if your 63 63 * handler has the `cookie` middleware. Valid values are `false` and 64 * an instance of {@see \GuzzleHttp\Cookie\CookieJarInterface}.64 * an instance of {@see Cookie\CookieJarInterface}. 65 65 */ 66 66 public const COOKIES = 'cookies'; -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/RetryMiddleware.php
r3095601 r3125369 41 41 * milliseconds to delay. 42 42 */ 43 public function __construct(callable $decider, callable $nextHandler, callable $delay = null)43 public function __construct(callable $decider, callable $nextHandler, ?callable $delay = null) 44 44 { 45 45 $this->decider = $decider; … … 111 111 } 112 112 113 private function doRetry(RequestInterface $request, array $options, ResponseInterface $response = null): PromiseInterface113 private function doRetry(RequestInterface $request, array $options, ?ResponseInterface $response = null): PromiseInterface 114 114 { 115 115 $options['delay'] = ($this->delay)(++$options['retries'], $response, $request); -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/TransferStats.php
r3095601 r3125369 47 47 public function __construct( 48 48 RequestInterface $request, 49 ResponseInterface $response = null,50 float $transferTime = null,49 ?ResponseInterface $response = null, 50 ?float $transferTime = null, 51 51 $handlerErrorData = null, 52 52 array $handlerStats = [] -
web-archive/trunk/vendor/guzzlehttp/guzzle/src/Utils.php
r3095601 r3125369 72 72 } 73 73 74 return \GuzzleHttp\Psr7\Utils::tryFopen('php://output', 'w');74 return Psr7\Utils::tryFopen('php://output', 'w'); 75 75 } 76 76 … … 88 88 $handler = null; 89 89 90 if (\defined('CURLOPT_CUSTOMREQUEST') ) {90 if (\defined('CURLOPT_CUSTOMREQUEST') && \function_exists('curl_version') && version_compare(curl_version()['version'], '7.21.2') >= 0) { 91 91 if (\function_exists('curl_multi_exec') && \function_exists('curl_exec')) { 92 92 $handler = Proxy::wrapSync(new CurlMultiHandler(), new CurlHandler()); -
web-archive/trunk/vendor/guzzlehttp/promises/CHANGELOG.md
r3095601 r3125369 1 1 # CHANGELOG 2 3 4 ## 2.0.3 - 2024-07-18 5 6 ### Changed 7 8 - PHP 8.4 support 2 9 3 10 -
web-archive/trunk/vendor/guzzlehttp/promises/README.md
r3095601 r3125369 39 39 ## Version Guidance 40 40 41 | Version | Status | PHP Version |42 |---------|--------------------- ---|--------------|43 | 1.x | Bug and security fixes| >=5.5,<8.3 |44 | 2.x | Latest | >=7.2.5,<8.4|41 | Version | Status | PHP Version | 42 |---------|---------------------|--------------| 43 | 1.x | Security fixes only | >=5.5,<8.3 | 44 | 2.x | Latest | >=7.2.5,<8.5 | 45 45 46 46 -
web-archive/trunk/vendor/guzzlehttp/promises/composer.json
r3095601 r3125369 31 31 "require-dev": { 32 32 "bamarni/composer-bin-plugin": "^1.8.2", 33 "phpunit/phpunit": "^8.5.3 6 || ^9.6.15"33 "phpunit/phpunit": "^8.5.39 || ^9.6.20" 34 34 }, 35 35 "autoload": { -
web-archive/trunk/vendor/guzzlehttp/promises/src/Coroutine.php
r3095601 r3125369 85 85 86 86 public function then( 87 callable $onFulfilled = null,88 callable $onRejected = null87 ?callable $onFulfilled = null, 88 ?callable $onRejected = null 89 89 ): PromiseInterface { 90 90 return $this->result->then($onFulfilled, $onRejected); -
web-archive/trunk/vendor/guzzlehttp/promises/src/Each.php
r3095601 r3125369 24 24 public static function of( 25 25 $iterable, 26 callable $onFulfilled = null,27 callable $onRejected = null26 ?callable $onFulfilled = null, 27 ?callable $onRejected = null 28 28 ): PromiseInterface { 29 29 return (new EachPromise($iterable, [ … … 47 47 $iterable, 48 48 $concurrency, 49 callable $onFulfilled = null,50 callable $onRejected = null49 ?callable $onFulfilled = null, 50 ?callable $onRejected = null 51 51 ): PromiseInterface { 52 52 return (new EachPromise($iterable, [ … … 68 68 $iterable, 69 69 $concurrency, 70 callable $onFulfilled = null70 ?callable $onFulfilled = null 71 71 ): PromiseInterface { 72 72 return self::ofLimit( -
web-archive/trunk/vendor/guzzlehttp/promises/src/FulfilledPromise.php
r3095601 r3125369 32 32 33 33 public function then( 34 callable $onFulfilled = null,35 callable $onRejected = null34 ?callable $onFulfilled = null, 35 ?callable $onRejected = null 36 36 ): PromiseInterface { 37 37 // Return itself if there is no onFulfilled function. -
web-archive/trunk/vendor/guzzlehttp/promises/src/Promise.php
r3095601 r3125369 26 26 */ 27 27 public function __construct( 28 callable $waitFn = null,29 callable $cancelFn = null28 ?callable $waitFn = null, 29 ?callable $cancelFn = null 30 30 ) { 31 31 $this->waitFn = $waitFn; … … 34 34 35 35 public function then( 36 callable $onFulfilled = null,37 callable $onRejected = null36 ?callable $onFulfilled = null, 37 ?callable $onRejected = null 38 38 ): PromiseInterface { 39 39 if ($this->state === self::PENDING) { -
web-archive/trunk/vendor/guzzlehttp/promises/src/PromiseInterface.php
r3095601 r3125369 28 28 */ 29 29 public function then( 30 callable $onFulfilled = null,31 callable $onRejected = null30 ?callable $onFulfilled = null, 31 ?callable $onRejected = null 32 32 ): PromiseInterface; 33 33 -
web-archive/trunk/vendor/guzzlehttp/promises/src/RejectedPromise.php
r3095601 r3125369 32 32 33 33 public function then( 34 callable $onFulfilled = null,35 callable $onRejected = null34 ?callable $onFulfilled = null, 35 ?callable $onRejected = null 36 36 ): PromiseInterface { 37 37 // If there's no onRejected callback then just return self. -
web-archive/trunk/vendor/guzzlehttp/promises/src/RejectionException.php
r3095601 r3125369 19 19 * @param string|null $description Optional description. 20 20 */ 21 public function __construct($reason, string $description = null)21 public function __construct($reason, ?string $description = null) 22 22 { 23 23 $this->reason = $reason; -
web-archive/trunk/vendor/guzzlehttp/promises/src/Utils.php
r3095601 r3125369 22 22 * @param TaskQueueInterface|null $assign Optionally specify a new queue instance. 23 23 */ 24 public static function queue( TaskQueueInterface $assign = null): TaskQueueInterface24 public static function queue(?TaskQueueInterface $assign = null): TaskQueueInterface 25 25 { 26 26 static $queue; -
web-archive/trunk/vendor/guzzlehttp/psr7/CHANGELOG.md
r3095601 r3125369 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## 2.7.0 - 2024-07-18 9 10 ### Added 11 12 - Add `Utils::redactUserInfo()` method 13 - Add ability to encode bools as ints in `Query::build` 14 15 ## 2.6.3 - 2024-07-18 16 17 ### Fixed 18 19 - Make `StreamWrapper::stream_stat()` return `false` if inner stream's size is `null` 20 21 ### Changed 22 23 - PHP 8.4 support 7 24 8 25 ## 2.6.2 - 2023-12-03 -
web-archive/trunk/vendor/guzzlehttp/psr7/README.md
r3095601 r3125369 25 25 | Version | Status | PHP Version | 26 26 |---------|---------------------|--------------| 27 | 1.x | Security fixes only | >=5.4,<8.1|28 | 2.x | Latest | >=7.2.5,<8. 4|27 | 1.x | EOL (2024-06-30) | >=5.4,<8.2 | 28 | 2.x | Latest | >=7.2.5,<8.5 | 29 29 30 30 … … 437 437 ## `GuzzleHttp\Psr7\Query::build` 438 438 439 `public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986 ): string`439 `public static function build(array $params, int|false $encoding = PHP_QUERY_RFC3986, bool $treatBoolsAsInts = true): string` 440 440 441 441 Build a query string from an array of key value pairs. … … 499 499 ## `GuzzleHttp\Psr7\Utils::readLine` 500 500 501 `public static function readLine(StreamInterface $stream, int $maxLength = null): string`501 `public static function readLine(StreamInterface $stream, ?int $maxLength = null): string` 502 502 503 503 Read a line from the stream up to the maximum allowed buffer length. 504 505 506 ## `GuzzleHttp\Psr7\Utils::redactUserInfo` 507 508 `public static function redactUserInfo(UriInterface $uri): UriInterface` 509 510 Redact the password in the user info part of a URI. 504 511 505 512 … … 675 682 ### `GuzzleHttp\Psr7\Uri::isSameDocumentReference` 676 683 677 `public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool`684 `public static function isSameDocumentReference(UriInterface $uri, ?UriInterface $base = null): bool` 678 685 679 686 Whether the URI is a same-document reference. A same-document reference refers to a URI that is, aside from its -
web-archive/trunk/vendor/guzzlehttp/psr7/composer.json
r3095601 r3125369 62 62 "require-dev": { 63 63 "bamarni/composer-bin-plugin": "^1.8.2", 64 "http-interop/http-factory-tests": " ^0.9",65 "phpunit/phpunit": "^8.5.3 6 || ^9.6.15"64 "http-interop/http-factory-tests": "0.9.0", 65 "phpunit/phpunit": "^8.5.39 || ^9.6.20" 66 66 }, 67 67 "suggest": { -
web-archive/trunk/vendor/guzzlehttp/psr7/src/CachingStream.php
r3095601 r3125369 34 34 public function __construct( 35 35 StreamInterface $stream, 36 StreamInterface $target = null36 ?StreamInterface $target = null 37 37 ) { 38 38 $this->remoteStream = $stream; -
web-archive/trunk/vendor/guzzlehttp/psr7/src/HttpFactory.php
r3095601 r3125369 28 28 public function createUploadedFile( 29 29 StreamInterface $stream, 30 int $size = null,30 ?int $size = null, 31 31 int $error = \UPLOAD_ERR_OK, 32 string $clientFilename = null,33 string $clientMediaType = null32 ?string $clientFilename = null, 33 ?string $clientMediaType = null 34 34 ): UploadedFileInterface { 35 35 if ($size === null) { -
web-archive/trunk/vendor/guzzlehttp/psr7/src/MultipartStream.php
r3095601 r3125369 33 33 * @throws \InvalidArgumentException 34 34 */ 35 public function __construct(array $elements = [], string $boundary = null)35 public function __construct(array $elements = [], ?string $boundary = null) 36 36 { 37 37 $this->boundary = $boundary ?: bin2hex(random_bytes(20)); -
web-archive/trunk/vendor/guzzlehttp/psr7/src/Query.php
r3095601 r3125369 64 64 * encountered (like `http_build_query()` would). 65 65 * 66 * @param array $params Query string parameters. 67 * @param int|false $encoding Set to false to not encode, PHP_QUERY_RFC3986 68 * to encode using RFC3986, or PHP_QUERY_RFC1738 69 * to encode using RFC1738. 66 * @param array $params Query string parameters. 67 * @param int|false $encoding Set to false to not encode, 68 * PHP_QUERY_RFC3986 to encode using 69 * RFC3986, or PHP_QUERY_RFC1738 to 70 * encode using RFC1738. 71 * @param bool $treatBoolsAsInts Set to true to encode as 0/1, and 72 * false as false/true. 70 73 */ 71 public static function build(array $params, $encoding = PHP_QUERY_RFC3986 ): string74 public static function build(array $params, $encoding = PHP_QUERY_RFC3986, bool $treatBoolsAsInts = true): string 72 75 { 73 76 if (!$params) { … … 87 90 } 88 91 92 $castBool = $treatBoolsAsInts ? static function ($v) { return (int) $v; } : static function ($v) { return $v ? 'true' : 'false'; }; 93 89 94 $qs = ''; 90 95 foreach ($params as $k => $v) { … … 92 97 if (!is_array($v)) { 93 98 $qs .= $k; 94 $v = is_bool($v) ? (int) $v: $v;99 $v = is_bool($v) ? $castBool($v) : $v; 95 100 if ($v !== null) { 96 101 $qs .= '='.$encoder((string) $v); … … 100 105 foreach ($v as $vv) { 101 106 $qs .= $k; 102 $vv = is_bool($vv) ? (int) $vv: $vv;107 $vv = is_bool($vv) ? $castBool($vv) : $vv; 103 108 if ($vv !== null) { 104 109 $qs .= '='.$encoder((string) $vv); -
web-archive/trunk/vendor/guzzlehttp/psr7/src/Response.php
r3095601 r3125369 97 97 $body = null, 98 98 string $version = '1.1', 99 string $reason = null99 ?string $reason = null 100 100 ) { 101 101 $this->assertStatusCodeRange($status); -
web-archive/trunk/vendor/guzzlehttp/psr7/src/StreamWrapper.php
r3095601 r3125369 70 70 } 71 71 72 public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool72 public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null): bool 73 73 { 74 74 $options = stream_context_get_options($this->context); … … 120 120 121 121 return $resource ?? false; 122 } 123 124 /** 125 * @return array{ 126 * dev: int, 127 * ino: int, 128 * mode: int, 129 * nlink: int, 130 * uid: int, 131 * gid: int, 132 * rdev: int, 133 * size: int, 134 * atime: int, 135 * mtime: int, 136 * ctime: int, 137 * blksize: int, 138 * blocks: int 139 * }|false 140 */ 141 public function stream_stat() 142 { 143 if ($this->stream->getSize() === null) { 144 return false; 145 } 146 147 static $modeMap = [ 148 'r' => 33060, 149 'rb' => 33060, 150 'r+' => 33206, 151 'w' => 33188, 152 'wb' => 33188, 153 ]; 154 155 return [ 156 'dev' => 0, 157 'ino' => 0, 158 'mode' => $modeMap[$this->mode], 159 'nlink' => 0, 160 'uid' => 0, 161 'gid' => 0, 162 'rdev' => 0, 163 'size' => $this->stream->getSize() ?: 0, 164 'atime' => 0, 165 'mtime' => 0, 166 'ctime' => 0, 167 'blksize' => 0, 168 'blocks' => 0, 169 ]; 122 170 } 123 171 … … 139 187 * } 140 188 */ 141 public function stream_stat(): array142 {143 static $modeMap = [144 'r' => 33060,145 'rb' => 33060,146 'r+' => 33206,147 'w' => 33188,148 'wb' => 33188,149 ];150 151 return [152 'dev' => 0,153 'ino' => 0,154 'mode' => $modeMap[$this->mode],155 'nlink' => 0,156 'uid' => 0,157 'gid' => 0,158 'rdev' => 0,159 'size' => $this->stream->getSize() ?: 0,160 'atime' => 0,161 'mtime' => 0,162 'ctime' => 0,163 'blksize' => 0,164 'blocks' => 0,165 ];166 }167 168 /**169 * @return array{170 * dev: int,171 * ino: int,172 * mode: int,173 * nlink: int,174 * uid: int,175 * gid: int,176 * rdev: int,177 * size: int,178 * atime: int,179 * mtime: int,180 * ctime: int,181 * blksize: int,182 * blocks: int183 * }184 */185 189 public function url_stat(string $path, int $flags): array 186 190 { -
web-archive/trunk/vendor/guzzlehttp/psr7/src/UploadedFile.php
r3095601 r3125369 65 65 ?int $size, 66 66 int $errorStatus, 67 string $clientFilename = null,68 string $clientMediaType = null67 ?string $clientFilename = null, 68 ?string $clientMediaType = null 69 69 ) { 70 70 $this->setError($errorStatus); -
web-archive/trunk/vendor/guzzlehttp/psr7/src/Uri.php
r3095601 r3125369 280 280 * @see https://datatracker.ietf.org/doc/html/rfc3986#section-4.4 281 281 */ 282 public static function isSameDocumentReference(UriInterface $uri, UriInterface $base = null): bool282 public static function isSameDocumentReference(UriInterface $uri, ?UriInterface $base = null): bool 283 283 { 284 284 if ($base !== null) { -
web-archive/trunk/vendor/guzzlehttp/psr7/src/Utils.php
r3095601 r3125369 232 232 * @param int|null $maxLength Maximum buffer length 233 233 */ 234 public static function readLine(StreamInterface $stream, int $maxLength = null): string234 public static function readLine(StreamInterface $stream, ?int $maxLength = null): string 235 235 { 236 236 $buffer = ''; … … 249 249 250 250 return $buffer; 251 } 252 253 /** 254 * Redact the password in the user info part of a URI. 255 */ 256 public static function redactUserInfo(UriInterface $uri): UriInterface 257 { 258 $userInfo = $uri->getUserInfo(); 259 260 if (false !== ($pos = \strpos($userInfo, ':'))) { 261 return $uri->withUserInfo(\substr($userInfo, 0, $pos), '***'); 262 } 263 264 return $uri; 251 265 } 252 266 -
web-archive/trunk/vendor/phpoption/phpoption/composer.json
r3095601 r3125369 21 21 "require-dev": { 22 22 "bamarni/composer-bin-plugin": "^1.8.2", 23 "phpunit/phpunit": "^8.5.3 4 || ^9.6.13 || ^10.4.2"23 "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" 24 24 }, 25 25 "autoload": { … … 42 42 "bamarni-bin": { 43 43 "bin-links": true, 44 "forward-command": true44 "forward-command": false 45 45 }, 46 46 "branch-alias": { 47 47 "dev-master": "1.9-dev" 48 48 } 49 }, 50 "minimum-stability": "dev", 51 "prefer-stable": true 49 } 52 50 } -
web-archive/trunk/vendor/phpoption/phpoption/src/PhpOption/Option.php
r3095601 r3125369 63 63 * 64 64 * @param array<string|int,S>|ArrayAccess<string|int,S>|null $array A potential array or \ArrayAccess value. 65 * @param string $key The key to check.65 * @param string|int|null $key The key to check. 66 66 * 67 67 * @return Option<S> … … 69 69 public static function fromArraysValue($array, $key) 70 70 { 71 if ( !(is_array($array) || $array instanceof ArrayAccess) || !isset($array[$key])) {71 if ($key === null || !(is_array($array) || $array instanceof ArrayAccess) || !isset($array[$key])) { 72 72 return None::create(); 73 73 } -
web-archive/trunk/vendor/symfony/polyfill-mbstring/Mbstring.php
r3095601 r3125369 49 49 * - mb_strwidth - Return width of string 50 50 * - mb_substr_count - Count the number of substring occurrences 51 * - mb_ucfirst - Make a string's first character uppercase 52 * - mb_lcfirst - Make a string's first character lowercase 51 53 * 52 54 * Not implemented: … … 81 83 public static function mb_convert_encoding($s, $toEncoding, $fromEncoding = null) 82 84 { 85 if (\is_array($s)) { 86 if (PHP_VERSION_ID < 70200) { 87 trigger_error('mb_convert_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING); 88 89 return null; 90 } 91 92 $r = []; 93 foreach ($s as $str) { 94 $r[] = self::mb_convert_encoding($str, $toEncoding, $fromEncoding); 95 } 96 97 return $r; 98 } 99 83 100 if (\is_array($fromEncoding) || (null !== $fromEncoding && false !== strpos($fromEncoding, ','))) { 84 101 $fromEncoding = self::mb_detect_encoding($s, $fromEncoding); … … 411 428 public static function mb_check_encoding($var = null, $encoding = null) 412 429 { 413 if ( PHP_VERSION_ID < 70200 && \is_array($var)) {430 if (\PHP_VERSION_ID < 70200 && \is_array($var)) { 414 431 trigger_error('mb_check_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING); 415 432 … … 438 455 439 456 return true; 440 441 457 } 442 458 … … 828 844 } 829 845 830 public static function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, string $encoding = null): string846 public static function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, ?string $encoding = null): string 831 847 { 832 848 if (!\in_array($pad_type, [\STR_PAD_RIGHT, \STR_PAD_LEFT, \STR_PAD_BOTH], true)) { … … 836 852 if (null === $encoding) { 837 853 $encoding = self::mb_internal_encoding(); 838 } 839 840 try { 841 $validEncoding = @self::mb_check_encoding('', $encoding); 842 } catch (\ValueError $e) { 843 throw new \ValueError(sprintf('mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given', $encoding)); 844 } 845 846 // BC for PHP 7.3 and lower 847 if (!$validEncoding) { 848 throw new \ValueError(sprintf('mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given', $encoding)); 854 } else { 855 self::assertEncoding($encoding, 'mb_str_pad(): Argument #5 ($encoding) must be a valid encoding, "%s" given'); 849 856 } 850 857 … … 872 879 } 873 880 881 public static function mb_ucfirst(string $string, ?string $encoding = null): string 882 { 883 if (null === $encoding) { 884 $encoding = self::mb_internal_encoding(); 885 } else { 886 self::assertEncoding($encoding, 'mb_ucfirst(): Argument #2 ($encoding) must be a valid encoding, "%s" given'); 887 } 888 889 $firstChar = mb_substr($string, 0, 1, $encoding); 890 $firstChar = mb_convert_case($firstChar, \MB_CASE_TITLE, $encoding); 891 892 return $firstChar.mb_substr($string, 1, null, $encoding); 893 } 894 895 public static function mb_lcfirst(string $string, ?string $encoding = null): string 896 { 897 if (null === $encoding) { 898 $encoding = self::mb_internal_encoding(); 899 } else { 900 self::assertEncoding($encoding, 'mb_lcfirst(): Argument #2 ($encoding) must be a valid encoding, "%s" given'); 901 } 902 903 $firstChar = mb_substr($string, 0, 1, $encoding); 904 $firstChar = mb_convert_case($firstChar, \MB_CASE_LOWER, $encoding); 905 906 return $firstChar.mb_substr($string, 1, null, $encoding); 907 } 908 874 909 private static function getSubpart($pos, $part, $haystack, $encoding) 875 910 { … … 945 980 return $encoding; 946 981 } 982 983 private static function assertEncoding(string $encoding, string $errorFormat): void 984 { 985 try { 986 $validEncoding = @self::mb_check_encoding('', $encoding); 987 } catch (\ValueError $e) { 988 throw new \ValueError(\sprintf($errorFormat, $encoding)); 989 } 990 991 // BC for PHP 7.3 and lower 992 if (!$validEncoding) { 993 throw new \ValueError(\sprintf($errorFormat, $encoding)); 994 } 995 } 947 996 } -
web-archive/trunk/vendor/symfony/polyfill-mbstring/bootstrap.php
r3095601 r3125369 137 137 } 138 138 139 if (!function_exists('mb_ucfirst')) { 140 function mb_ucfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_ucfirst($string, $encoding); } 141 } 142 143 if (!function_exists('mb_lcfirst')) { 144 function mb_lcfirst(string $string, ?string $encoding = null): string { return p\Mbstring::mb_lcfirst($string, $encoding); } 145 } 146 139 147 if (extension_loaded('mbstring')) { 140 148 return; -
web-archive/trunk/vendor/symfony/polyfill-mbstring/bootstrap80.php
r3095601 r3125369 133 133 } 134 134 135 if (!function_exists('mb_ucfirst')) { 136 function mb_ucfirst($string, ?string $encoding = null): string { return p\Mbstring::mb_ucfirst($string, $encoding); } 137 } 138 139 if (!function_exists('mb_lcfirst')) { 140 function mb_lcfirst($string, ?string $encoding = null): string { return p\Mbstring::mb_lcfirst($string, $encoding); } 141 } 142 135 143 if (extension_loaded('mbstring')) { 136 144 return; -
web-archive/trunk/vendor/vlucas/phpdotenv/composer.json
r3095601 r3125369 19 19 "php": "^7.2.5 || ^8.0", 20 20 "ext-pcre": "*", 21 "graham-campbell/result-type": "^1.1. 2",22 "phpoption/phpoption": "^1.9. 2",21 "graham-campbell/result-type": "^1.1.3", 22 "phpoption/phpoption": "^1.9.3", 23 23 "symfony/polyfill-ctype": "^1.24", 24 24 "symfony/polyfill-mbstring": "^1.24", … … 52 52 "bamarni-bin": { 53 53 "bin-links": true, 54 "forward-command": true54 "forward-command": false 55 55 }, 56 56 "branch-alias": { -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Dotenv.php
r3095601 r3125369 81 81 * @return \Dotenv\Dotenv 82 82 */ 83 public static function create(RepositoryInterface $repository, $paths, $names = null, bool $shortCircuit = true, string $fileEncoding = null)83 public static function create(RepositoryInterface $repository, $paths, $names = null, bool $shortCircuit = true, ?string $fileEncoding = null) 84 84 { 85 85 $builder = $names === null ? StoreBuilder::createWithDefaultName() : StoreBuilder::createWithNoNames(); … … 110 110 * @return \Dotenv\Dotenv 111 111 */ 112 public static function createMutable($paths, $names = null, bool $shortCircuit = true, string $fileEncoding = null)112 public static function createMutable($paths, $names = null, bool $shortCircuit = true, ?string $fileEncoding = null) 113 113 { 114 114 $repository = RepositoryBuilder::createWithDefaultAdapters()->make(); … … 127 127 * @return \Dotenv\Dotenv 128 128 */ 129 public static function createUnsafeMutable($paths, $names = null, bool $shortCircuit = true, string $fileEncoding = null)129 public static function createUnsafeMutable($paths, $names = null, bool $shortCircuit = true, ?string $fileEncoding = null) 130 130 { 131 131 $repository = RepositoryBuilder::createWithDefaultAdapters() … … 146 146 * @return \Dotenv\Dotenv 147 147 */ 148 public static function createImmutable($paths, $names = null, bool $shortCircuit = true, string $fileEncoding = null)148 public static function createImmutable($paths, $names = null, bool $shortCircuit = true, ?string $fileEncoding = null) 149 149 { 150 150 $repository = RepositoryBuilder::createWithDefaultAdapters()->immutable()->make(); … … 163 163 * @return \Dotenv\Dotenv 164 164 */ 165 public static function createUnsafeImmutable($paths, $names = null, bool $shortCircuit = true, string $fileEncoding = null)165 public static function createUnsafeImmutable($paths, $names = null, bool $shortCircuit = true, ?string $fileEncoding = null) 166 166 { 167 167 $repository = RepositoryBuilder::createWithDefaultAdapters() … … 183 183 * @return \Dotenv\Dotenv 184 184 */ 185 public static function createArrayBacked($paths, $names = null, bool $shortCircuit = true, string $fileEncoding = null)185 public static function createArrayBacked($paths, $names = null, bool $shortCircuit = true, ?string $fileEncoding = null) 186 186 { 187 187 $repository = RepositoryBuilder::createWithNoAdapters()->addAdapter(ArrayAdapter::class)->make(); -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Parser/Entry.php
r3095601 r3125369 31 31 * @return void 32 32 */ 33 public function __construct(string $name, Value $value = null)33 public function __construct(string $name, ?Value $value = null) 34 34 { 35 35 $this->name = $name; -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Repository/RepositoryBuilder.php
r3095601 r3125369 66 66 * @return void 67 67 */ 68 private function __construct(array $readers = [], array $writers = [], bool $immutable = false, array $allowList = null)68 private function __construct(array $readers = [], array $writers = [], bool $immutable = false, ?array $allowList = null) 69 69 { 70 70 $this->readers = $readers; … … 245 245 * @return \Dotenv\Repository\RepositoryBuilder 246 246 */ 247 public function allowList( array $allowList = null)247 public function allowList(?array $allowList = null) 248 248 { 249 249 return new self($this->readers, $this->writers, $this->immutable, $allowList); -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Store/File/Reader.php
r3095601 r3125369 41 41 * @return array<string,string> 42 42 */ 43 public static function read(array $filePaths, bool $shortCircuit = true, string $fileEncoding = null)43 public static function read(array $filePaths, bool $shortCircuit = true, ?string $fileEncoding = null) 44 44 { 45 45 $output = []; … … 68 68 * @return \PhpOption\Option<string> 69 69 */ 70 private static function readFromFile(string $path, string $encoding = null)70 private static function readFromFile(string $path, ?string $encoding = null) 71 71 { 72 72 /** @var Option<string> */ -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Store/FileStore.php
r3095601 r3125369 40 40 * @return void 41 41 */ 42 public function __construct(array $filePaths, bool $shortCircuit, string $fileEncoding = null)42 public function __construct(array $filePaths, bool $shortCircuit, ?string $fileEncoding = null) 43 43 { 44 44 $this->filePaths = $filePaths; -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Store/StoreBuilder.php
r3095601 r3125369 52 52 * @return void 53 53 */ 54 private function __construct(array $paths = [], array $names = [], bool $shortCircuit = false, string $fileEncoding = null)54 private function __construct(array $paths = [], array $names = [], bool $shortCircuit = false, ?string $fileEncoding = null) 55 55 { 56 56 $this->paths = $paths; … … 121 121 * @return \Dotenv\Store\StoreBuilder 122 122 */ 123 public function fileEncoding( string $fileEncoding = null)123 public function fileEncoding(?string $fileEncoding = null) 124 124 { 125 125 return new self($this->paths, $this->names, $this->shortCircuit, $fileEncoding); -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Util/Regex.php
r3095601 r3125369 65 65 * @return \GrahamCampbell\ResultType\Result<string,string> 66 66 */ 67 public static function replaceCallback(string $pattern, callable $callback, string $subject, int $limit = null)67 public static function replaceCallback(string $pattern, callable $callback, string $subject, ?int $limit = null) 68 68 { 69 69 return self::pregAndWrap(static function (string $subject) use ($pattern, $callback, $limit) { -
web-archive/trunk/vendor/vlucas/phpdotenv/src/Util/Str.php
r3095601 r3125369 34 34 * @return \GrahamCampbell\ResultType\Result<string,string> 35 35 */ 36 public static function utf8(string $input, string $encoding = null)36 public static function utf8(string $input, ?string $encoding = null) 37 37 { 38 38 if ($encoding !== null && !\in_array($encoding, \mb_list_encodings(), true)) { … … 80 80 * @return string 81 81 */ 82 public static function substr(string $input, int $start, int $length = null)82 public static function substr(string $input, int $start, ?int $length = null) 83 83 { 84 84 return \mb_substr($input, $start, $length, 'UTF-8'); -
web-archive/trunk/vendor/voku/simple_html_dom/CHANGELOG
r3095601 r3125369 14 14 "Add text/template type" thanks @all9lives [Jeremy Brennan] 15 15 "fix: Cannot assign null to property DOMNode::* of type string" thanks @frugan-dev [Frugan] 16 10: "fix: HtmlDomHelper::mergeHtmlAttributes() with zero values" 16 17 17 18 [PHP Simple HTML Dom v4.7.x] -
web-archive/trunk/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomHelper.php
r3095601 r3125369 65 65 66 66 foreach ($attributes as $attributeName => $attributeValue) { 67 $domElement->setAttribute($attributeName, $attributeValue );67 $domElement->setAttribute($attributeName, $attributeValue, true); 68 68 } 69 69
Note: See TracChangeset
for help on using the changeset viewer.