├── vendor ├── wp-cli │ ├── wp-cli │ │ ├── VERSION │ │ ├── tests │ │ │ ├── data │ │ │ │ ├── expand_globs │ │ │ │ │ ├── bar.ab1 │ │ │ │ │ ├── bar.ab2 │ │ │ │ │ ├── baz.ab1 │ │ │ │ │ ├── baz.ac1 │ │ │ │ │ ├── baz.efg2 │ │ │ │ │ ├── foo.ab1 │ │ │ │ │ ├── foo.ab2 │ │ │ │ │ ├── foo.efg1 │ │ │ │ │ └── foo.efg2 │ │ │ │ ├── commandfactory-doc_comment-function.php │ │ │ │ ├── commandfactory-doc_comment-function-win.php │ │ │ │ ├── commandfactory-doc_comment-class.php │ │ │ │ └── commandfactory-doc_comment-class-win.php │ │ │ ├── test-wp-cli.php │ │ │ ├── bootstrap.php │ │ │ ├── test-inflector.php │ │ │ ├── mock-requests-transport.php │ │ │ └── test-process.php │ │ ├── .github │ │ │ ├── CODEOWNERS │ │ │ ├── SUPPORT.md │ │ │ ├── workflows │ │ │ │ ├── code-quality.yml │ │ │ │ ├── testing.yml │ │ │ │ ├── regenerate-readme.yml │ │ │ │ └── automerge.yml │ │ │ ├── dependabot.yml │ │ │ ├── SECURITY.md │ │ │ ├── ISSUE_TEMPLATE │ │ │ │ └── 3-SUPPORT_REQUEST.md │ │ │ └── PULL_REQUEST_TEMPLATE │ │ ├── bin │ │ │ └── wp.bat │ │ ├── bundle │ │ │ └── rmccue │ │ │ │ └── requests │ │ │ │ ├── certificates │ │ │ │ └── cacert.pem.sha256 │ │ │ │ ├── library │ │ │ │ ├── README.md │ │ │ │ └── Deprecated.php │ │ │ │ ├── .editorconfig │ │ │ │ └── src │ │ │ │ ├── Exception │ │ │ │ ├── Transport.php │ │ │ │ ├── Http │ │ │ │ │ ├── Status410.php │ │ │ │ │ ├── Status305.php │ │ │ │ │ ├── Status403.php │ │ │ │ │ ├── Status404.php │ │ │ │ │ ├── Status409.php │ │ │ │ │ ├── Status304.php │ │ │ │ │ ├── Status306.php │ │ │ │ │ ├── Status400.php │ │ │ │ │ ├── Status401.php │ │ │ │ │ ├── Status502.php │ │ │ │ │ ├── Status406.php │ │ │ │ │ ├── Status408.php │ │ │ │ │ ├── Status411.php │ │ │ │ │ ├── Status501.php │ │ │ │ │ ├── Status504.php │ │ │ │ │ ├── Status402.php │ │ │ │ │ ├── Status405.php │ │ │ │ │ ├── Status412.php │ │ │ │ │ ├── Status417.php │ │ │ │ │ ├── Status503.php │ │ │ │ │ ├── Status414.php │ │ │ │ │ ├── Status415.php │ │ │ │ │ ├── Status500.php │ │ │ │ │ ├── Status413.php │ │ │ │ │ ├── Status505.php │ │ │ │ │ ├── Status407.php │ │ │ │ │ ├── Status416.php │ │ │ │ │ ├── Status418.php │ │ │ │ │ ├── Status428.php │ │ │ │ │ ├── Status431.php │ │ │ │ │ ├── Status511.php │ │ │ │ │ ├── Status429.php │ │ │ │ │ └── StatusUnknown.php │ │ │ │ ├── InvalidArgument.php │ │ │ │ └── ArgumentCount.php │ │ │ │ ├── Capability.php │ │ │ │ ├── HookManager.php │ │ │ │ ├── Auth.php │ │ │ │ ├── Proxy.php │ │ │ │ ├── Exception.php │ │ │ │ └── Transport.php │ │ ├── dependencies.yml │ │ ├── php │ │ │ ├── WP_CLI │ │ │ │ ├── ExitException.php │ │ │ │ ├── Iterators │ │ │ │ │ ├── Exception.php │ │ │ │ │ └── Transform.php │ │ │ │ ├── NoOp.php │ │ │ │ ├── Compat │ │ │ │ │ ├── Min_PHP_5_4 │ │ │ │ │ │ └── FeedbackMethodTrait.php │ │ │ │ │ ├── Min_PHP_5_6 │ │ │ │ │ │ └── FeedbackMethodTrait.php │ │ │ │ │ └── FeedbackMethodTrait.php │ │ │ │ ├── Context │ │ │ │ │ ├── Cli.php │ │ │ │ │ └── Frontend.php │ │ │ │ ├── Bootstrap │ │ │ │ │ ├── BootstrapStep.php │ │ │ │ │ ├── DeclareMainClass.php │ │ │ │ │ ├── LoadUtilityFunctions.php │ │ │ │ │ ├── LoadDispatcher.php │ │ │ │ │ ├── ConfigureRunner.php │ │ │ │ │ ├── DeclareFallbackFunctions.php │ │ │ │ │ ├── DeclareAbstractBaseCommand.php │ │ │ │ │ ├── InitializeColorization.php │ │ │ │ │ ├── LaunchRunner.php │ │ │ │ │ ├── RunnerInstance.php │ │ │ │ │ ├── LoadExecCommand.php │ │ │ │ │ ├── IncludeFallbackAutoloader.php │ │ │ │ │ ├── InitializeContexts.php │ │ │ │ │ ├── InitializeLogger.php │ │ │ │ │ ├── RegisterFrameworkCommands.php │ │ │ │ │ ├── DefineProtectedCommands.php │ │ │ │ │ ├── IncludePackageAutoloader.php │ │ │ │ │ ├── IncludeFrameworkAutoloader.php │ │ │ │ │ └── BootstrapState.php │ │ │ │ ├── Context.php │ │ │ │ ├── Fetchers │ │ │ │ │ ├── Post.php │ │ │ │ │ ├── Comment.php │ │ │ │ │ ├── Site.php │ │ │ │ │ ├── Base.php │ │ │ │ │ └── User.php │ │ │ │ ├── Dispatcher │ │ │ │ │ ├── RootCommand.php │ │ │ │ │ ├── CommandAddition.php │ │ │ │ │ └── CommandNamespace.php │ │ │ │ ├── ComposerIO.php │ │ │ │ ├── Loggers │ │ │ │ │ └── Quiet.php │ │ │ │ └── ProcessRun.php │ │ │ ├── commands │ │ │ │ ├── help.php │ │ │ │ ├── cli.php │ │ │ │ └── src │ │ │ │ │ └── CLI_Cache_Command.php │ │ │ ├── class-wp-cli-command.php │ │ │ ├── fallback-functions.php │ │ │ ├── dispatcher.php │ │ │ ├── boot-fs.php │ │ │ └── wp-cli.php │ │ ├── .actrc │ │ ├── behat.yml │ │ ├── .gitignore │ │ ├── utils │ │ │ ├── amp-paths.txt │ │ │ ├── find-php │ │ │ ├── git-pre-commit-script │ │ │ ├── wp-completion.bash │ │ │ ├── get-package-require-from-composer.php │ │ │ ├── install-requests.sh │ │ │ ├── auto-composer-update.sh │ │ │ └── git-setup-pre-commit-hook │ │ ├── .gitattributes │ │ ├── templates │ │ │ ├── man.mustache │ │ │ └── man-params.mustache │ │ ├── features │ │ │ ├── class-wp-cli.feature │ │ │ ├── wp-config.feature │ │ │ ├── validation.feature │ │ │ └── cli-info.feature │ │ ├── .editorconfig │ │ ├── phpunit.xml.dist │ │ ├── CONTRIBUTING.md │ │ └── LICENSE │ ├── mustangostang-spyc │ │ ├── .gitignore │ │ ├── tests │ │ │ ├── failing1.yaml │ │ │ ├── comments.yaml │ │ │ ├── quotes.yaml │ │ │ ├── LoadTest.php │ │ │ └── indent_1.yaml │ │ ├── examples │ │ │ ├── yaml-load.php │ │ │ └── yaml-dump.php │ │ ├── composer.json │ │ ├── php4 │ │ │ └── 5to4.php │ │ ├── Spyc.php │ │ ├── COPYING │ │ ├── includes │ │ │ └── functions.php │ │ └── README.md │ └── php-cli-tools │ │ ├── .github │ │ ├── CODEOWNERS │ │ ├── workflows │ │ │ ├── code-quality.yml │ │ │ ├── testing.yml │ │ │ └── regenerate-readme.yml │ │ └── dependabot.yml │ │ ├── .gitignore │ │ ├── .actrc │ │ ├── examples │ │ ├── progress.php │ │ ├── notify.php │ │ ├── menu.php │ │ ├── common.php │ │ ├── output.php │ │ └── arguments.php │ │ ├── .travis.yml │ │ ├── .editorconfig │ │ ├── tests │ │ ├── bootstrap.php │ │ └── test-colors.php │ │ ├── phpunit.xml.dist │ │ ├── lib │ │ └── cli │ │ │ ├── tree │ │ │ ├── Renderer.php │ │ │ └── Ascii.php │ │ │ ├── table │ │ │ ├── Tabular.php │ │ │ └── Renderer.php │ │ │ ├── Memoize.php │ │ │ ├── arguments │ │ │ └── InvalidArguments.php │ │ │ └── notify │ │ │ └── Spinner.php │ │ ├── test.php │ │ └── LICENSE ├── symfony │ ├── deprecation-contracts │ │ ├── .gitignore │ │ ├── CHANGELOG.md │ │ ├── composer.json │ │ ├── function.php │ │ ├── LICENSE │ │ └── README.md │ ├── polyfill-php80 │ │ ├── Resources │ │ │ └── stubs │ │ │ │ ├── ValueError.php │ │ │ │ ├── UnhandledMatchError.php │ │ │ │ ├── PhpToken.php │ │ │ │ ├── Stringable.php │ │ │ │ └── Attribute.php │ │ ├── README.md │ │ ├── LICENSE │ │ ├── composer.json │ │ └── bootstrap.php │ └── finder │ │ ├── Exception │ │ ├── DirectoryNotFoundException.php │ │ └── AccessDeniedException.php │ │ ├── README.md │ │ ├── Iterator │ │ ├── LazyIterator.php │ │ ├── FilenameFilterIterator.php │ │ ├── FileTypeFilterIterator.php │ │ ├── DepthRangeFilterIterator.php │ │ ├── SizeRangeFilterIterator.php │ │ ├── PathFilterIterator.php │ │ ├── DateRangeFilterIterator.php │ │ └── FilecontentFilterIterator.php │ │ ├── composer.json │ │ ├── LICENSE │ │ └── Comparator │ │ └── DateComparator.php ├── mustache │ └── mustache │ │ ├── .gitattributes │ │ ├── src │ │ └── Mustache │ │ │ ├── Exception.php │ │ │ ├── Exception │ │ │ ├── LogicException.php │ │ │ ├── RuntimeException.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── SyntaxException.php │ │ │ ├── UnknownFilterException.php │ │ │ ├── UnknownHelperException.php │ │ │ └── UnknownTemplateException.php │ │ │ ├── Loader.php │ │ │ ├── Loader │ │ │ ├── MutableLoader.php │ │ │ └── StringLoader.php │ │ │ ├── Cache.php │ │ │ ├── Source.php │ │ │ └── Cache │ │ │ └── NoopCache.php │ │ ├── composer.json │ │ └── LICENSE ├── composer │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_files.php │ ├── autoload_classmap.php │ ├── platform_check.php │ └── LICENSE ├── autoload.php └── bin │ ├── wp │ └── wp.bat ├── App ├── Init.php └── MuPlugins.php ├── composer.json └── lithify.php /vendor/wp-cli/wp-cli/VERSION: -------------------------------------------------------------------------------- 1 | 2.8.1 2 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/bar.ab1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/bar.ab2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.ab1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.ac1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/baz.efg2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.ab1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.ab2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.efg1: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/tests/data/expand_globs/foo.efg2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/wp-cli/mustangostang-spyc/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | .DS_Store -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @wp-cli/committers 2 | -------------------------------------------------------------------------------- /vendor/wp-cli/php-cli-tools/.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @wp-cli/committers 2 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/bin/wp.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | php "%~dp0../php/boot-fs.php" %* -------------------------------------------------------------------------------- /vendor/wp-cli/mustangostang-spyc/tests/failing1.yaml: -------------------------------------------------------------------------------- 1 | MyObject: 2 | Prop1: {key1:val1} -------------------------------------------------------------------------------- /vendor/symfony/deprecation-contracts/.gitignore: -------------------------------------------------------------------------------- 1 | vendor/ 2 | composer.lock 3 | phpunit.xml 4 | -------------------------------------------------------------------------------- /vendor/wp-cli/php-cli-tools/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | vendor 3 | .*.swp 4 | composer.lock 5 | .phpunit.result.cache 6 | -------------------------------------------------------------------------------- /vendor/wp-cli/mustangostang-spyc/tests/comments.yaml: -------------------------------------------------------------------------------- 1 | foo: 'bar' #Comment 2 | arr: ['x', 'y', 'z'] # Comment here 3 | bar: kittens -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/bundle/rmccue/requests/certificates/cacert.pem.sha256: -------------------------------------------------------------------------------- 1 | 5fadcae90aa4ae041150f8e2d26c37d980522cdb49f923fc1e1b5eb8d74e71ad cacert.pem 2 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/dependencies.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | dependencies: 3 | - type: php 4 | settings: 5 | github_labels: 6 | - "scope:distribution" 7 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/php/WP_CLI/ExitException.php: -------------------------------------------------------------------------------- 1 | 3 | -
4 | html_content: 5 | -
hello world
6 | - helloYAML Data dumped back:'; 22 | -------------------------------------------------------------------------------- /vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (\PHP_VERSION_ID < 80000) { 13 | interface Stringable 14 | { 15 | /** 16 | * @return string 17 | */ 18 | public function __toString(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/wp-cli/php-cli-tools/examples/notify.php: -------------------------------------------------------------------------------- 1 | assertSame( WP_CLI\Utils\get_php_binary(), WP_CLI::get_php_binary() ); 9 | } 10 | 11 | public function testErrorToString() { 12 | $this->expectException( 'InvalidArgumentException' ); 13 | $this->expectExceptionMessage( "Unsupported argument type passed to WP_CLI::error_to_string(): 'boolean'" ); 14 | WP_CLI::error_to_string( true ); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/wp-cli/wp-cli/php/WP_CLI/Context/Cli.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Finder\Exception; 13 | 14 | /** 15 | * @author Andreas Erhard
'; 20 | echo Spyc::YAMLDump($array); 21 | echo '
22 | */
23 | function trigger_deprecation(string $package, string $version, string $message, ...$args): void
24 | {
25 | @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/vendor/symfony/finder/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2004-present Fabien Potencier
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is furnished
8 | to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/vendor/symfony/polyfill-php80/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2020 Fabien Potencier
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is furnished
8 | to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/src/Mustache/Exception/SyntaxException.php:
--------------------------------------------------------------------------------
1 | token = $token;
27 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28 | parent::__construct($msg, 0, $previous);
29 | } else {
30 | parent::__construct($msg); // @codeCoverageIgnore
31 | }
32 | }
33 |
34 | /**
35 | * @return array
36 | */
37 | public function getToken()
38 | {
39 | return $this->token;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/vendor/composer/LICENSE:
--------------------------------------------------------------------------------
1 |
2 | Copyright (c) Nils Adermann, Jordi Boggiano
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy
5 | of this software and associated documentation files (the "Software"), to deal
6 | in the Software without restriction, including without limitation the rights
7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the Software is furnished
9 | to do so, subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in all
12 | copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 | THE SOFTWARE.
21 |
22 |
--------------------------------------------------------------------------------
/vendor/symfony/deprecation-contracts/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2020-2022 Fabien Potencier
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is furnished
8 | to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in all
11 | copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/vendor/wp-cli/php-cli-tools/examples/output.php:
--------------------------------------------------------------------------------
1 | 'you', 'b' => 'array'));
9 |
10 | \cli\err(' \cli\err sends output to STDERR');
11 | \cli\err(' It does automatically append a new line');
12 | \cli\err(' It does accept any number of %s which are then %s to %s for formatting', 'arguments', 'passed', 'sprintf');
13 | \cli\err(" Alternatively, {:a} can use an {:b} as the second argument.\n", array('a' => 'you', 'b' => 'array'));
14 |
15 | \cli\line(' \cli\line forwards to \cli\out for output');
16 | \cli\line(' It does automatically append a new line');
17 | \cli\line(' It does accept any number of %s which are then %s to %s for formatting', 'arguments', 'passed', 'sprintf');
18 | \cli\line(" Alternatively, {:a} can use an {:b} as the second argument.\n", array('a' => 'you', 'b' => 'array'));
19 |
--------------------------------------------------------------------------------
/vendor/wp-cli/mustangostang-spyc/COPYING:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2011 Vladimir Andersen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
--------------------------------------------------------------------------------
/vendor/wp-cli/wp-cli/tests/test-process.php:
--------------------------------------------------------------------------------
1 | run();
17 |
18 | $this->assertSame( $process_run->stdout, $expected_out );
19 | }
20 |
21 | public function data_process_env() {
22 | return [
23 | [ '', [], [], '' ],
24 | [ 'ENV=blah', [], [ 'ENV' ], 'blah' ],
25 | [ 'ENV="blah blah"', [], [ 'ENV' ], 'blah blah' ],
26 | [ 'ENV_1="blah1 blah1" ENV_2="blah2" ENV_3=blah3', [ 'ENV' => 'in' ], [ 'ENV', 'ENV_1', 'ENV_2', 'ENV_3' ], 'inblah1 blah1blah2blah3' ],
27 | [ 'ENV=blah', [ 'ENV_1' => 'in1', 'ENV_2' => 'in2' ], [ 'ENV_1', 'ENV_2', 'ENV' ], 'in1in2blah' ],
28 | ];
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2010-2015 Justin Hileman
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
19 | DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 | OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
21 | OR OTHER DEALINGS IN THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/vendor/wp-cli/wp-cli/php/WP_CLI/Fetchers/Site.php:
--------------------------------------------------------------------------------
1 | get_site( $site_id );
25 | }
26 |
27 | /**
28 | * Get site (blog) data for a given id.
29 | *
30 | * @param string $arg The raw CLI argument.
31 | * @return array|false The item if found; false otherwise.
32 | */
33 | private function get_site( $arg ) {
34 | global $wpdb;
35 |
36 | // Load site data
37 | $site = $wpdb->get_row(
38 | $wpdb->prepare(
39 | "SELECT * FROM {$wpdb->blogs} WHERE blog_id = %d",
40 | $arg
41 | )
42 | );
43 |
44 | if ( ! empty( $site ) ) {
45 | // Only care about domain and path which are set here
46 | return $site;
47 | }
48 |
49 | return false;
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/src/Mustache/Exception/UnknownFilterException.php:
--------------------------------------------------------------------------------
1 | filterName = $filterName;
26 | $message = sprintf('Unknown filter: %s', $filterName);
27 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28 | parent::__construct($message, 0, $previous);
29 | } else {
30 | parent::__construct($message); // @codeCoverageIgnore
31 | }
32 | }
33 |
34 | public function getFilterName()
35 | {
36 | return $this->filterName;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/src/Mustache/Exception/UnknownHelperException.php:
--------------------------------------------------------------------------------
1 | helperName = $helperName;
26 | $message = sprintf('Unknown helper: %s', $helperName);
27 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28 | parent::__construct($message, 0, $previous);
29 | } else {
30 | parent::__construct($message); // @codeCoverageIgnore
31 | }
32 | }
33 |
34 | public function getHelperName()
35 | {
36 | return $this->helperName;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/src/Mustache/Loader/StringLoader.php:
--------------------------------------------------------------------------------
1 | load('{{ foo }}'); // '{{ foo }}'
19 | *
20 | * This is the default Template Loader instance used by Mustache:
21 | *
22 | * $m = new Mustache;
23 | * $tpl = $m->loadTemplate('{{ foo }}');
24 | * echo $tpl->render(array('foo' => 'bar')); // "bar"
25 | */
26 | class Mustache_Loader_StringLoader implements Mustache_Loader
27 | {
28 | /**
29 | * Load a Template by source.
30 | *
31 | * @param string $name Mustache Template source
32 | *
33 | * @return string Mustache Template source
34 | */
35 | public function load($name)
36 | {
37 | return $name;
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/IncludeFallbackAutoloader.php:
--------------------------------------------------------------------------------
1 | get_custom_vendor_folder();
29 | if ( false !== $custom_vendor ) {
30 | array_unshift(
31 | $autoloader_paths,
32 | WP_CLI_ROOT . '/../../../' . $custom_vendor . '/autoload.php'
33 | );
34 | }
35 |
36 | WP_CLI::debug(
37 | sprintf(
38 | 'Fallback autoloader paths: %s',
39 | implode( ', ', $autoloader_paths )
40 | ),
41 | 'bootstrap'
42 | );
43 |
44 | return $autoloader_paths;
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/src/Mustache/Exception/UnknownTemplateException.php:
--------------------------------------------------------------------------------
1 | templateName = $templateName;
26 | $message = sprintf('Unknown template: %s', $templateName);
27 | if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
28 | parent::__construct($message, 0, $previous);
29 | } else {
30 | parent::__construct($message); // @codeCoverageIgnore
31 | }
32 | }
33 |
34 | public function getTemplateName()
35 | {
36 | return $this->templateName;
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/vendor/wp-cli/wp-cli/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (C) 2011-2020 WP-CLI Development Group (https://github.com/wp-cli/wp-cli/contributors)
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/vendor/wp-cli/wp-cli/utils/auto-composer-update.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | ###
4 | # Runs composer update, commits changes to a new branch,
5 | # and creates a pull request.
6 | #
7 | # Requires git, composer, and hub
8 | ###
9 |
10 | date
11 |
12 | if [ -z "$WP_CLI_DIR" ]; then
13 | echo 'Please set $WP_CLI_DIR'
14 | exit 1
15 | fi
16 |
17 | set -ex
18 |
19 | cd $WP_CLI_DIR
20 |
21 | # Reset WP-CLI directory to baseline
22 | git checkout -f master
23 | git pull origin master
24 | composer install
25 | # Run composer update and capture to untracked log file
26 | composer update --no-progress --no-interaction |& tee vendor/update.log
27 | UPDATE=$(cat vendor/update.log | col -b)
28 |
29 | # We only care to proceed when there are changes
30 | if [ -z "$(git status -s)" ]; then
31 | echo 'No updates available'
32 | exit 0;
33 | fi
34 |
35 | # Create a dated branch and commit the changes
36 | DATE=$(date +%Y-%m-%d)
37 | BRANCH="update-deps-$DATE"
38 | git branch -f $BRANCH master
39 | git checkout $BRANCH
40 | git add .
41 | MESSAGE="Update Composer dependencies ($DATE)
42 |
43 | \`\`\`
44 | $UPDATE
45 | \`\`\`"
46 | git commit -n -m "$MESSAGE"
47 |
48 | # Push and pull request
49 | git push origin $BRANCH
50 | hub pull-request -m "$MESSAGE"
51 |
--------------------------------------------------------------------------------
/vendor/wp-cli/php-cli-tools/lib/cli/Memoize.php:
--------------------------------------------------------------------------------
1 |
9 | * @copyright 2010 James Logsdom (http://girsbrain.org)
10 | * @license http://www.opensource.org/licenses/mit-license.php The MIT License
11 | */
12 |
13 | namespace cli;
14 |
15 | abstract class Memoize {
16 | protected $_memoCache = array();
17 |
18 | public function __get($name) {
19 | if (isset($this->_memoCache[$name])) {
20 | return $this->_memoCache[$name];
21 | }
22 |
23 | // Hide probable private methods
24 | if (0 == strncmp($name, '_', 1)) {
25 | return ($this->_memoCache[$name] = null);
26 | }
27 |
28 | if (!method_exists($this, $name)) {
29 | return ($this->_memoCache[$name] = null);
30 | }
31 |
32 | $method = array($this, $name);
33 | ($this->_memoCache[$name] = call_user_func($method));
34 | return $this->_memoCache[$name];
35 | }
36 |
37 | protected function _unmemo($name) {
38 | if ($name === true) {
39 | $this->_memoCache = array();
40 | } else {
41 | unset($this->_memoCache[$name]);
42 | }
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/vendor/wp-cli/wp-cli/bundle/rmccue/requests/src/Exception/Http/StatusUnknown.php:
--------------------------------------------------------------------------------
1 | code = (int) $data->status_code;
45 | }
46 |
47 | parent::__construct($reason, $data);
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/vendor/mustache/mustache/src/Mustache/Source.php:
--------------------------------------------------------------------------------
1 | new Context\Cli(),
28 | Context::ADMIN => new Context\Admin(),
29 | Context::FRONTEND => new Context\Frontend(),
30 | Context::AUTO => new Context\Auto( $context_manager ),
31 | ];
32 |
33 | $contexts = WP_CLI::do_hook( 'before_registering_contexts', $contexts );
34 |
35 | foreach ( $contexts as $name => $implementation ) {
36 | $context_manager->register_context( $name, $implementation );
37 | }
38 |
39 | $state->setValue( 'context_manager', $context_manager );
40 |
41 | return $state;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/vendor/wp-cli/mustangostang-spyc/includes/functions.php:
--------------------------------------------------------------------------------
1 |
6 | * @author Chris Wanstrath