Changeset 3375305
- Timestamp:
- 10/08/2025 07:04:33 PM (3 months ago)
- Location:
- local-development
- Files:
-
- 30 edited
- 1 copied
-
tags/2.11.0 (copied) (copied from local-development/trunk)
-
tags/2.11.0/CHANGES.md (modified) (1 diff)
-
tags/2.11.0/README.md (modified) (2 diffs)
-
tags/2.11.0/languages/local-development.pot (modified) (2 diffs)
-
tags/2.11.0/local-development.php (modified) (3 diffs)
-
tags/2.11.0/readme.txt (modified) (3 diffs)
-
tags/2.11.0/src/Local_Development/Base.php (modified) (1 diff)
-
tags/2.11.0/src/Local_Development/Init.php (modified) (1 diff)
-
tags/2.11.0/vendor/autoload.php (modified) (1 diff)
-
tags/2.11.0/vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
tags/2.11.0/vendor/composer/autoload_classmap.php (modified) (4 diffs)
-
tags/2.11.0/vendor/composer/autoload_static.php (modified) (4 diffs)
-
tags/2.11.0/vendor/composer/installed.json (modified) (18 diffs)
-
tags/2.11.0/vendor/composer/installed.php (modified) (8 diffs)
-
tags/2.11.0/vendor/composer/platform_check.php (modified) (1 diff)
-
tags/2.11.0/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php (modified) (1 diff)
-
trunk/CHANGES.md (modified) (1 diff)
-
trunk/README.md (modified) (2 diffs)
-
trunk/languages/local-development.pot (modified) (2 diffs)
-
trunk/local-development.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/Local_Development/Base.php (modified) (1 diff)
-
trunk/src/Local_Development/Init.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_classmap.php (modified) (4 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (4 diffs)
-
trunk/vendor/composer/installed.json (modified) (18 diffs)
-
trunk/vendor/composer/installed.php (modified) (8 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
local-development/tags/2.11.0/CHANGES.md
r3208239 r3375305 1 1 #### [unreleased] 2 3 #### 2.11.0 / 2025-09-08 4 * update for Git Updater Additions tab/rebrand 5 * use `init` hook in startup to avoid local_textdomain error 6 * update requirements 2 7 3 8 #### 2.10.1 / 2024-12-15 -
local-development/tags/2.11.0/README.md
r2560201 r3375305 2 2 * Contributors: afragen, raruto 3 3 * Tags: localhost development upgrade plugin theme 4 * Requires at least: 4.65 * Requires PHP: 5.64 * Requires at least: 5.4 5 * Requires PHP: 7.4 6 6 * Stable tag: master 7 7 * License: GPLv2 … … 22 22 Pull Requests are welcome against the `develop` branch. 23 23 24 Requires PHP 5.6or greater.24 Requires PHP 7.4 or greater. 25 25 26 26 ## Screenshots -
local-development/tags/2.11.0/languages/local-development.pot
r3208239 r3375305 1 # Copyright (C) 202 4Andy Fragen1 # Copyright (C) 2025 Andy Fragen 2 2 # This file is distributed under the GNU General Public License v2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: local-development 2.10.1\n"6 "Report-Msgid-Bugs-To: https://github.com/afragen/local-development/ local-development/issues\n"5 "Project-Id-Version: Local Development 2.11.0\n" 6 "Report-Msgid-Bugs-To: https://github.com/afragen/local-development/issues\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <LL@li.org>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 4-12-15T17:12:23+00:00\n"12 "POT-Creation-Date: 2025-10-08T18:58:13+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: local-development\n" 16 16 -
local-development/tags/2.11.0/local-development.php
r3208239 r3375305 15 15 * Author URI: http://thefragens.com/ 16 16 * Description: Places development notice for plugins or themes that are in local development. Prevents updating of selected plugins and themes. Automatically adds plugins and themes under version control. Allows for using a local file server and bypassing the WordPress 5.2 WSOD Shutdown Handler. 17 * Version: 2.1 0.117 * Version: 2.11.0 18 18 * Domain Path: /languages 19 19 * Text Domain: local-development … … 22 22 * Network: true 23 23 * GitHub Plugin URI: https://github.com/afragen/local-development 24 * Requires PHP: 5.625 * Requires at least: 4.624 * Requires PHP: 7.4 25 * Requires at least: 5.4 26 26 */ 27 27 … … 38 38 // Load Autoloader. 39 39 require_once __DIR__ . '/vendor/autoload.php'; 40 ( new Bootstrap() )->run( __FILE__ ); 40 add_action( 41 'init', 42 function () { 43 ( new Bootstrap() )->run( __FILE__ ); 44 } 45 ); -
local-development/tags/2.11.0/readme.txt
r3208239 r3375305 2 2 Contributors: afragen, raruto 3 3 Tags: localhost, development, upgrade, plugin, theme 4 Requires at least: 4.65 Requires PHP: 5.66 Tested up to: 6. 87 Stable tag: 2.1 0.14 Requires at least: 5.4 5 Requires PHP: 7.4 6 Tested up to: 6.9 7 Stable tag: 2.11.0 8 8 License: GPLv2 9 9 … … 22 22 Pull Requests are welcome against the [develop branch on GitHub](https://github.com/afragen/local-development). 23 23 24 Requires PHP 5.6or greater.24 Requires PHP 7.4 or greater. 25 25 26 26 ## Screenshots … … 31 31 32 32 ## Changelog 33 34 #### 2.11.0 / 2025-09-08 35 * update for Git Updater Additions tab/rebrand 36 * use `init` hook in startup to avoid local_textdomain error 37 * update requirements 33 38 34 39 #### 2.10.1 / 2024-12-15 -
local-development/tags/2.11.0/src/Local_Development/Base.php
r3180141 r3375305 316 316 317 317 /** 318 * Insert repositories added via Git Hub Updater Additions plugin.318 * Insert repositories added via Git Updater Additions tab. 319 319 * 320 * @see Git HubUpdater's Plugin or Theme class for definition.321 * @link https://github.com/afragen/git hub-updater-additions320 * @see Git Updater's Plugin or Theme class for definition. 321 * @link https://github.com/afragen/git-updater-additions 322 322 */ 323 $additions = apply_filters( 'g ithub_updater_additions', null, [], $type );323 $additions = apply_filters( 'gu_additions', null, [], $type ); 324 324 foreach ( (array) $additions as $slug => $headers ) { 325 325 if ( $slug === $file ) { -
local-development/tags/2.11.0/src/Local_Development/Init.php
r3208239 r3375305 56 56 Singleton::get_instance( 'Settings', $this, $config )->load_hooks(); 57 57 58 add_action( 59 'init', 60 function () use ( &$config ) { 61 $config = $this->get_vcs_checkouts( $config ); 62 $config = $this->modify_options( $config ); 63 $this->config = $config; 64 65 Singleton::get_instance( 'Plugins', $this, $config )->run(); 66 Singleton::get_instance( 'Themes', $this, $config )->run(); 67 Singleton::get_instance( 'Extras', $this, $config )->run(); 68 } 69 ); 58 $config = $this->get_vcs_checkouts( $config ); 59 $config = $this->modify_options( $config ); 60 $this->config = $config; 61 62 Singleton::get_instance( 'Plugins', $this, $config )->run(); 63 Singleton::get_instance( 'Themes', $this, $config )->run(); 64 Singleton::get_instance( 'Extras', $this, $config )->run(); 70 65 71 66 return $this; -
local-development/tags/2.11.0/vendor/autoload.php
r2883673 r3375305 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
local-development/tags/2.11.0/vendor/composer/InstalledVersions.php
r2941394 r3375305 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
local-development/tags/2.11.0/vendor/composer/autoload_classmap.php
r3116688 r3375305 14 14 'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 15 15 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 16 'PHPCSUtils\\Exceptions\\LogicException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 17 'PHPCSUtils\\Exceptions\\MissingArgumentError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 18 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 19 'PHPCSUtils\\Exceptions\\RuntimeException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 16 20 'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 17 21 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 18 22 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 23 'PHPCSUtils\\Exceptions\\TypeError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 24 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 25 'PHPCSUtils\\Exceptions\\ValueError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 19 26 'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 20 27 'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', … … 23 30 'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 24 31 'PHPCSUtils\\Internal\\StableCollections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 32 'PHPCSUtils\\TestUtils\\ConfigDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 33 'PHPCSUtils\\TestUtils\\RulesetDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 25 34 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 26 35 'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', … … 28 37 'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 29 38 'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 39 'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 30 40 'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 31 41 'PHPCSUtils\\Utils\\ControlStructures' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 42 'PHPCSUtils\\Utils\\FileInfo' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 43 'PHPCSUtils\\Utils\\FilePath' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 32 44 'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 33 45 'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 44 56 'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 45 57 'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 58 'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 46 59 'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 47 60 'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
local-development/tags/2.11.0/vendor/composer/autoload_static.php
r3116688 r3375305 41 41 'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 42 42 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 43 'PHPCSUtils\\Exceptions\\LogicException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 44 'PHPCSUtils\\Exceptions\\MissingArgumentError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 45 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 46 'PHPCSUtils\\Exceptions\\RuntimeException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 43 47 'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 44 48 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 45 49 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 50 'PHPCSUtils\\Exceptions\\TypeError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 51 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 52 'PHPCSUtils\\Exceptions\\ValueError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 46 53 'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 47 54 'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', … … 50 57 'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 51 58 'PHPCSUtils\\Internal\\StableCollections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 59 'PHPCSUtils\\TestUtils\\ConfigDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 60 'PHPCSUtils\\TestUtils\\RulesetDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 52 61 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 53 62 'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', … … 55 64 'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 56 65 'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 66 'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 57 67 'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 58 68 'PHPCSUtils\\Utils\\ControlStructures' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 69 'PHPCSUtils\\Utils\\FileInfo' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 70 'PHPCSUtils\\Utils\\FilePath' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 59 71 'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 60 72 'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 71 83 'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 72 84 'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 85 'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 73 86 'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 74 87 'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
local-development/tags/2.11.0/vendor/composer/installed.json
r3206522 r3375305 53 53 { 54 54 "name": "dealerdirect/phpcodesniffer-composer-installer", 55 "version": "v1. 0.0",56 "version_normalized": "1. 0.0.0",55 "version": "v1.1.2", 56 "version_normalized": "1.1.2.0", 57 57 "source": { 58 58 "type": "git", 59 59 "url": "https://github.com/PHPCSStandards/composer-installer.git", 60 "reference": " 4be43904336affa5c2f70744a348312336afd0da"61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/ 4be43904336affa5c2f70744a348312336afd0da",65 "reference": " 4be43904336affa5c2f70744a348312336afd0da",66 "shasum": "" 67 }, 68 "require": { 69 "composer-plugin-api": "^ 1.0 || ^2.0",60 "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1" 61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1", 65 "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1", 66 "shasum": "" 67 }, 68 "require": { 69 "composer-plugin-api": "^2.2", 70 70 "php": ">=5.4", 71 71 "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" 72 72 }, 73 73 "require-dev": { 74 "composer/composer": " *",74 "composer/composer": "^2.2", 75 75 "ext-json": "*", 76 76 "ext-zip": "*", 77 "php-parallel-lint/php-parallel-lint": "^1. 3.1",77 "php-parallel-lint/php-parallel-lint": "^1.4.0", 78 78 "phpcompatibility/php-compatibility": "^9.0", 79 79 "yoast/phpunit-polyfills": "^1.0" 80 80 }, 81 "time": "202 3-01-05T11:28:13+00:00",81 "time": "2025-07-17T20:45:56+00:00", 82 82 "type": "composer-plugin", 83 83 "extra": { … … 97 97 { 98 98 "name": "Franck Nijhof", 99 "email": " franck.nijhof@dealerdirect.com",100 "homepage": "http ://www.frenck.nl",101 "role": " Developer / IT Manager"99 "email": "opensource@frenck.dev", 100 "homepage": "https://frenck.dev", 101 "role": "Open source developer" 102 102 }, 103 103 { … … 107 107 ], 108 108 "description": "PHP_CodeSniffer Standards Composer Installer Plugin", 109 "homepage": "http://www.dealerdirect.com",110 109 "keywords": [ 111 110 "PHPCodeSniffer", … … 128 127 "support": { 129 128 "issues": "https://github.com/PHPCSStandards/composer-installer/issues", 129 "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", 130 130 "source": "https://github.com/PHPCSStandards/composer-installer" 131 131 }, 132 "funding": [ 133 { 134 "url": "https://github.com/PHPCSStandards", 135 "type": "github" 136 }, 137 { 138 "url": "https://github.com/jrfnl", 139 "type": "github" 140 }, 141 { 142 "url": "https://opencollective.com/php_codesniffer", 143 "type": "open_collective" 144 }, 145 { 146 "url": "https://thanks.dev/u/gh/phpcsstandards", 147 "type": "thanks_dev" 148 } 149 ], 132 150 "install-path": "../dealerdirect/phpcodesniffer-composer-installer" 133 151 }, 134 152 { 135 153 "name": "phpcsstandards/phpcsextra", 136 "version": "1. 2.1",137 "version_normalized": "1. 2.1.0",154 "version": "1.4.1", 155 "version_normalized": "1.4.1.0", 138 156 "source": { 139 157 "type": "git", 140 158 "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", 141 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"142 }, 143 "dist": { 144 "type": "zip", 145 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/ 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",146 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",159 "reference": "882b8c947ada27eb002870fe77fee9ce0a454cdb" 160 }, 161 "dist": { 162 "type": "zip", 163 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/882b8c947ada27eb002870fe77fee9ce0a454cdb", 164 "reference": "882b8c947ada27eb002870fe77fee9ce0a454cdb", 147 165 "shasum": "" 148 166 }, 149 167 "require": { 150 168 "php": ">=5.4", 151 "phpcsstandards/phpcsutils": "^1. 0.9",152 "squizlabs/php_codesniffer": "^3. 8.0"169 "phpcsstandards/phpcsutils": "^1.1.2", 170 "squizlabs/php_codesniffer": "^3.13.4 || ^4.0" 153 171 }, 154 172 "require-dev": { 155 173 "php-parallel-lint/php-console-highlighter": "^1.0", 156 "php-parallel-lint/php-parallel-lint": "^1. 3.2",174 "php-parallel-lint/php-parallel-lint": "^1.4.0", 157 175 "phpcsstandards/phpcsdevcs": "^1.1.6", 158 176 "phpcsstandards/phpcsdevtools": "^1.2.1", 159 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9. 0"160 }, 161 "time": "202 3-12-08T16:49:07+00:00",177 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 178 }, 179 "time": "2025-09-05T06:54:52+00:00", 162 180 "type": "phpcodesniffer-standard", 163 181 "extra": { … … 209 227 "url": "https://opencollective.com/php_codesniffer", 210 228 "type": "open_collective" 229 }, 230 { 231 "url": "https://thanks.dev/u/gh/phpcsstandards", 232 "type": "thanks_dev" 211 233 } 212 234 ], … … 215 237 { 216 238 "name": "phpcsstandards/phpcsutils", 217 "version": "1. 0.12",218 "version_normalized": "1. 0.12.0",239 "version": "1.1.2", 240 "version_normalized": "1.1.2.0", 219 241 "source": { 220 242 "type": "git", 221 243 "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", 222 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c"223 }, 224 "dist": { 225 "type": "zip", 226 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/ 87b233b00daf83fb70f40c9a28692be017ea7c6c",227 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c",244 "reference": "b22b59e3d9ec8fe4953e42c7d59117c6eae70eae" 245 }, 246 "dist": { 247 "type": "zip", 248 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/b22b59e3d9ec8fe4953e42c7d59117c6eae70eae", 249 "reference": "b22b59e3d9ec8fe4953e42c7d59117c6eae70eae", 228 250 "shasum": "" 229 251 }, … … 231 253 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", 232 254 "php": ">=5.4", 233 "squizlabs/php_codesniffer": "^3.1 0.0 || 4.0.x-dev@dev"255 "squizlabs/php_codesniffer": "^3.13.3 || ^4.0" 234 256 }, 235 257 "require-dev": { 236 258 "ext-filter": "*", 237 259 "php-parallel-lint/php-console-highlighter": "^1.0", 238 "php-parallel-lint/php-parallel-lint": "^1. 3.2",260 "php-parallel-lint/php-parallel-lint": "^1.4.0", 239 261 "phpcsstandards/phpcsdevcs": "^1.1.6", 240 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 "241 }, 242 "time": "202 4-05-20T13:34:27+00:00",262 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" 263 }, 264 "time": "2025-09-05T00:00:03+00:00", 243 265 "type": "phpcodesniffer-standard", 244 266 "extra": { … … 277 299 "phpcs", 278 300 "phpcs3", 301 "phpcs4", 279 302 "standards", 280 303 "static analysis", … … 300 323 "url": "https://opencollective.com/php_codesniffer", 301 324 "type": "open_collective" 325 }, 326 { 327 "url": "https://thanks.dev/u/gh/phpcsstandards", 328 "type": "thanks_dev" 302 329 } 303 330 ], … … 306 333 { 307 334 "name": "squizlabs/php_codesniffer", 308 "version": "3.1 1.2",309 "version_normalized": "3.1 1.2.0",335 "version": "3.13.4", 336 "version_normalized": "3.13.4.0", 310 337 "source": { 311 338 "type": "git", 312 339 "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", 313 "reference": " 1368f4a58c3c52114b86b1abe8f4098869cb0079"314 }, 315 "dist": { 316 "type": "zip", 317 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ 1368f4a58c3c52114b86b1abe8f4098869cb0079",318 "reference": " 1368f4a58c3c52114b86b1abe8f4098869cb0079",340 "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119" 341 }, 342 "dist": { 343 "type": "zip", 344 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119", 345 "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119", 319 346 "shasum": "" 320 347 }, … … 328 355 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 329 356 }, 330 "time": "202 4-12-11T16:04:26+00:00",357 "time": "2025-09-05T05:47:09+00:00", 331 358 "bin": [ 332 359 "bin/phpcbf", … … 383 410 "url": "https://opencollective.com/php_codesniffer", 384 411 "type": "open_collective" 412 }, 413 { 414 "url": "https://thanks.dev/u/gh/phpcsstandards", 415 "type": "thanks_dev" 385 416 } 386 417 ], … … 389 420 { 390 421 "name": "wp-cli/wp-config-transformer", 391 "version": "v1.4. 1",392 "version_normalized": "1.4. 1.0",422 "version": "v1.4.2", 423 "version_normalized": "1.4.2.0", 393 424 "source": { 394 425 "type": "git", 395 426 "url": "https://github.com/wp-cli/wp-config-transformer.git", 396 "reference": " 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01"397 }, 398 "dist": { 399 "type": "zip", 400 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/ 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01",401 "reference": " 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01",427 "reference": "b78cab1159b43eb5ee097e2cfafe5eab573d2a8a" 428 }, 429 "dist": { 430 "type": "zip", 431 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/b78cab1159b43eb5ee097e2cfafe5eab573d2a8a", 432 "reference": "b78cab1159b43eb5ee097e2cfafe5eab573d2a8a", 402 433 "shasum": "" 403 434 }, … … 408 439 "wp-cli/wp-cli-tests": "^4.0" 409 440 }, 410 "time": "202 4-10-16T12:50:47+00:00",441 "time": "2025-03-31T08:37:05+00:00", 411 442 "type": "library", 412 443 "extra": { … … 435 466 "support": { 436 467 "issues": "https://github.com/wp-cli/wp-config-transformer/issues", 437 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.4. 1"468 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.4.2" 438 469 }, 439 470 "install-path": "../wp-cli/wp-config-transformer" … … 441 472 { 442 473 "name": "wp-coding-standards/wpcs", 443 "version": "3. 1.0",444 "version_normalized": "3. 1.0.0",474 "version": "3.2.0", 475 "version_normalized": "3.2.0.0", 445 476 "source": { 446 477 "type": "git", 447 478 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 448 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7"449 }, 450 "dist": { 451 "type": "zip", 452 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/ 9333efcbff231f10dfd9c56bb7b65818b4733ca7",453 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7",479 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af" 480 }, 481 "dist": { 482 "type": "zip", 483 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af", 484 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af", 454 485 "shasum": "" 455 486 }, … … 460 491 "ext-xmlreader": "*", 461 492 "php": ">=5.4", 462 "phpcsstandards/phpcsextra": "^1. 2.1",463 "phpcsstandards/phpcsutils": "^1. 0.10",464 "squizlabs/php_codesniffer": "^3. 9.0"493 "phpcsstandards/phpcsextra": "^1.4.0", 494 "phpcsstandards/phpcsutils": "^1.1.0", 495 "squizlabs/php_codesniffer": "^3.13.0" 465 496 }, 466 497 "require-dev": { 467 498 "php-parallel-lint/php-console-highlighter": "^1.0.0", 468 "php-parallel-lint/php-parallel-lint": "^1. 3.2",499 "php-parallel-lint/php-parallel-lint": "^1.4.0", 469 500 "phpcompatibility/php-compatibility": "^9.0", 470 501 "phpcsstandards/phpcsdevtools": "^1.2.0", … … 475 506 "ext-mbstring": "For improved results" 476 507 }, 477 "time": "202 4-03-25T16:39:00+00:00",508 "time": "2025-07-24T20:08:31+00:00", 478 509 "type": "phpcodesniffer-standard", 479 510 "installation-source": "dist", -
local-development/tags/2.11.0/vendor/composer/installed.php
r3206522 r3375305 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 5426907839ea3480005186f6331b89cae762cbf7',6 'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 5426907839ea3480005186f6331b89cae762cbf7',16 'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', … … 32 32 ), 33 33 'dealerdirect/phpcodesniffer-composer-installer' => array( 34 'pretty_version' => 'v1. 0.0',35 'version' => '1. 0.0.0',36 'reference' => ' 4be43904336affa5c2f70744a348312336afd0da',34 'pretty_version' => 'v1.1.2', 35 'version' => '1.1.2.0', 36 'reference' => 'e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1', 37 37 'type' => 'composer-plugin', 38 38 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', … … 41 41 ), 42 42 'phpcsstandards/phpcsextra' => array( 43 'pretty_version' => '1. 2.1',44 'version' => '1. 2.1.0',45 'reference' => ' 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',43 'pretty_version' => '1.4.1', 44 'version' => '1.4.1.0', 45 'reference' => '882b8c947ada27eb002870fe77fee9ce0a454cdb', 46 46 'type' => 'phpcodesniffer-standard', 47 47 'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra', … … 50 50 ), 51 51 'phpcsstandards/phpcsutils' => array( 52 'pretty_version' => '1. 0.12',53 'version' => '1. 0.12.0',54 'reference' => ' 87b233b00daf83fb70f40c9a28692be017ea7c6c',52 'pretty_version' => '1.1.2', 53 'version' => '1.1.2.0', 54 'reference' => 'b22b59e3d9ec8fe4953e42c7d59117c6eae70eae', 55 55 'type' => 'phpcodesniffer-standard', 56 56 'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils', … … 59 59 ), 60 60 'squizlabs/php_codesniffer' => array( 61 'pretty_version' => '3.1 1.2',62 'version' => '3.1 1.2.0',63 'reference' => ' 1368f4a58c3c52114b86b1abe8f4098869cb0079',61 'pretty_version' => '3.13.4', 62 'version' => '3.13.4.0', 63 'reference' => 'ad545ea9c1b7d270ce0fc9cbfb884161cd706119', 64 64 'type' => 'library', 65 65 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', … … 68 68 ), 69 69 'wp-cli/wp-config-transformer' => array( 70 'pretty_version' => 'v1.4. 1',71 'version' => '1.4. 1.0',72 'reference' => ' 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01',70 'pretty_version' => 'v1.4.2', 71 'version' => '1.4.2.0', 72 'reference' => 'b78cab1159b43eb5ee097e2cfafe5eab573d2a8a', 73 73 'type' => 'library', 74 74 'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer', … … 77 77 ), 78 78 'wp-coding-standards/wpcs' => array( 79 'pretty_version' => '3. 1.0',80 'version' => '3. 1.0.0',81 'reference' => ' 9333efcbff231f10dfd9c56bb7b65818b4733ca7',79 'pretty_version' => '3.2.0', 80 'version' => '3.2.0.0', 81 'reference' => 'd2421de7cec3274ae622c22c744de9a62c7925af', 82 82 'type' => 'phpcodesniffer-standard', 83 83 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', -
local-development/tags/2.11.0/vendor/composer/platform_check.php
r2883673 r3375305 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
local-development/tags/2.11.0/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php
r3180141 r3375305 227 227 } 228 228 229 $pattern = sprintf( '/(?<=^|;|<\?php\s|<\?\s)%s\s*(\S|$)/m', preg_quote( $this->wp_configs[ $type ][ $name ]['src'], '/' ) ); 230 $contents = preg_replace( $pattern, '$1', $this->wp_config_src ); 229 if ( 'constant' === $type ) { 230 $pattern = sprintf( 231 "/\bdefine\s*\(\s*['\"]%s['\"]\s*,\s*(('[^']*'|\"[^\"]*\")|\s*(?:[\s\S]*?))\s*\)\s*;\s*/mi", 232 preg_quote( $name, '/' ) 233 ); 234 } else { 235 $pattern = sprintf( 236 '/^\s*\$%s\s*=\s*[\s\S]*?;\s*$/mi', 237 preg_quote( $name, '/' ) 238 ); 239 } 240 241 $contents = preg_replace( $pattern, '', $this->wp_config_src ); 231 242 232 243 return $this->save( $contents ); -
local-development/trunk/CHANGES.md
r3208239 r3375305 1 1 #### [unreleased] 2 3 #### 2.11.0 / 2025-09-08 4 * update for Git Updater Additions tab/rebrand 5 * use `init` hook in startup to avoid local_textdomain error 6 * update requirements 2 7 3 8 #### 2.10.1 / 2024-12-15 -
local-development/trunk/README.md
r2560201 r3375305 2 2 * Contributors: afragen, raruto 3 3 * Tags: localhost development upgrade plugin theme 4 * Requires at least: 4.65 * Requires PHP: 5.64 * Requires at least: 5.4 5 * Requires PHP: 7.4 6 6 * Stable tag: master 7 7 * License: GPLv2 … … 22 22 Pull Requests are welcome against the `develop` branch. 23 23 24 Requires PHP 5.6or greater.24 Requires PHP 7.4 or greater. 25 25 26 26 ## Screenshots -
local-development/trunk/languages/local-development.pot
r3208239 r3375305 1 # Copyright (C) 202 4Andy Fragen1 # Copyright (C) 2025 Andy Fragen 2 2 # This file is distributed under the GNU General Public License v2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: local-development 2.10.1\n"6 "Report-Msgid-Bugs-To: https://github.com/afragen/local-development/ local-development/issues\n"5 "Project-Id-Version: Local Development 2.11.0\n" 6 "Report-Msgid-Bugs-To: https://github.com/afragen/local-development/issues\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 8 8 "Language-Team: LANGUAGE <LL@li.org>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 4-12-15T17:12:23+00:00\n"12 "POT-Creation-Date: 2025-10-08T18:58:13+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: local-development\n" 16 16 -
local-development/trunk/local-development.php
r3208239 r3375305 15 15 * Author URI: http://thefragens.com/ 16 16 * Description: Places development notice for plugins or themes that are in local development. Prevents updating of selected plugins and themes. Automatically adds plugins and themes under version control. Allows for using a local file server and bypassing the WordPress 5.2 WSOD Shutdown Handler. 17 * Version: 2.1 0.117 * Version: 2.11.0 18 18 * Domain Path: /languages 19 19 * Text Domain: local-development … … 22 22 * Network: true 23 23 * GitHub Plugin URI: https://github.com/afragen/local-development 24 * Requires PHP: 5.625 * Requires at least: 4.624 * Requires PHP: 7.4 25 * Requires at least: 5.4 26 26 */ 27 27 … … 38 38 // Load Autoloader. 39 39 require_once __DIR__ . '/vendor/autoload.php'; 40 ( new Bootstrap() )->run( __FILE__ ); 40 add_action( 41 'init', 42 function () { 43 ( new Bootstrap() )->run( __FILE__ ); 44 } 45 ); -
local-development/trunk/readme.txt
r3208239 r3375305 2 2 Contributors: afragen, raruto 3 3 Tags: localhost, development, upgrade, plugin, theme 4 Requires at least: 4.65 Requires PHP: 5.66 Tested up to: 6. 87 Stable tag: 2.1 0.14 Requires at least: 5.4 5 Requires PHP: 7.4 6 Tested up to: 6.9 7 Stable tag: 2.11.0 8 8 License: GPLv2 9 9 … … 22 22 Pull Requests are welcome against the [develop branch on GitHub](https://github.com/afragen/local-development). 23 23 24 Requires PHP 5.6or greater.24 Requires PHP 7.4 or greater. 25 25 26 26 ## Screenshots … … 31 31 32 32 ## Changelog 33 34 #### 2.11.0 / 2025-09-08 35 * update for Git Updater Additions tab/rebrand 36 * use `init` hook in startup to avoid local_textdomain error 37 * update requirements 33 38 34 39 #### 2.10.1 / 2024-12-15 -
local-development/trunk/src/Local_Development/Base.php
r3180141 r3375305 316 316 317 317 /** 318 * Insert repositories added via Git Hub Updater Additions plugin.318 * Insert repositories added via Git Updater Additions tab. 319 319 * 320 * @see Git HubUpdater's Plugin or Theme class for definition.321 * @link https://github.com/afragen/git hub-updater-additions320 * @see Git Updater's Plugin or Theme class for definition. 321 * @link https://github.com/afragen/git-updater-additions 322 322 */ 323 $additions = apply_filters( 'g ithub_updater_additions', null, [], $type );323 $additions = apply_filters( 'gu_additions', null, [], $type ); 324 324 foreach ( (array) $additions as $slug => $headers ) { 325 325 if ( $slug === $file ) { -
local-development/trunk/src/Local_Development/Init.php
r3208239 r3375305 56 56 Singleton::get_instance( 'Settings', $this, $config )->load_hooks(); 57 57 58 add_action( 59 'init', 60 function () use ( &$config ) { 61 $config = $this->get_vcs_checkouts( $config ); 62 $config = $this->modify_options( $config ); 63 $this->config = $config; 64 65 Singleton::get_instance( 'Plugins', $this, $config )->run(); 66 Singleton::get_instance( 'Themes', $this, $config )->run(); 67 Singleton::get_instance( 'Extras', $this, $config )->run(); 68 } 69 ); 58 $config = $this->get_vcs_checkouts( $config ); 59 $config = $this->modify_options( $config ); 60 $this->config = $config; 61 62 Singleton::get_instance( 'Plugins', $this, $config )->run(); 63 Singleton::get_instance( 'Themes', $this, $config )->run(); 64 Singleton::get_instance( 'Extras', $this, $config )->run(); 70 65 71 66 return $this; -
local-development/trunk/vendor/autoload.php
r2883673 r3375305 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
local-development/trunk/vendor/composer/InstalledVersions.php
r2941394 r3375305 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
local-development/trunk/vendor/composer/autoload_classmap.php
r3116688 r3375305 14 14 'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 15 15 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 16 'PHPCSUtils\\Exceptions\\LogicException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 17 'PHPCSUtils\\Exceptions\\MissingArgumentError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 18 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 19 'PHPCSUtils\\Exceptions\\RuntimeException' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 16 20 'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 17 21 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 18 22 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 23 'PHPCSUtils\\Exceptions\\TypeError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 24 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 25 'PHPCSUtils\\Exceptions\\ValueError' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 19 26 'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 20 27 'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', … … 23 30 'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 24 31 'PHPCSUtils\\Internal\\StableCollections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 32 'PHPCSUtils\\TestUtils\\ConfigDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 33 'PHPCSUtils\\TestUtils\\RulesetDouble' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 25 34 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 26 35 'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', … … 28 37 'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 29 38 'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 39 'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 30 40 'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 31 41 'PHPCSUtils\\Utils\\ControlStructures' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 42 'PHPCSUtils\\Utils\\FileInfo' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 43 'PHPCSUtils\\Utils\\FilePath' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 32 44 'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 33 45 'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 44 56 'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 45 57 'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 58 'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 46 59 'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 47 60 'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
local-development/trunk/vendor/composer/autoload_static.php
r3116688 r3375305 41 41 'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php', 42 42 'PHPCSUtils\\Exceptions\\InvalidTokenArray' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/InvalidTokenArray.php', 43 'PHPCSUtils\\Exceptions\\LogicException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/LogicException.php', 44 'PHPCSUtils\\Exceptions\\MissingArgumentError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/MissingArgumentError.php', 45 'PHPCSUtils\\Exceptions\\OutOfBoundsStackPtr' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/OutOfBoundsStackPtr.php', 46 'PHPCSUtils\\Exceptions\\RuntimeException' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/RuntimeException.php', 43 47 'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php', 44 48 'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php', 45 49 'PHPCSUtils\\Exceptions\\TestTargetNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestTargetNotFound.php', 50 'PHPCSUtils\\Exceptions\\TypeError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TypeError.php', 51 'PHPCSUtils\\Exceptions\\UnexpectedTokenType' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/UnexpectedTokenType.php', 52 'PHPCSUtils\\Exceptions\\ValueError' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/ValueError.php', 46 53 'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php', 47 54 'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php', … … 50 57 'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php', 51 58 'PHPCSUtils\\Internal\\StableCollections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/StableCollections.php', 59 'PHPCSUtils\\TestUtils\\ConfigDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/ConfigDouble.php', 60 'PHPCSUtils\\TestUtils\\RulesetDouble' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/RulesetDouble.php', 52 61 'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php', 53 62 'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php', … … 55 64 'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php', 56 65 'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php', 66 'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php', 57 67 'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php', 58 68 'PHPCSUtils\\Utils\\ControlStructures' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/ControlStructures.php', 69 'PHPCSUtils\\Utils\\FileInfo' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FileInfo.php', 70 'PHPCSUtils\\Utils\\FilePath' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FilePath.php', 59 71 'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php', 60 72 'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php', … … 71 83 'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php', 72 84 'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php', 85 'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php', 73 86 'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php', 74 87 'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php', -
local-development/trunk/vendor/composer/installed.json
r3206522 r3375305 53 53 { 54 54 "name": "dealerdirect/phpcodesniffer-composer-installer", 55 "version": "v1. 0.0",56 "version_normalized": "1. 0.0.0",55 "version": "v1.1.2", 56 "version_normalized": "1.1.2.0", 57 57 "source": { 58 58 "type": "git", 59 59 "url": "https://github.com/PHPCSStandards/composer-installer.git", 60 "reference": " 4be43904336affa5c2f70744a348312336afd0da"61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/ 4be43904336affa5c2f70744a348312336afd0da",65 "reference": " 4be43904336affa5c2f70744a348312336afd0da",66 "shasum": "" 67 }, 68 "require": { 69 "composer-plugin-api": "^ 1.0 || ^2.0",60 "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1" 61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1", 65 "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1", 66 "shasum": "" 67 }, 68 "require": { 69 "composer-plugin-api": "^2.2", 70 70 "php": ">=5.4", 71 71 "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" 72 72 }, 73 73 "require-dev": { 74 "composer/composer": " *",74 "composer/composer": "^2.2", 75 75 "ext-json": "*", 76 76 "ext-zip": "*", 77 "php-parallel-lint/php-parallel-lint": "^1. 3.1",77 "php-parallel-lint/php-parallel-lint": "^1.4.0", 78 78 "phpcompatibility/php-compatibility": "^9.0", 79 79 "yoast/phpunit-polyfills": "^1.0" 80 80 }, 81 "time": "202 3-01-05T11:28:13+00:00",81 "time": "2025-07-17T20:45:56+00:00", 82 82 "type": "composer-plugin", 83 83 "extra": { … … 97 97 { 98 98 "name": "Franck Nijhof", 99 "email": " franck.nijhof@dealerdirect.com",100 "homepage": "http ://www.frenck.nl",101 "role": " Developer / IT Manager"99 "email": "opensource@frenck.dev", 100 "homepage": "https://frenck.dev", 101 "role": "Open source developer" 102 102 }, 103 103 { … … 107 107 ], 108 108 "description": "PHP_CodeSniffer Standards Composer Installer Plugin", 109 "homepage": "http://www.dealerdirect.com",110 109 "keywords": [ 111 110 "PHPCodeSniffer", … … 128 127 "support": { 129 128 "issues": "https://github.com/PHPCSStandards/composer-installer/issues", 129 "security": "https://github.com/PHPCSStandards/composer-installer/security/policy", 130 130 "source": "https://github.com/PHPCSStandards/composer-installer" 131 131 }, 132 "funding": [ 133 { 134 "url": "https://github.com/PHPCSStandards", 135 "type": "github" 136 }, 137 { 138 "url": "https://github.com/jrfnl", 139 "type": "github" 140 }, 141 { 142 "url": "https://opencollective.com/php_codesniffer", 143 "type": "open_collective" 144 }, 145 { 146 "url": "https://thanks.dev/u/gh/phpcsstandards", 147 "type": "thanks_dev" 148 } 149 ], 132 150 "install-path": "../dealerdirect/phpcodesniffer-composer-installer" 133 151 }, 134 152 { 135 153 "name": "phpcsstandards/phpcsextra", 136 "version": "1. 2.1",137 "version_normalized": "1. 2.1.0",154 "version": "1.4.1", 155 "version_normalized": "1.4.1.0", 138 156 "source": { 139 157 "type": "git", 140 158 "url": "https://github.com/PHPCSStandards/PHPCSExtra.git", 141 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489"142 }, 143 "dist": { 144 "type": "zip", 145 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/ 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",146 "reference": " 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489",159 "reference": "882b8c947ada27eb002870fe77fee9ce0a454cdb" 160 }, 161 "dist": { 162 "type": "zip", 163 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/882b8c947ada27eb002870fe77fee9ce0a454cdb", 164 "reference": "882b8c947ada27eb002870fe77fee9ce0a454cdb", 147 165 "shasum": "" 148 166 }, 149 167 "require": { 150 168 "php": ">=5.4", 151 "phpcsstandards/phpcsutils": "^1. 0.9",152 "squizlabs/php_codesniffer": "^3. 8.0"169 "phpcsstandards/phpcsutils": "^1.1.2", 170 "squizlabs/php_codesniffer": "^3.13.4 || ^4.0" 153 171 }, 154 172 "require-dev": { 155 173 "php-parallel-lint/php-console-highlighter": "^1.0", 156 "php-parallel-lint/php-parallel-lint": "^1. 3.2",174 "php-parallel-lint/php-parallel-lint": "^1.4.0", 157 175 "phpcsstandards/phpcsdevcs": "^1.1.6", 158 176 "phpcsstandards/phpcsdevtools": "^1.2.1", 159 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9. 0"160 }, 161 "time": "202 3-12-08T16:49:07+00:00",177 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 178 }, 179 "time": "2025-09-05T06:54:52+00:00", 162 180 "type": "phpcodesniffer-standard", 163 181 "extra": { … … 209 227 "url": "https://opencollective.com/php_codesniffer", 210 228 "type": "open_collective" 229 }, 230 { 231 "url": "https://thanks.dev/u/gh/phpcsstandards", 232 "type": "thanks_dev" 211 233 } 212 234 ], … … 215 237 { 216 238 "name": "phpcsstandards/phpcsutils", 217 "version": "1. 0.12",218 "version_normalized": "1. 0.12.0",239 "version": "1.1.2", 240 "version_normalized": "1.1.2.0", 219 241 "source": { 220 242 "type": "git", 221 243 "url": "https://github.com/PHPCSStandards/PHPCSUtils.git", 222 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c"223 }, 224 "dist": { 225 "type": "zip", 226 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/ 87b233b00daf83fb70f40c9a28692be017ea7c6c",227 "reference": " 87b233b00daf83fb70f40c9a28692be017ea7c6c",244 "reference": "b22b59e3d9ec8fe4953e42c7d59117c6eae70eae" 245 }, 246 "dist": { 247 "type": "zip", 248 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/b22b59e3d9ec8fe4953e42c7d59117c6eae70eae", 249 "reference": "b22b59e3d9ec8fe4953e42c7d59117c6eae70eae", 228 250 "shasum": "" 229 251 }, … … 231 253 "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0", 232 254 "php": ">=5.4", 233 "squizlabs/php_codesniffer": "^3.1 0.0 || 4.0.x-dev@dev"255 "squizlabs/php_codesniffer": "^3.13.3 || ^4.0" 234 256 }, 235 257 "require-dev": { 236 258 "ext-filter": "*", 237 259 "php-parallel-lint/php-console-highlighter": "^1.0", 238 "php-parallel-lint/php-parallel-lint": "^1. 3.2",260 "php-parallel-lint/php-parallel-lint": "^1.4.0", 239 261 "phpcsstandards/phpcsdevcs": "^1.1.6", 240 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 "241 }, 242 "time": "202 4-05-20T13:34:27+00:00",262 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0" 263 }, 264 "time": "2025-09-05T00:00:03+00:00", 243 265 "type": "phpcodesniffer-standard", 244 266 "extra": { … … 277 299 "phpcs", 278 300 "phpcs3", 301 "phpcs4", 279 302 "standards", 280 303 "static analysis", … … 300 323 "url": "https://opencollective.com/php_codesniffer", 301 324 "type": "open_collective" 325 }, 326 { 327 "url": "https://thanks.dev/u/gh/phpcsstandards", 328 "type": "thanks_dev" 302 329 } 303 330 ], … … 306 333 { 307 334 "name": "squizlabs/php_codesniffer", 308 "version": "3.1 1.2",309 "version_normalized": "3.1 1.2.0",335 "version": "3.13.4", 336 "version_normalized": "3.13.4.0", 310 337 "source": { 311 338 "type": "git", 312 339 "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", 313 "reference": " 1368f4a58c3c52114b86b1abe8f4098869cb0079"314 }, 315 "dist": { 316 "type": "zip", 317 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ 1368f4a58c3c52114b86b1abe8f4098869cb0079",318 "reference": " 1368f4a58c3c52114b86b1abe8f4098869cb0079",340 "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119" 341 }, 342 "dist": { 343 "type": "zip", 344 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ad545ea9c1b7d270ce0fc9cbfb884161cd706119", 345 "reference": "ad545ea9c1b7d270ce0fc9cbfb884161cd706119", 319 346 "shasum": "" 320 347 }, … … 328 355 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4" 329 356 }, 330 "time": "202 4-12-11T16:04:26+00:00",357 "time": "2025-09-05T05:47:09+00:00", 331 358 "bin": [ 332 359 "bin/phpcbf", … … 383 410 "url": "https://opencollective.com/php_codesniffer", 384 411 "type": "open_collective" 412 }, 413 { 414 "url": "https://thanks.dev/u/gh/phpcsstandards", 415 "type": "thanks_dev" 385 416 } 386 417 ], … … 389 420 { 390 421 "name": "wp-cli/wp-config-transformer", 391 "version": "v1.4. 1",392 "version_normalized": "1.4. 1.0",422 "version": "v1.4.2", 423 "version_normalized": "1.4.2.0", 393 424 "source": { 394 425 "type": "git", 395 426 "url": "https://github.com/wp-cli/wp-config-transformer.git", 396 "reference": " 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01"397 }, 398 "dist": { 399 "type": "zip", 400 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/ 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01",401 "reference": " 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01",427 "reference": "b78cab1159b43eb5ee097e2cfafe5eab573d2a8a" 428 }, 429 "dist": { 430 "type": "zip", 431 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/b78cab1159b43eb5ee097e2cfafe5eab573d2a8a", 432 "reference": "b78cab1159b43eb5ee097e2cfafe5eab573d2a8a", 402 433 "shasum": "" 403 434 }, … … 408 439 "wp-cli/wp-cli-tests": "^4.0" 409 440 }, 410 "time": "202 4-10-16T12:50:47+00:00",441 "time": "2025-03-31T08:37:05+00:00", 411 442 "type": "library", 412 443 "extra": { … … 435 466 "support": { 436 467 "issues": "https://github.com/wp-cli/wp-config-transformer/issues", 437 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.4. 1"468 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.4.2" 438 469 }, 439 470 "install-path": "../wp-cli/wp-config-transformer" … … 441 472 { 442 473 "name": "wp-coding-standards/wpcs", 443 "version": "3. 1.0",444 "version_normalized": "3. 1.0.0",474 "version": "3.2.0", 475 "version_normalized": "3.2.0.0", 445 476 "source": { 446 477 "type": "git", 447 478 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 448 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7"449 }, 450 "dist": { 451 "type": "zip", 452 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/ 9333efcbff231f10dfd9c56bb7b65818b4733ca7",453 "reference": " 9333efcbff231f10dfd9c56bb7b65818b4733ca7",479 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af" 480 }, 481 "dist": { 482 "type": "zip", 483 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af", 484 "reference": "d2421de7cec3274ae622c22c744de9a62c7925af", 454 485 "shasum": "" 455 486 }, … … 460 491 "ext-xmlreader": "*", 461 492 "php": ">=5.4", 462 "phpcsstandards/phpcsextra": "^1. 2.1",463 "phpcsstandards/phpcsutils": "^1. 0.10",464 "squizlabs/php_codesniffer": "^3. 9.0"493 "phpcsstandards/phpcsextra": "^1.4.0", 494 "phpcsstandards/phpcsutils": "^1.1.0", 495 "squizlabs/php_codesniffer": "^3.13.0" 465 496 }, 466 497 "require-dev": { 467 498 "php-parallel-lint/php-console-highlighter": "^1.0.0", 468 "php-parallel-lint/php-parallel-lint": "^1. 3.2",499 "php-parallel-lint/php-parallel-lint": "^1.4.0", 469 500 "phpcompatibility/php-compatibility": "^9.0", 470 501 "phpcsstandards/phpcsdevtools": "^1.2.0", … … 475 506 "ext-mbstring": "For improved results" 476 507 }, 477 "time": "202 4-03-25T16:39:00+00:00",508 "time": "2025-07-24T20:08:31+00:00", 478 509 "type": "phpcodesniffer-standard", 479 510 "installation-source": "dist", -
local-development/trunk/vendor/composer/installed.php
r3206522 r3375305 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 5426907839ea3480005186f6331b89cae762cbf7',6 'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 5426907839ea3480005186f6331b89cae762cbf7',16 'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', … … 32 32 ), 33 33 'dealerdirect/phpcodesniffer-composer-installer' => array( 34 'pretty_version' => 'v1. 0.0',35 'version' => '1. 0.0.0',36 'reference' => ' 4be43904336affa5c2f70744a348312336afd0da',34 'pretty_version' => 'v1.1.2', 35 'version' => '1.1.2.0', 36 'reference' => 'e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1', 37 37 'type' => 'composer-plugin', 38 38 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', … … 41 41 ), 42 42 'phpcsstandards/phpcsextra' => array( 43 'pretty_version' => '1. 2.1',44 'version' => '1. 2.1.0',45 'reference' => ' 11d387c6642b6e4acaf0bd9bf5203b8cca1ec489',43 'pretty_version' => '1.4.1', 44 'version' => '1.4.1.0', 45 'reference' => '882b8c947ada27eb002870fe77fee9ce0a454cdb', 46 46 'type' => 'phpcodesniffer-standard', 47 47 'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra', … … 50 50 ), 51 51 'phpcsstandards/phpcsutils' => array( 52 'pretty_version' => '1. 0.12',53 'version' => '1. 0.12.0',54 'reference' => ' 87b233b00daf83fb70f40c9a28692be017ea7c6c',52 'pretty_version' => '1.1.2', 53 'version' => '1.1.2.0', 54 'reference' => 'b22b59e3d9ec8fe4953e42c7d59117c6eae70eae', 55 55 'type' => 'phpcodesniffer-standard', 56 56 'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils', … … 59 59 ), 60 60 'squizlabs/php_codesniffer' => array( 61 'pretty_version' => '3.1 1.2',62 'version' => '3.1 1.2.0',63 'reference' => ' 1368f4a58c3c52114b86b1abe8f4098869cb0079',61 'pretty_version' => '3.13.4', 62 'version' => '3.13.4.0', 63 'reference' => 'ad545ea9c1b7d270ce0fc9cbfb884161cd706119', 64 64 'type' => 'library', 65 65 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', … … 68 68 ), 69 69 'wp-cli/wp-config-transformer' => array( 70 'pretty_version' => 'v1.4. 1',71 'version' => '1.4. 1.0',72 'reference' => ' 9da378b5a4e28bba3bce4ff4ff04a54d8c9f1a01',70 'pretty_version' => 'v1.4.2', 71 'version' => '1.4.2.0', 72 'reference' => 'b78cab1159b43eb5ee097e2cfafe5eab573d2a8a', 73 73 'type' => 'library', 74 74 'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer', … … 77 77 ), 78 78 'wp-coding-standards/wpcs' => array( 79 'pretty_version' => '3. 1.0',80 'version' => '3. 1.0.0',81 'reference' => ' 9333efcbff231f10dfd9c56bb7b65818b4733ca7',79 'pretty_version' => '3.2.0', 80 'version' => '3.2.0.0', 81 'reference' => 'd2421de7cec3274ae622c22c744de9a62c7925af', 82 82 'type' => 'phpcodesniffer-standard', 83 83 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', -
local-development/trunk/vendor/composer/platform_check.php
r2883673 r3375305 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
local-development/trunk/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php
r3180141 r3375305 227 227 } 228 228 229 $pattern = sprintf( '/(?<=^|;|<\?php\s|<\?\s)%s\s*(\S|$)/m', preg_quote( $this->wp_configs[ $type ][ $name ]['src'], '/' ) ); 230 $contents = preg_replace( $pattern, '$1', $this->wp_config_src ); 229 if ( 'constant' === $type ) { 230 $pattern = sprintf( 231 "/\bdefine\s*\(\s*['\"]%s['\"]\s*,\s*(('[^']*'|\"[^\"]*\")|\s*(?:[\s\S]*?))\s*\)\s*;\s*/mi", 232 preg_quote( $name, '/' ) 233 ); 234 } else { 235 $pattern = sprintf( 236 '/^\s*\$%s\s*=\s*[\s\S]*?;\s*$/mi', 237 preg_quote( $name, '/' ) 238 ); 239 } 240 241 $contents = preg_replace( $pattern, '', $this->wp_config_src ); 231 242 232 243 return $this->save( $contents );
Note: See TracChangeset
for help on using the changeset viewer.