Changeset 3116688
- Timestamp:
- 07/11/2024 09:41:02 PM (4 weeks ago)
- Location:
- local-development
- Files:
-
- 28 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
local-development/tags/2.8.4/CHANGES.md
r2941394 r3116688 1 1 #### [unreleased] 2 3 4 5 6 7 2 8 3 9 #### 2.8.3 -
local-development/tags/2.8.4/composer.json
r2941394 r3116688 39 39 }, 40 40 "require-dev": { 41 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", 42 "squizlabs/php_codesniffer": "3.6.0", 43 "wp-coding-standards/wpcs": "~2.3.0" 41 "wp-coding-standards/wpcs": "^3.0.0" 44 42 }, 45 43 "config": { -
local-development/tags/2.8.4/local-development.php
r2941394 r3116688 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.8. 317 * Version: 2.8. 18 18 * Domain Path: /languages 19 19 * Text Domain: local-development -
local-development/tags/2.8.4/readme.txt
r2941394 r3116688 4 4 Requires at least: 4.6 5 5 Requires PHP: 5.6 6 Tested up to: 6. 37 Stable tag: 2.8. 36 Tested up to: 6. 7 Stable tag: 2.8. 8 8 License: GPLv2 9 9 … … 31 31 32 32 ## Changelog 33 34 35 36 37 38 33 39 34 40 #### 2.8.3 -
local-development/tags/2.8.4/src/Local_Development/Base.php
r2488154 r3116688 84 84 add_action( 85 85 'admin_init', 86 function () {86 function() { 87 87 $this->disable_autoupdate_link(); 88 88 } … … 250 250 add_filter( 251 251 "auto_update_{$type}", 252 function ( $update, $slug ) use ( $repo, $type ) {252 function( $update, $slug ) use ( $repo, $type ) { 253 253 if ( $repo === $slug->{$type} ) { 254 254 return false; -
local-development/tags/2.8.4/src/Local_Development/Extras.php
r2721520 r3116688 188 188 add_filter( 189 189 'http_request_args', 190 function ( $r , $url) {190 function ( $r ) { 191 191 if ( ! $r['reject_unsafe_urls'] ) { 192 192 return $r; … … 197 197 }, 198 198 10, 199 2199 200 200 ); 201 201 } -
local-development/tags/2.8.4/src/Local_Development/Init.php
r2721520 r3116688 159 159 160 160 foreach ( $vcs_dirs as $vcs_dir ) { 161 161 162 $is_vcs = @is_dir( "{$filepath}/{$vcs_dir}" ); 162 163 if ( $is_vcs ) { … … 202 203 203 204 if ( ! file_exists( $config_path ) ) { 205 204 206 if ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) { 205 207 $config_path = dirname( ABSPATH ) . '/wp-config.php'; -
local-development/tags/2.8.4/vendor/composer/autoload_classmap.php
r2883673 r3116688 9 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 10 10 'Fragen\\Singleton' => $vendorDir . '/afragen/singleton/Singleton.php', 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 11 48 ); -
local-development/tags/2.8.4/vendor/composer/autoload_psr4.php
r2941394 r3116688 7 7 8 8 return array( 9 9 10 'Fragen\\Local_Development\\' => array($baseDir . '/src/Local_Development'), 10 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => array($vendorDir . '/dealerdirect/phpcodesniffer-composer-installer/src'),11 11 ); -
local-development/tags/2.8.4/vendor/composer/autoload_static.php
r2941394 r3116688 12 12 13 13 public static $prefixLengthsPsr4 = array ( 14 15 16 17 14 18 'F' => 15 19 array ( 16 20 'Fragen\\Local_Development\\' => 25, 17 21 ), 18 'D' =>19 array (20 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => 55,21 ),22 22 ); 23 23 24 24 public static $prefixDirsPsr4 = array ( 25 26 27 28 25 29 'Fragen\\Local_Development\\' => 26 30 array ( 27 31 0 => __DIR__ . '/../..' . '/src/Local_Development', 28 ),29 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' =>30 array (31 0 => __DIR__ . '/..' . '/dealerdirect/phpcodesniffer-composer-installer/src',32 32 ), 33 33 ); … … 36 36 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 37 37 'Fragen\\Singleton' => __DIR__ . '/..' . '/afragen/singleton/Singleton.php', 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 38 75 ); 39 76 -
local-development/tags/2.8.4/vendor/composer/installed.json
r2941394 r3116688 53 53 { 54 54 "name": "dealerdirect/phpcodesniffer-composer-installer", 55 "version": "v 0.7.2",56 "version_normalized": " 0.7.2.0",57 "source": { 58 "type": "git", 59 "url": "https://github.com/ Dealerdirect/phpcodesniffer-composer-installer.git",60 "reference": " 1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/ Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",65 "reference": " 1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",55 "version": "v", 56 "version_normalized": ".0", 57 "source": { 58 "type": "git", 59 "url": "https://github.com/composer-installer.git", 60 "reference": "" 61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/", 65 "reference": "", 66 66 "shasum": "" 67 67 }, 68 68 "require": { 69 69 "composer-plugin-api": "^1.0 || ^2.0", 70 "php": ">=5. 3",70 "php": ">=5.", 71 71 "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" 72 72 }, 73 73 "require-dev": { 74 74 "composer/composer": "*", 75 76 75 77 "php-parallel-lint/php-parallel-lint": "^1.3.1", 76 "phpcompatibility/php-compatibility": "^9.0" 77 }, 78 "time": "2022-02-04T12:51:07+00:00", 78 "phpcompatibility/php-compatibility": "^9.0", 79 "yoast/phpunit-polyfills": "^1.0" 80 }, 81 "time": "2023-01-05T11:28:13+00:00", 79 82 "type": "composer-plugin", 80 83 "extra": { 81 "class": " Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"84 "class": "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" 82 85 }, 83 86 "installation-source": "dist", 84 87 "autoload": { 85 88 "psr-4": { 86 " Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"89 "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" 87 90 } 88 91 }, … … 100 103 { 101 104 "name": "Contributors", 102 "homepage": "https://github.com/ Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"105 "homepage": "https://github.com/composer-installer/graphs/contributors" 103 106 } 104 107 ], … … 124 127 ], 125 128 "support": { 126 "issues": "https://github.com/ dealerdirect/phpcodesniffer-composer-installer/issues",127 "source": "https://github.com/ dealerdirect/phpcodesniffer-composer-installer"129 "issues": "https://github.com/composer-installer/issues", 130 "source": "https://github.com/composer-installer" 128 131 }, 129 132 "install-path": "../dealerdirect/phpcodesniffer-composer-installer" 130 133 }, 131 134 { 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 132 307 "name": "squizlabs/php_codesniffer", 133 "version": "3. 6.0",134 "version_normalized": "3. 6.0.0",135 "source": { 136 "type": "git", 137 "url": "https://github.com/ squizlabs/PHP_CodeSniffer.git",138 "reference": " ffced0d2c8fa8e6cdc4d695a743271fab6c38625"139 }, 140 "dist": { 141 "type": "zip", 142 "url": "https://api.github.com/repos/ squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",143 "reference": " ffced0d2c8fa8e6cdc4d695a743271fab6c38625",308 "version": "3.", 309 "version_normalized": "3..0", 310 "source": { 311 "type": "git", 312 "url": "https://github.com/s/PHP_CodeSniffer.git", 313 "reference": "" 314 }, 315 "dist": { 316 "type": "zip", 317 "url": "https://api.github.com/repos/", 318 "reference": "", 144 319 "shasum": "" 145 320 }, … … 151 326 }, 152 327 "require-dev": { 153 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 "154 }, 155 "time": "202 1-04-09T00:54:41+00:00",328 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" 329 }, 330 "time": "2024:41+00:00", 156 331 "bin": [ 157 "bin/phpc s",158 "bin/phpc bf"332 "bin/phpc", 333 "bin/phpc" 159 334 ], 160 335 "type": "library", … … 172 347 { 173 348 "name": "Greg Sherwood", 174 "role": "lead" 349 "role": "Former lead" 350 }, 351 { 352 "name": "Juliette Reinders Folmer", 353 "role": "Current lead" 354 }, 355 { 356 "name": "Contributors", 357 "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" 175 358 } 176 359 ], 177 360 "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", 178 "homepage": "https://github.com/ squizlabs/PHP_CodeSniffer",361 "homepage": "https://github.com/s/PHP_CodeSniffer", 179 362 "keywords": [ 180 363 "phpcs", 181 "standards" 182 ], 183 "support": { 184 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", 185 "source": "https://github.com/squizlabs/PHP_CodeSniffer", 186 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" 187 }, 364 "standards", 365 "static analysis" 366 ], 367 "support": { 368 "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", 369 "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", 370 "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", 371 "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" 372 }, 373 "funding": [ 374 { 375 "url": "https://github.com/PHPCSStandards", 376 "type": "github" 377 }, 378 { 379 "url": "https://github.com/jrfnl", 380 "type": "github" 381 }, 382 { 383 "url": "https://opencollective.com/php_codesniffer", 384 "type": "open_collective" 385 } 386 ], 188 387 "install-path": "../squizlabs/php_codesniffer" 189 388 }, 190 389 { 191 390 "name": "wp-cli/wp-config-transformer", 192 "version": "v1.3. 3",193 "version_normalized": "1.3. 3.0",391 "version": "v1.3.", 392 "version_normalized": "1.3..0", 194 393 "source": { 195 394 "type": "git", 196 395 "url": "https://github.com/wp-cli/wp-config-transformer.git", 197 "reference": " b1a6a013e4a8c74b29ba185368b78a140b3268da"198 }, 199 "dist": { 200 "type": "zip", 201 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/ b1a6a013e4a8c74b29ba185368b78a140b3268da",202 "reference": " b1a6a013e4a8c74b29ba185368b78a140b3268da",396 "reference": "" 397 }, 398 "dist": { 399 "type": "zip", 400 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/", 401 "reference": "", 203 402 "shasum": "" 204 403 }, … … 207 406 }, 208 407 "require-dev": { 209 "wp-cli/wp-cli-tests": "^ 3.1"210 }, 211 "time": "202 3-04-26T19:51:31+00:00",408 "wp-cli/wp-cli-tests": "^" 409 }, 410 "time": "202+00:00", 212 411 "type": "library", 213 412 "installation-source": "dist", … … 231 430 "support": { 232 431 "issues": "https://github.com/wp-cli/wp-config-transformer/issues", 233 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3. 3"432 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3." 234 433 }, 235 434 "install-path": "../wp-cli/wp-config-transformer" … … 237 436 { 238 437 "name": "wp-coding-standards/wpcs", 239 "version": " 2.3.0",240 "version_normalized": " 2.3.0.0",438 "version": ".0", 439 "version_normalized": ".0.0", 241 440 "source": { 242 441 "type": "git", 243 442 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 244 "reference": "7da1894633f168fe244afc6de00d141f27517b62" 245 }, 246 "dist": { 247 "type": "zip", 248 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62", 249 "reference": "7da1894633f168fe244afc6de00d141f27517b62", 250 "shasum": "" 251 }, 252 "require": { 443 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7" 444 }, 445 "dist": { 446 "type": "zip", 447 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7", 448 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7", 449 "shasum": "" 450 }, 451 "require": { 452 "ext-filter": "*", 453 "ext-libxml": "*", 454 "ext-tokenizer": "*", 455 "ext-xmlreader": "*", 253 456 "php": ">=5.4", 254 "squizlabs/php_codesniffer": "^3.3.1" 457 "phpcsstandards/phpcsextra": "^1.2.1", 458 "phpcsstandards/phpcsutils": "^1.0.10", 459 "squizlabs/php_codesniffer": "^3.9.0" 255 460 }, 256 461 "require-dev": { 257 "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6", 462 "php-parallel-lint/php-console-highlighter": "^1.0.0", 463 "php-parallel-lint/php-parallel-lint": "^1.3.2", 258 464 "phpcompatibility/php-compatibility": "^9.0", 259 "phpcsstandards/phpcsdevtools": "^1. 0",260 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 "465 "phpcsstandards/phpcsdevtools": "^1.0", 466 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" 261 467 }, 262 468 "suggest": { 263 "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically." 264 }, 265 "time": "2020-05-13T23:57:56+00:00", 469 "ext-iconv": "For improved results", 470 "ext-mbstring": "For improved results" 471 }, 472 "time": "2024-03-25T16:39:00+00:00", 266 473 "type": "phpcodesniffer-standard", 267 474 "installation-source": "dist", … … 280 487 "phpcs", 281 488 "standards", 489 282 490 "wordpress" 283 491 ], … … 287 495 "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" 288 496 }, 497 498 499 500 501 502 289 503 "install-path": "../wp-coding-standards/wpcs" 290 504 } … … 293 507 "dev-package-names": [ 294 508 "dealerdirect/phpcodesniffer-composer-installer", 509 510 295 511 "squizlabs/php_codesniffer", 296 512 "wp-coding-standards/wpcs" -
local-development/tags/2.8.4/vendor/composer/installed.php
r2941394 r3116688 32 32 ), 33 33 'dealerdirect/phpcodesniffer-composer-installer' => array( 34 'pretty_version' => 'v 0.7.2',35 'version' => ' 0.7.2.0',36 'reference' => ' 1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db',34 'pretty_version' => 'v', 35 'version' => '.0', 36 'reference' => '', 37 37 'type' => 'composer-plugin', 38 38 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', … … 40 40 'dev_requirement' => true, 41 41 ), 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 42 60 'squizlabs/php_codesniffer' => array( 43 'pretty_version' => '3. 6.0',44 'version' => '3. 6.0.0',45 'reference' => ' ffced0d2c8fa8e6cdc4d695a743271fab6c38625',61 'pretty_version' => '3.', 62 'version' => '3..0', 63 'reference' => '', 46 64 'type' => 'library', 47 65 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', … … 50 68 ), 51 69 'wp-cli/wp-config-transformer' => array( 52 'pretty_version' => 'v1.3. 3',53 'version' => '1.3. 3.0',54 'reference' => ' b1a6a013e4a8c74b29ba185368b78a140b3268da',70 'pretty_version' => 'v1.3.', 71 'version' => '1.3..0', 72 'reference' => '', 55 73 'type' => 'library', 56 74 'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer', … … 59 77 ), 60 78 'wp-coding-standards/wpcs' => array( 61 'pretty_version' => ' 2.3.0',62 'version' => ' 2.3.0.0',63 'reference' => ' 7da1894633f168fe244afc6de00d141f27517b62',79 'pretty_version' => '.0', 80 'version' => '.0.0', 81 'reference' => '', 64 82 'type' => 'phpcodesniffer-standard', 65 83 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', -
local-development/tags/2.8.4/vendor/wp-cli/wp-config-transformer/composer.json
r2941394 r3116688 23 23 }, 24 24 "require-dev": { 25 "wp-cli/wp-cli-tests": "^ 3.1"25 "wp-cli/wp-cli-tests": "^" 26 26 }, 27 27 "autoload": { … … 35 35 "lint": "run-linter-tests", 36 36 "phpcs": "run-phpcs-tests", 37 37 38 "phpunit": "run-php-unit-tests", 38 39 "prepare-tests": "install-package-tests", -
local-development/tags/2.8.4/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php
r2941394 r3116688 71 71 } 72 72 // Normalize the newline to prevent an issue coming from OSX. 73 $this->wp_config_src = str_replace( array( "\ n\r", "\r" ), "\n", $wp_config_src );73 $this->wp_config_src = str_replace( array( "\n\r", "\r" ), "\n", $wp_config_src ); 74 74 $this->wp_configs = $this->parse_wp_config( $this->wp_config_src ); 75 75 … … 289 289 foreach ( token_get_all( $src ) as $token ) { 290 290 if ( in_array( $token[0], array( T_COMMENT, T_DOC_COMMENT ), true ) ) { 291 $src = str_replace( $token[1], '', $src ); 291 if ( '//' === $token[1] ) { 292 // For empty line comments, actually remove empty line comments instead of all double-slashes. 293 // See: https://github.com/wp-cli/wp-config-transformer/issues/47 294 $src = preg_replace( '/' . preg_quote( '//', '/' ) . '$/m', '', $src ); 295 } else { 296 $src = str_replace( $token[1], '', $src ); 297 } 292 298 } 293 299 } -
local-development/trunk/CHANGES.md
r2941394 r3116688 1 1 #### [unreleased] 2 3 4 5 6 7 2 8 3 9 #### 2.8.3 -
local-development/trunk/composer.json
r2941394 r3116688 39 39 }, 40 40 "require-dev": { 41 "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", 42 "squizlabs/php_codesniffer": "3.6.0", 43 "wp-coding-standards/wpcs": "~2.3.0" 41 "wp-coding-standards/wpcs": "^3.0.0" 44 42 }, 45 43 "config": { -
local-development/trunk/local-development.php
r2941394 r3116688 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.8. 317 * Version: 2.8. 18 18 * Domain Path: /languages 19 19 * Text Domain: local-development -
local-development/trunk/readme.txt
r2941394 r3116688 4 4 Requires at least: 4.6 5 5 Requires PHP: 5.6 6 Tested up to: 6. 37 Stable tag: 2.8. 36 Tested up to: 6. 7 Stable tag: 2.8. 8 8 License: GPLv2 9 9 … … 31 31 32 32 ## Changelog 33 34 35 36 37 38 33 39 34 40 #### 2.8.3 -
local-development/trunk/src/Local_Development/Base.php
r2488154 r3116688 84 84 add_action( 85 85 'admin_init', 86 function () {86 function() { 87 87 $this->disable_autoupdate_link(); 88 88 } … … 250 250 add_filter( 251 251 "auto_update_{$type}", 252 function ( $update, $slug ) use ( $repo, $type ) {252 function( $update, $slug ) use ( $repo, $type ) { 253 253 if ( $repo === $slug->{$type} ) { 254 254 return false; -
local-development/trunk/src/Local_Development/Extras.php
r2721520 r3116688 188 188 add_filter( 189 189 'http_request_args', 190 function ( $r , $url) {190 function ( $r ) { 191 191 if ( ! $r['reject_unsafe_urls'] ) { 192 192 return $r; … … 197 197 }, 198 198 10, 199 2199 200 200 ); 201 201 } -
local-development/trunk/src/Local_Development/Init.php
r2721520 r3116688 159 159 160 160 foreach ( $vcs_dirs as $vcs_dir ) { 161 161 162 $is_vcs = @is_dir( "{$filepath}/{$vcs_dir}" ); 162 163 if ( $is_vcs ) { … … 202 203 203 204 if ( ! file_exists( $config_path ) ) { 205 204 206 if ( @file_exists( dirname( ABSPATH ) . '/wp-config.php' ) && ! @file_exists( dirname( ABSPATH ) . '/wp-settings.php' ) ) { 205 207 $config_path = dirname( ABSPATH ) . '/wp-config.php'; -
local-development/trunk/vendor/composer/autoload_classmap.php
r2883673 r3116688 9 9 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 10 10 'Fragen\\Singleton' => $vendorDir . '/afragen/singleton/Singleton.php', 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 11 48 ); -
local-development/trunk/vendor/composer/autoload_psr4.php
r2941394 r3116688 7 7 8 8 return array( 9 9 10 'Fragen\\Local_Development\\' => array($baseDir . '/src/Local_Development'), 10 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => array($vendorDir . '/dealerdirect/phpcodesniffer-composer-installer/src'),11 11 ); -
local-development/trunk/vendor/composer/autoload_static.php
r2941394 r3116688 12 12 13 13 public static $prefixLengthsPsr4 = array ( 14 15 16 17 14 18 'F' => 15 19 array ( 16 20 'Fragen\\Local_Development\\' => 25, 17 21 ), 18 'D' =>19 array (20 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => 55,21 ),22 22 ); 23 23 24 24 public static $prefixDirsPsr4 = array ( 25 26 27 28 25 29 'Fragen\\Local_Development\\' => 26 30 array ( 27 31 0 => __DIR__ . '/../..' . '/src/Local_Development', 28 ),29 'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' =>30 array (31 0 => __DIR__ . '/..' . '/dealerdirect/phpcodesniffer-composer-installer/src',32 32 ), 33 33 ); … … 36 36 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 37 37 'Fragen\\Singleton' => __DIR__ . '/..' . '/afragen/singleton/Singleton.php', 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 38 75 ); 39 76 -
local-development/trunk/vendor/composer/installed.json
r2941394 r3116688 53 53 { 54 54 "name": "dealerdirect/phpcodesniffer-composer-installer", 55 "version": "v 0.7.2",56 "version_normalized": " 0.7.2.0",57 "source": { 58 "type": "git", 59 "url": "https://github.com/ Dealerdirect/phpcodesniffer-composer-installer.git",60 "reference": " 1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db"61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/ Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",65 "reference": " 1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db",55 "version": "v", 56 "version_normalized": ".0", 57 "source": { 58 "type": "git", 59 "url": "https://github.com/composer-installer.git", 60 "reference": "" 61 }, 62 "dist": { 63 "type": "zip", 64 "url": "https://api.github.com/repos/", 65 "reference": "", 66 66 "shasum": "" 67 67 }, 68 68 "require": { 69 69 "composer-plugin-api": "^1.0 || ^2.0", 70 "php": ">=5. 3",70 "php": ">=5.", 71 71 "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" 72 72 }, 73 73 "require-dev": { 74 74 "composer/composer": "*", 75 76 75 77 "php-parallel-lint/php-parallel-lint": "^1.3.1", 76 "phpcompatibility/php-compatibility": "^9.0" 77 }, 78 "time": "2022-02-04T12:51:07+00:00", 78 "phpcompatibility/php-compatibility": "^9.0", 79 "yoast/phpunit-polyfills": "^1.0" 80 }, 81 "time": "2023-01-05T11:28:13+00:00", 79 82 "type": "composer-plugin", 80 83 "extra": { 81 "class": " Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin"84 "class": "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" 82 85 }, 83 86 "installation-source": "dist", 84 87 "autoload": { 85 88 "psr-4": { 86 " Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/"89 "\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" 87 90 } 88 91 }, … … 100 103 { 101 104 "name": "Contributors", 102 "homepage": "https://github.com/ Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors"105 "homepage": "https://github.com/composer-installer/graphs/contributors" 103 106 } 104 107 ], … … 124 127 ], 125 128 "support": { 126 "issues": "https://github.com/ dealerdirect/phpcodesniffer-composer-installer/issues",127 "source": "https://github.com/ dealerdirect/phpcodesniffer-composer-installer"129 "issues": "https://github.com/composer-installer/issues", 130 "source": "https://github.com/composer-installer" 128 131 }, 129 132 "install-path": "../dealerdirect/phpcodesniffer-composer-installer" 130 133 }, 131 134 { 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 132 307 "name": "squizlabs/php_codesniffer", 133 "version": "3. 6.0",134 "version_normalized": "3. 6.0.0",135 "source": { 136 "type": "git", 137 "url": "https://github.com/ squizlabs/PHP_CodeSniffer.git",138 "reference": " ffced0d2c8fa8e6cdc4d695a743271fab6c38625"139 }, 140 "dist": { 141 "type": "zip", 142 "url": "https://api.github.com/repos/ squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625",143 "reference": " ffced0d2c8fa8e6cdc4d695a743271fab6c38625",308 "version": "3.", 309 "version_normalized": "3..0", 310 "source": { 311 "type": "git", 312 "url": "https://github.com/s/PHP_CodeSniffer.git", 313 "reference": "" 314 }, 315 "dist": { 316 "type": "zip", 317 "url": "https://api.github.com/repos/", 318 "reference": "", 144 319 "shasum": "" 145 320 }, … … 151 326 }, 152 327 "require-dev": { 153 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 "154 }, 155 "time": "202 1-04-09T00:54:41+00:00",328 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" 329 }, 330 "time": "2024:41+00:00", 156 331 "bin": [ 157 "bin/phpc s",158 "bin/phpc bf"332 "bin/phpc", 333 "bin/phpc" 159 334 ], 160 335 "type": "library", … … 172 347 { 173 348 "name": "Greg Sherwood", 174 "role": "lead" 349 "role": "Former lead" 350 }, 351 { 352 "name": "Juliette Reinders Folmer", 353 "role": "Current lead" 354 }, 355 { 356 "name": "Contributors", 357 "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" 175 358 } 176 359 ], 177 360 "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", 178 "homepage": "https://github.com/ squizlabs/PHP_CodeSniffer",361 "homepage": "https://github.com/s/PHP_CodeSniffer", 179 362 "keywords": [ 180 363 "phpcs", 181 "standards" 182 ], 183 "support": { 184 "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", 185 "source": "https://github.com/squizlabs/PHP_CodeSniffer", 186 "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" 187 }, 364 "standards", 365 "static analysis" 366 ], 367 "support": { 368 "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", 369 "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", 370 "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", 371 "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" 372 }, 373 "funding": [ 374 { 375 "url": "https://github.com/PHPCSStandards", 376 "type": "github" 377 }, 378 { 379 "url": "https://github.com/jrfnl", 380 "type": "github" 381 }, 382 { 383 "url": "https://opencollective.com/php_codesniffer", 384 "type": "open_collective" 385 } 386 ], 188 387 "install-path": "../squizlabs/php_codesniffer" 189 388 }, 190 389 { 191 390 "name": "wp-cli/wp-config-transformer", 192 "version": "v1.3. 3",193 "version_normalized": "1.3. 3.0",391 "version": "v1.3.", 392 "version_normalized": "1.3..0", 194 393 "source": { 195 394 "type": "git", 196 395 "url": "https://github.com/wp-cli/wp-config-transformer.git", 197 "reference": " b1a6a013e4a8c74b29ba185368b78a140b3268da"198 }, 199 "dist": { 200 "type": "zip", 201 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/ b1a6a013e4a8c74b29ba185368b78a140b3268da",202 "reference": " b1a6a013e4a8c74b29ba185368b78a140b3268da",396 "reference": "" 397 }, 398 "dist": { 399 "type": "zip", 400 "url": "https://api.github.com/repos/wp-cli/wp-config-transformer/zipball/", 401 "reference": "", 203 402 "shasum": "" 204 403 }, … … 207 406 }, 208 407 "require-dev": { 209 "wp-cli/wp-cli-tests": "^ 3.1"210 }, 211 "time": "202 3-04-26T19:51:31+00:00",408 "wp-cli/wp-cli-tests": "^" 409 }, 410 "time": "202+00:00", 212 411 "type": "library", 213 412 "installation-source": "dist", … … 231 430 "support": { 232 431 "issues": "https://github.com/wp-cli/wp-config-transformer/issues", 233 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3. 3"432 "source": "https://github.com/wp-cli/wp-config-transformer/tree/v1.3." 234 433 }, 235 434 "install-path": "../wp-cli/wp-config-transformer" … … 237 436 { 238 437 "name": "wp-coding-standards/wpcs", 239 "version": " 2.3.0",240 "version_normalized": " 2.3.0.0",438 "version": ".0", 439 "version_normalized": ".0.0", 241 440 "source": { 242 441 "type": "git", 243 442 "url": "https://github.com/WordPress/WordPress-Coding-Standards.git", 244 "reference": "7da1894633f168fe244afc6de00d141f27517b62" 245 }, 246 "dist": { 247 "type": "zip", 248 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/7da1894633f168fe244afc6de00d141f27517b62", 249 "reference": "7da1894633f168fe244afc6de00d141f27517b62", 250 "shasum": "" 251 }, 252 "require": { 443 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7" 444 }, 445 "dist": { 446 "type": "zip", 447 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7", 448 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7", 449 "shasum": "" 450 }, 451 "require": { 452 "ext-filter": "*", 453 "ext-libxml": "*", 454 "ext-tokenizer": "*", 455 "ext-xmlreader": "*", 253 456 "php": ">=5.4", 254 "squizlabs/php_codesniffer": "^3.3.1" 457 "phpcsstandards/phpcsextra": "^1.2.1", 458 "phpcsstandards/phpcsutils": "^1.0.10", 459 "squizlabs/php_codesniffer": "^3.9.0" 255 460 }, 256 461 "require-dev": { 257 "dealerdirect/phpcodesniffer-composer-installer": "^0.5 || ^0.6", 462 "php-parallel-lint/php-console-highlighter": "^1.0.0", 463 "php-parallel-lint/php-parallel-lint": "^1.3.2", 258 464 "phpcompatibility/php-compatibility": "^9.0", 259 "phpcsstandards/phpcsdevtools": "^1. 0",260 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 "465 "phpcsstandards/phpcsdevtools": "^1.0", 466 "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" 261 467 }, 262 468 "suggest": { 263 "dealerdirect/phpcodesniffer-composer-installer": "^0.6 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically." 264 }, 265 "time": "2020-05-13T23:57:56+00:00", 469 "ext-iconv": "For improved results", 470 "ext-mbstring": "For improved results" 471 }, 472 "time": "2024-03-25T16:39:00+00:00", 266 473 "type": "phpcodesniffer-standard", 267 474 "installation-source": "dist", … … 280 487 "phpcs", 281 488 "standards", 489 282 490 "wordpress" 283 491 ], … … 287 495 "wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki" 288 496 }, 497 498 499 500 501 502 289 503 "install-path": "../wp-coding-standards/wpcs" 290 504 } … … 293 507 "dev-package-names": [ 294 508 "dealerdirect/phpcodesniffer-composer-installer", 509 510 295 511 "squizlabs/php_codesniffer", 296 512 "wp-coding-standards/wpcs" -
local-development/trunk/vendor/composer/installed.php
r2941394 r3116688 32 32 ), 33 33 'dealerdirect/phpcodesniffer-composer-installer' => array( 34 'pretty_version' => 'v 0.7.2',35 'version' => ' 0.7.2.0',36 'reference' => ' 1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db',34 'pretty_version' => 'v', 35 'version' => '.0', 36 'reference' => '', 37 37 'type' => 'composer-plugin', 38 38 'install_path' => __DIR__ . '/../dealerdirect/phpcodesniffer-composer-installer', … … 40 40 'dev_requirement' => true, 41 41 ), 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 42 60 'squizlabs/php_codesniffer' => array( 43 'pretty_version' => '3. 6.0',44 'version' => '3. 6.0.0',45 'reference' => ' ffced0d2c8fa8e6cdc4d695a743271fab6c38625',61 'pretty_version' => '3.', 62 'version' => '3..0', 63 'reference' => '', 46 64 'type' => 'library', 47 65 'install_path' => __DIR__ . '/../squizlabs/php_codesniffer', … … 50 68 ), 51 69 'wp-cli/wp-config-transformer' => array( 52 'pretty_version' => 'v1.3. 3',53 'version' => '1.3. 3.0',54 'reference' => ' b1a6a013e4a8c74b29ba185368b78a140b3268da',70 'pretty_version' => 'v1.3.', 71 'version' => '1.3..0', 72 'reference' => '', 55 73 'type' => 'library', 56 74 'install_path' => __DIR__ . '/../wp-cli/wp-config-transformer', … … 59 77 ), 60 78 'wp-coding-standards/wpcs' => array( 61 'pretty_version' => ' 2.3.0',62 'version' => ' 2.3.0.0',63 'reference' => ' 7da1894633f168fe244afc6de00d141f27517b62',79 'pretty_version' => '.0', 80 'version' => '.0.0', 81 'reference' => '', 64 82 'type' => 'phpcodesniffer-standard', 65 83 'install_path' => __DIR__ . '/../wp-coding-standards/wpcs', -
local-development/trunk/vendor/wp-cli/wp-config-transformer/composer.json
r2941394 r3116688 23 23 }, 24 24 "require-dev": { 25 "wp-cli/wp-cli-tests": "^ 3.1"25 "wp-cli/wp-cli-tests": "^" 26 26 }, 27 27 "autoload": { … … 35 35 "lint": "run-linter-tests", 36 36 "phpcs": "run-phpcs-tests", 37 37 38 "phpunit": "run-php-unit-tests", 38 39 "prepare-tests": "install-package-tests", -
local-development/trunk/vendor/wp-cli/wp-config-transformer/src/WPConfigTransformer.php
r2941394 r3116688 71 71 } 72 72 // Normalize the newline to prevent an issue coming from OSX. 73 $this->wp_config_src = str_replace( array( "\ n\r", "\r" ), "\n", $wp_config_src );73 $this->wp_config_src = str_replace( array( "\n\r", "\r" ), "\n", $wp_config_src ); 74 74 $this->wp_configs = $this->parse_wp_config( $this->wp_config_src ); 75 75 … … 289 289 foreach ( token_get_all( $src ) as $token ) { 290 290 if ( in_array( $token[0], array( T_COMMENT, T_DOC_COMMENT ), true ) ) { 291 $src = str_replace( $token[1], '', $src ); 291 if ( '//' === $token[1] ) { 292 // For empty line comments, actually remove empty line comments instead of all double-slashes. 293 // See: https://github.com/wp-cli/wp-config-transformer/issues/47 294 $src = preg_replace( '/' . preg_quote( '//', '/' ) . '$/m', '', $src ); 295 } else { 296 $src = str_replace( $token[1], '', $src ); 297 } 292 298 } 293 299 }
Note: See TracChangeset
for help on using the changeset viewer.