Plugin Directory

Changeset 3375305


Ignore:
Timestamp:
10/08/2025 07:04:33 PM (3 months ago)
Author:
afragen
Message:

Update to version 2.11.0 from GitHub

Location:
local-development
Files:
30 edited
1 copied

Legend:

Unmodified
Added
Removed
  • local-development/tags/2.11.0/CHANGES.md

    r3208239 r3375305  
    11#### [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
    27
    38#### 2.10.1 / 2024-12-15
  • local-development/tags/2.11.0/README.md

    r2560201 r3375305  
    22* Contributors: afragen, raruto
    33* Tags: localhost development upgrade plugin theme
    4 * Requires at least: 4.6
    5 * Requires PHP: 5.6
     4* Requires at least: 5.4
     5* Requires PHP: 7.4
    66* Stable tag: master
    77* License: GPLv2
     
    2222Pull Requests are welcome against the `develop` branch.
    2323
    24 Requires PHP 5.6 or greater.
     24Requires PHP 7.4 or greater.
    2525
    2626## Screenshots
  • local-development/tags/2.11.0/languages/local-development.pot

    r3208239 r3375305  
    1 # Copyright (C) 2024 Andy Fragen
     1# Copyright (C) 2025 Andy Fragen
    22# This file is distributed under the GNU General Public License v2.
    33msgid ""
    44msgstr ""
    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"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    88"Language-Team: LANGUAGE <LL@li.org>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-12-15T17:12:23+00:00\n"
     12"POT-Creation-Date: 2025-10-08T18:58:13+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: local-development\n"
    1616
  • local-development/tags/2.11.0/local-development.php

    r3208239 r3375305  
    1515 * Author URI:        http://thefragens.com/
    1616 * 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.10.1
     17 * Version:           2.11.0
    1818 * Domain Path:       /languages
    1919 * Text Domain:       local-development
     
    2222 * Network:           true
    2323 * GitHub Plugin URI: https://github.com/afragen/local-development
    24  * Requires PHP:      5.6
    25  * Requires at least: 4.6
     24 * Requires PHP:      7.4
     25 * Requires at least: 5.4
    2626 */
    2727
     
    3838// Load Autoloader.
    3939require_once __DIR__ . '/vendor/autoload.php';
    40 ( new Bootstrap() )->run( __FILE__ );
     40add_action(
     41    'init',
     42    function () {
     43        ( new Bootstrap() )->run( __FILE__ );
     44    }
     45);
  • local-development/tags/2.11.0/readme.txt

    r3208239 r3375305  
    22Contributors: afragen, raruto
    33Tags: localhost, development, upgrade, plugin, theme
    4 Requires at least: 4.6
    5 Requires PHP: 5.6
    6 Tested up to: 6.8
    7 Stable tag: 2.10.1
     4Requires at least: 5.4
     5Requires PHP: 7.4
     6Tested up to: 6.9
     7Stable tag: 2.11.0
    88License: GPLv2
    99
     
    2222Pull Requests are welcome against the [develop branch on GitHub](https://github.com/afragen/local-development).
    2323
    24 Requires PHP 5.6 or greater.
     24Requires PHP 7.4 or greater.
    2525
    2626## Screenshots
     
    3131
    3232## 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
    3338
    3439#### 2.10.1 / 2024-12-15
  • local-development/tags/2.11.0/src/Local_Development/Base.php

    r3180141 r3375305  
    316316
    317317        /**
    318          * Insert repositories added via GitHub Updater Additions plugin.
     318         * Insert repositories added via Git Updater Additions tab.
    319319         *
    320          * @see GitHub Updater's Plugin or Theme class for definition.
    321          * @link https://github.com/afragen/github-updater-additions
     320         * @see Git Updater's Plugin or Theme class for definition.
     321         * @link https://github.com/afragen/git-updater-additions
    322322         */
    323         $additions = apply_filters( 'github_updater_additions', null, [], $type );
     323        $additions = apply_filters( 'gu_additions', null, [], $type );
    324324        foreach ( (array) $additions as $slug => $headers ) {
    325325            if ( $slug === $file ) {
  • local-development/tags/2.11.0/src/Local_Development/Init.php

    r3208239 r3375305  
    5656        Singleton::get_instance( 'Settings', $this, $config )->load_hooks();
    5757
    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();
    7065
    7166        return $this;
  • local-development/tags/2.11.0/vendor/autoload.php

    r2883673 r3375305  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • local-development/tags/2.11.0/vendor/composer/InstalledVersions.php

    r2941394 r3375305  
    2828{
    2929    /**
     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    /**
    3036     * @var mixed[]|null
    3137     * @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
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        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;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @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 */
    332364                    $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;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • local-development/tags/2.11.0/vendor/composer/autoload_classmap.php

    r3116688 r3375305  
    1414    'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    1515    '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',
    1620    'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    1721    'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    1822    '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',
    1926    'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
    2027    'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
     
    2330    'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    2431    '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',
    2534    'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    2635    'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
     
    2837    'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
    2938    'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     39    'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    3040    'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    3141    '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',
    3244    'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    3345    'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    4456    'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    4557    'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     58    'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    4659    'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    4760    'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • local-development/tags/2.11.0/vendor/composer/autoload_static.php

    r3116688 r3375305  
    4141        'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    4242        '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',
    4347        'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    4448        'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    4549        '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',
    4653        'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
    4754        'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
     
    5057        'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    5158        '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',
    5261        'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    5362        'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
     
    5564        'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
    5665        'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     66        'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    5767        'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    5868        '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',
    5971        'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    6072        'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    7183        'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    7284        'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     85        'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    7386        'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    7487        'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • local-development/tags/2.11.0/vendor/composer/installed.json

    r3206522 r3375305  
    5353        {
    5454            "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",
    5757            "source": {
    5858                "type": "git",
    5959                "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",
    7070                "php": ">=5.4",
    7171                "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
    7272            },
    7373            "require-dev": {
    74                 "composer/composer": "*",
     74                "composer/composer": "^2.2",
    7575                "ext-json": "*",
    7676                "ext-zip": "*",
    77                 "php-parallel-lint/php-parallel-lint": "^1.3.1",
     77                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    7878                "phpcompatibility/php-compatibility": "^9.0",
    7979                "yoast/phpunit-polyfills": "^1.0"
    8080            },
    81             "time": "2023-01-05T11:28:13+00:00",
     81            "time": "2025-07-17T20:45:56+00:00",
    8282            "type": "composer-plugin",
    8383            "extra": {
     
    9797                {
    9898                    "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"
    102102                },
    103103                {
     
    107107            ],
    108108            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
    109             "homepage": "http://www.dealerdirect.com",
    110109            "keywords": [
    111110                "PHPCodeSniffer",
     
    128127            "support": {
    129128                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     129                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
    130130                "source": "https://github.com/PHPCSStandards/composer-installer"
    131131            },
     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            ],
    132150            "install-path": "../dealerdirect/phpcodesniffer-composer-installer"
    133151        },
    134152        {
    135153            "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",
    138156            "source": {
    139157                "type": "git",
    140158                "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",
    147165                "shasum": ""
    148166            },
    149167            "require": {
    150168                "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"
    153171            },
    154172            "require-dev": {
    155173                "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",
    157175                "phpcsstandards/phpcsdevcs": "^1.1.6",
    158176                "phpcsstandards/phpcsdevtools": "^1.2.1",
    159                 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
    160             },
    161             "time": "2023-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",
    162180            "type": "phpcodesniffer-standard",
    163181            "extra": {
     
    209227                    "url": "https://opencollective.com/php_codesniffer",
    210228                    "type": "open_collective"
     229                },
     230                {
     231                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     232                    "type": "thanks_dev"
    211233                }
    212234            ],
     
    215237        {
    216238            "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",
    219241            "source": {
    220242                "type": "git",
    221243                "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",
    228250                "shasum": ""
    229251            },
     
    231253                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
    232254                "php": ">=5.4",
    233                 "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
     255                "squizlabs/php_codesniffer": "^3.13.3 || ^4.0"
    234256            },
    235257            "require-dev": {
    236258                "ext-filter": "*",
    237259                "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",
    239261                "phpcsstandards/phpcsdevcs": "^1.1.6",
    240                 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
    241             },
    242             "time": "2024-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",
    243265            "type": "phpcodesniffer-standard",
    244266            "extra": {
     
    277299                "phpcs",
    278300                "phpcs3",
     301                "phpcs4",
    279302                "standards",
    280303                "static analysis",
     
    300323                    "url": "https://opencollective.com/php_codesniffer",
    301324                    "type": "open_collective"
     325                },
     326                {
     327                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     328                    "type": "thanks_dev"
    302329                }
    303330            ],
     
    306333        {
    307334            "name": "squizlabs/php_codesniffer",
    308             "version": "3.11.2",
    309             "version_normalized": "3.11.2.0",
     335            "version": "3.13.4",
     336            "version_normalized": "3.13.4.0",
    310337            "source": {
    311338                "type": "git",
    312339                "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",
    319346                "shasum": ""
    320347            },
     
    328355                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    329356            },
    330             "time": "2024-12-11T16:04:26+00:00",
     357            "time": "2025-09-05T05:47:09+00:00",
    331358            "bin": [
    332359                "bin/phpcbf",
     
    383410                    "url": "https://opencollective.com/php_codesniffer",
    384411                    "type": "open_collective"
     412                },
     413                {
     414                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     415                    "type": "thanks_dev"
    385416                }
    386417            ],
     
    389420        {
    390421            "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",
    393424            "source": {
    394425                "type": "git",
    395426                "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",
    402433                "shasum": ""
    403434            },
     
    408439                "wp-cli/wp-cli-tests": "^4.0"
    409440            },
    410             "time": "2024-10-16T12:50:47+00:00",
     441            "time": "2025-03-31T08:37:05+00:00",
    411442            "type": "library",
    412443            "extra": {
     
    435466            "support": {
    436467                "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"
    438469            },
    439470            "install-path": "../wp-cli/wp-config-transformer"
     
    441472        {
    442473            "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",
    445476            "source": {
    446477                "type": "git",
    447478                "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",
    454485                "shasum": ""
    455486            },
     
    460491                "ext-xmlreader": "*",
    461492                "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"
    465496            },
    466497            "require-dev": {
    467498                "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",
    469500                "phpcompatibility/php-compatibility": "^9.0",
    470501                "phpcsstandards/phpcsdevtools": "^1.2.0",
     
    475506                "ext-mbstring": "For improved results"
    476507            },
    477             "time": "2024-03-25T16:39:00+00:00",
     508            "time": "2025-07-24T20:08:31+00:00",
    478509            "type": "phpcodesniffer-standard",
    479510            "installation-source": "dist",
  • local-development/tags/2.11.0/vendor/composer/installed.php

    r3206522 r3375305  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '5426907839ea3480005186f6331b89cae762cbf7',
     6        'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '5426907839ea3480005186f6331b89cae762cbf7',
     16            'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
     
    3232        ),
    3333        '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',
    3737            'type' => 'composer-plugin',
    3838            'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
     
    4141        ),
    4242        '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',
    4646            'type' => 'phpcodesniffer-standard',
    4747            'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra',
     
    5050        ),
    5151        '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',
    5555            'type' => 'phpcodesniffer-standard',
    5656            'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils',
     
    5959        ),
    6060        'squizlabs/php_codesniffer' => array(
    61             'pretty_version' => '3.11.2',
    62             'version' => '3.11.2.0',
    63             'reference' => '1368f4a58c3c52114b86b1abe8f4098869cb0079',
     61            'pretty_version' => '3.13.4',
     62            'version' => '3.13.4.0',
     63            'reference' => 'ad545ea9c1b7d270ce0fc9cbfb884161cd706119',
    6464            'type' => 'library',
    6565            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    6868        ),
    6969        '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',
    7373            'type' => 'library',
    7474            'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer',
     
    7777        ),
    7878        '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',
    8282            'type' => 'phpcodesniffer-standard',
    8383            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
  • local-development/tags/2.11.0/vendor/composer/platform_check.php

    r2883673 r3375305  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • local-development/tags/2.11.0/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php

    r3180141 r3375305  
    227227        }
    228228
    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 );
    231242
    232243        return $this->save( $contents );
  • local-development/trunk/CHANGES.md

    r3208239 r3375305  
    11#### [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
    27
    38#### 2.10.1 / 2024-12-15
  • local-development/trunk/README.md

    r2560201 r3375305  
    22* Contributors: afragen, raruto
    33* Tags: localhost development upgrade plugin theme
    4 * Requires at least: 4.6
    5 * Requires PHP: 5.6
     4* Requires at least: 5.4
     5* Requires PHP: 7.4
    66* Stable tag: master
    77* License: GPLv2
     
    2222Pull Requests are welcome against the `develop` branch.
    2323
    24 Requires PHP 5.6 or greater.
     24Requires PHP 7.4 or greater.
    2525
    2626## Screenshots
  • local-development/trunk/languages/local-development.pot

    r3208239 r3375305  
    1 # Copyright (C) 2024 Andy Fragen
     1# Copyright (C) 2025 Andy Fragen
    22# This file is distributed under the GNU General Public License v2.
    33msgid ""
    44msgstr ""
    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"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    88"Language-Team: LANGUAGE <LL@li.org>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-12-15T17:12:23+00:00\n"
     12"POT-Creation-Date: 2025-10-08T18:58:13+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: local-development\n"
    1616
  • local-development/trunk/local-development.php

    r3208239 r3375305  
    1515 * Author URI:        http://thefragens.com/
    1616 * 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.10.1
     17 * Version:           2.11.0
    1818 * Domain Path:       /languages
    1919 * Text Domain:       local-development
     
    2222 * Network:           true
    2323 * GitHub Plugin URI: https://github.com/afragen/local-development
    24  * Requires PHP:      5.6
    25  * Requires at least: 4.6
     24 * Requires PHP:      7.4
     25 * Requires at least: 5.4
    2626 */
    2727
     
    3838// Load Autoloader.
    3939require_once __DIR__ . '/vendor/autoload.php';
    40 ( new Bootstrap() )->run( __FILE__ );
     40add_action(
     41    'init',
     42    function () {
     43        ( new Bootstrap() )->run( __FILE__ );
     44    }
     45);
  • local-development/trunk/readme.txt

    r3208239 r3375305  
    22Contributors: afragen, raruto
    33Tags: localhost, development, upgrade, plugin, theme
    4 Requires at least: 4.6
    5 Requires PHP: 5.6
    6 Tested up to: 6.8
    7 Stable tag: 2.10.1
     4Requires at least: 5.4
     5Requires PHP: 7.4
     6Tested up to: 6.9
     7Stable tag: 2.11.0
    88License: GPLv2
    99
     
    2222Pull Requests are welcome against the [develop branch on GitHub](https://github.com/afragen/local-development).
    2323
    24 Requires PHP 5.6 or greater.
     24Requires PHP 7.4 or greater.
    2525
    2626## Screenshots
     
    3131
    3232## 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
    3338
    3439#### 2.10.1 / 2024-12-15
  • local-development/trunk/src/Local_Development/Base.php

    r3180141 r3375305  
    316316
    317317        /**
    318          * Insert repositories added via GitHub Updater Additions plugin.
     318         * Insert repositories added via Git Updater Additions tab.
    319319         *
    320          * @see GitHub Updater's Plugin or Theme class for definition.
    321          * @link https://github.com/afragen/github-updater-additions
     320         * @see Git Updater's Plugin or Theme class for definition.
     321         * @link https://github.com/afragen/git-updater-additions
    322322         */
    323         $additions = apply_filters( 'github_updater_additions', null, [], $type );
     323        $additions = apply_filters( 'gu_additions', null, [], $type );
    324324        foreach ( (array) $additions as $slug => $headers ) {
    325325            if ( $slug === $file ) {
  • local-development/trunk/src/Local_Development/Init.php

    r3208239 r3375305  
    5656        Singleton::get_instance( 'Settings', $this, $config )->load_hooks();
    5757
    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();
    7065
    7166        return $this;
  • local-development/trunk/vendor/autoload.php

    r2883673 r3375305  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • local-development/trunk/vendor/composer/InstalledVersions.php

    r2941394 r3375305  
    2828{
    2929    /**
     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    /**
    3036     * @var mixed[]|null
    3137     * @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
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        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;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @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 */
    332364                    $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;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • local-development/trunk/vendor/composer/autoload_classmap.php

    r3116688 r3375305  
    1414    'PHPCSUtils\\BackCompat\\Helper' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    1515    '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',
    1620    'PHPCSUtils\\Exceptions\\TestFileNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    1721    'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    1822    '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',
    1926    'PHPCSUtils\\Fixers\\SpacesFixer' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
    2027    'PHPCSUtils\\Internal\\Cache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
     
    2330    'PHPCSUtils\\Internal\\NoFileCache' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    2431    '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',
    2534    'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    2635    'PHPCSUtils\\Tokens\\Collections' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
     
    2837    'PHPCSUtils\\Utils\\Arrays' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
    2938    'PHPCSUtils\\Utils\\Conditions' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     39    'PHPCSUtils\\Utils\\Constants' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    3040    'PHPCSUtils\\Utils\\Context' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    3141    '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',
    3244    'PHPCSUtils\\Utils\\FunctionDeclarations' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    3345    'PHPCSUtils\\Utils\\GetTokensAsString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    4456    'PHPCSUtils\\Utils\\Scopes' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    4557    'PHPCSUtils\\Utils\\TextStrings' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     58    'PHPCSUtils\\Utils\\TypeString' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    4659    'PHPCSUtils\\Utils\\UseStatements' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    4760    'PHPCSUtils\\Utils\\Variables' => $vendorDir . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • local-development/trunk/vendor/composer/autoload_static.php

    r3116688 r3375305  
    4141        'PHPCSUtils\\BackCompat\\Helper' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/BackCompat/Helper.php',
    4242        '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',
    4347        'PHPCSUtils\\Exceptions\\TestFileNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestFileNotFound.php',
    4448        'PHPCSUtils\\Exceptions\\TestMarkerNotFound' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Exceptions/TestMarkerNotFound.php',
    4549        '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',
    4653        'PHPCSUtils\\Fixers\\SpacesFixer' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Fixers/SpacesFixer.php',
    4754        'PHPCSUtils\\Internal\\Cache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/Cache.php',
     
    5057        'PHPCSUtils\\Internal\\NoFileCache' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Internal/NoFileCache.php',
    5158        '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',
    5261        'PHPCSUtils\\TestUtils\\UtilityMethodTestCase' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/TestUtils/UtilityMethodTestCase.php',
    5362        'PHPCSUtils\\Tokens\\Collections' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Tokens/Collections.php',
     
    5564        'PHPCSUtils\\Utils\\Arrays' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Arrays.php',
    5665        'PHPCSUtils\\Utils\\Conditions' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Conditions.php',
     66        'PHPCSUtils\\Utils\\Constants' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Constants.php',
    5767        'PHPCSUtils\\Utils\\Context' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Context.php',
    5868        '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',
    5971        'PHPCSUtils\\Utils\\FunctionDeclarations' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/FunctionDeclarations.php',
    6072        'PHPCSUtils\\Utils\\GetTokensAsString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/GetTokensAsString.php',
     
    7183        'PHPCSUtils\\Utils\\Scopes' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Scopes.php',
    7284        'PHPCSUtils\\Utils\\TextStrings' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TextStrings.php',
     85        'PHPCSUtils\\Utils\\TypeString' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/TypeString.php',
    7386        'PHPCSUtils\\Utils\\UseStatements' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/UseStatements.php',
    7487        'PHPCSUtils\\Utils\\Variables' => __DIR__ . '/..' . '/phpcsstandards/phpcsutils/PHPCSUtils/Utils/Variables.php',
  • local-development/trunk/vendor/composer/installed.json

    r3206522 r3375305  
    5353        {
    5454            "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",
    5757            "source": {
    5858                "type": "git",
    5959                "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",
    7070                "php": ">=5.4",
    7171                "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
    7272            },
    7373            "require-dev": {
    74                 "composer/composer": "*",
     74                "composer/composer": "^2.2",
    7575                "ext-json": "*",
    7676                "ext-zip": "*",
    77                 "php-parallel-lint/php-parallel-lint": "^1.3.1",
     77                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    7878                "phpcompatibility/php-compatibility": "^9.0",
    7979                "yoast/phpunit-polyfills": "^1.0"
    8080            },
    81             "time": "2023-01-05T11:28:13+00:00",
     81            "time": "2025-07-17T20:45:56+00:00",
    8282            "type": "composer-plugin",
    8383            "extra": {
     
    9797                {
    9898                    "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"
    102102                },
    103103                {
     
    107107            ],
    108108            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
    109             "homepage": "http://www.dealerdirect.com",
    110109            "keywords": [
    111110                "PHPCodeSniffer",
     
    128127            "support": {
    129128                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     129                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
    130130                "source": "https://github.com/PHPCSStandards/composer-installer"
    131131            },
     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            ],
    132150            "install-path": "../dealerdirect/phpcodesniffer-composer-installer"
    133151        },
    134152        {
    135153            "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",
    138156            "source": {
    139157                "type": "git",
    140158                "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",
    147165                "shasum": ""
    148166            },
    149167            "require": {
    150168                "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"
    153171            },
    154172            "require-dev": {
    155173                "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",
    157175                "phpcsstandards/phpcsdevcs": "^1.1.6",
    158176                "phpcsstandards/phpcsdevtools": "^1.2.1",
    159                 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
    160             },
    161             "time": "2023-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",
    162180            "type": "phpcodesniffer-standard",
    163181            "extra": {
     
    209227                    "url": "https://opencollective.com/php_codesniffer",
    210228                    "type": "open_collective"
     229                },
     230                {
     231                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     232                    "type": "thanks_dev"
    211233                }
    212234            ],
     
    215237        {
    216238            "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",
    219241            "source": {
    220242                "type": "git",
    221243                "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",
    228250                "shasum": ""
    229251            },
     
    231253                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
    232254                "php": ">=5.4",
    233                 "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
     255                "squizlabs/php_codesniffer": "^3.13.3 || ^4.0"
    234256            },
    235257            "require-dev": {
    236258                "ext-filter": "*",
    237259                "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",
    239261                "phpcsstandards/phpcsdevcs": "^1.1.6",
    240                 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
    241             },
    242             "time": "2024-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",
    243265            "type": "phpcodesniffer-standard",
    244266            "extra": {
     
    277299                "phpcs",
    278300                "phpcs3",
     301                "phpcs4",
    279302                "standards",
    280303                "static analysis",
     
    300323                    "url": "https://opencollective.com/php_codesniffer",
    301324                    "type": "open_collective"
     325                },
     326                {
     327                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     328                    "type": "thanks_dev"
    302329                }
    303330            ],
     
    306333        {
    307334            "name": "squizlabs/php_codesniffer",
    308             "version": "3.11.2",
    309             "version_normalized": "3.11.2.0",
     335            "version": "3.13.4",
     336            "version_normalized": "3.13.4.0",
    310337            "source": {
    311338                "type": "git",
    312339                "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",
    319346                "shasum": ""
    320347            },
     
    328355                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    329356            },
    330             "time": "2024-12-11T16:04:26+00:00",
     357            "time": "2025-09-05T05:47:09+00:00",
    331358            "bin": [
    332359                "bin/phpcbf",
     
    383410                    "url": "https://opencollective.com/php_codesniffer",
    384411                    "type": "open_collective"
     412                },
     413                {
     414                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     415                    "type": "thanks_dev"
    385416                }
    386417            ],
     
    389420        {
    390421            "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",
    393424            "source": {
    394425                "type": "git",
    395426                "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",
    402433                "shasum": ""
    403434            },
     
    408439                "wp-cli/wp-cli-tests": "^4.0"
    409440            },
    410             "time": "2024-10-16T12:50:47+00:00",
     441            "time": "2025-03-31T08:37:05+00:00",
    411442            "type": "library",
    412443            "extra": {
     
    435466            "support": {
    436467                "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"
    438469            },
    439470            "install-path": "../wp-cli/wp-config-transformer"
     
    441472        {
    442473            "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",
    445476            "source": {
    446477                "type": "git",
    447478                "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",
    454485                "shasum": ""
    455486            },
     
    460491                "ext-xmlreader": "*",
    461492                "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"
    465496            },
    466497            "require-dev": {
    467498                "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",
    469500                "phpcompatibility/php-compatibility": "^9.0",
    470501                "phpcsstandards/phpcsdevtools": "^1.2.0",
     
    475506                "ext-mbstring": "For improved results"
    476507            },
    477             "time": "2024-03-25T16:39:00+00:00",
     508            "time": "2025-07-24T20:08:31+00:00",
    478509            "type": "phpcodesniffer-standard",
    479510            "installation-source": "dist",
  • local-development/trunk/vendor/composer/installed.php

    r3206522 r3375305  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '5426907839ea3480005186f6331b89cae762cbf7',
     6        'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '5426907839ea3480005186f6331b89cae762cbf7',
     16            'reference' => '4e8d3f3320d412a33ce10fadadd89f248d61be05',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
     
    3232        ),
    3333        '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',
    3737            'type' => 'composer-plugin',
    3838            'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer',
     
    4141        ),
    4242        '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',
    4646            'type' => 'phpcodesniffer-standard',
    4747            'install_path' => __DIR__ . '/../phpcsstandards/phpcsextra',
     
    5050        ),
    5151        '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',
    5555            'type' => 'phpcodesniffer-standard',
    5656            'install_path' => __DIR__ . '/../phpcsstandards/phpcsutils',
     
    5959        ),
    6060        'squizlabs/php_codesniffer' => array(
    61             'pretty_version' => '3.11.2',
    62             'version' => '3.11.2.0',
    63             'reference' => '1368f4a58c3c52114b86b1abe8f4098869cb0079',
     61            'pretty_version' => '3.13.4',
     62            'version' => '3.13.4.0',
     63            'reference' => 'ad545ea9c1b7d270ce0fc9cbfb884161cd706119',
    6464            'type' => 'library',
    6565            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    6868        ),
    6969        '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',
    7373            'type' => 'library',
    7474            'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer',
     
    7777        ),
    7878        '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',
    8282            'type' => 'phpcodesniffer-standard',
    8383            'install_path' => __DIR__ . '/../wp-coding-standards/wpcs',
  • local-development/trunk/vendor/composer/platform_check.php

    r2883673 r3375305  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • local-development/trunk/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php

    r3180141 r3375305  
    227227        }
    228228
    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 );
    231242
    232243        return $this->save( $contents );
Note: See TracChangeset for help on using the changeset viewer.