Remove "pushd" and "popd" from build-lib.sh
These are bash specific commands and will fail since the script is actually run as a sh script. Instead, the "-d" option of composer is now used.
This commit is contained in:
parent
591491dd4c
commit
16bd67688f
|
@ -27,9 +27,7 @@ rm -rf lib/packages lib/classes
|
||||||
mkdir lib/packages lib/classes
|
mkdir lib/packages lib/classes
|
||||||
|
|
||||||
# Running update on the lib package will automatically run Mozart
|
# Running update on the lib package will automatically run Mozart
|
||||||
pushd ./lib
|
composer update -d ./lib
|
||||||
composer update
|
|
||||||
popd
|
|
||||||
|
|
||||||
output 6 "Updating autoload files"
|
output 6 "Updating autoload files"
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
"phpunit/phpunit": "^8.5",
|
"phpunit/phpunit": "^8.5",
|
||||||
"squizlabs/php_codesniffer": "^3.5"
|
"squizlabs/php_codesniffer": "^3.5"
|
||||||
},
|
},
|
||||||
"default-branch": true,
|
|
||||||
"bin": [
|
"bin": [
|
||||||
"bin/mozart"
|
"bin/mozart"
|
||||||
],
|
],
|
||||||
|
@ -696,5 +695,5 @@
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.2"
|
"php": "7.2"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.0.0"
|
"plugin-api-version": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,10 +71,6 @@
|
||||||
"stylecheck",
|
"stylecheck",
|
||||||
"tests"
|
"tests"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues",
|
|
||||||
"source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer"
|
|
||||||
},
|
|
||||||
"time": "2020-06-25T14:57:39+00:00"
|
"time": "2020-06-25T14:57:39+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -133,10 +129,6 @@
|
||||||
"phpcs",
|
"phpcs",
|
||||||
"standards"
|
"standards"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
|
|
||||||
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
|
|
||||||
},
|
|
||||||
"time": "2019-12-27T09:44:58+00:00"
|
"time": "2019-12-27T09:44:58+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -189,10 +181,6 @@
|
||||||
"polyfill",
|
"polyfill",
|
||||||
"standards"
|
"standards"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie/issues",
|
|
||||||
"source": "https://github.com/PHPCompatibility/PHPCompatibilityParagonie"
|
|
||||||
},
|
|
||||||
"time": "2019-11-04T15:17:54+00:00"
|
"time": "2019-11-04T15:17:54+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -243,10 +231,6 @@
|
||||||
"standards",
|
"standards",
|
||||||
"wordpress"
|
"wordpress"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/PHPCompatibility/PHPCompatibilityWP/issues",
|
|
||||||
"source": "https://github.com/PHPCompatibility/PHPCompatibilityWP"
|
|
||||||
},
|
|
||||||
"time": "2019-08-28T14:22:28+00:00"
|
"time": "2019-08-28T14:22:28+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -298,11 +282,6 @@
|
||||||
"phpcs",
|
"phpcs",
|
||||||
"standards"
|
"standards"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
|
|
||||||
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
|
|
||||||
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
|
|
||||||
},
|
|
||||||
"time": "2020-10-23T02:01:07+00:00"
|
"time": "2020-10-23T02:01:07+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -343,10 +322,6 @@
|
||||||
"woocommerce",
|
"woocommerce",
|
||||||
"wordpress"
|
"wordpress"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/woocommerce/woocommerce-sniffs/issues",
|
|
||||||
"source": "https://github.com/woocommerce/woocommerce-sniffs/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2020-08-06T18:23:45+00:00"
|
"time": "2020-08-06T18:23:45+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -393,11 +368,6 @@
|
||||||
"standards",
|
"standards",
|
||||||
"wordpress"
|
"wordpress"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/WordPress/WordPress-Coding-Standards/issues",
|
|
||||||
"source": "https://github.com/WordPress/WordPress-Coding-Standards",
|
|
||||||
"wiki": "https://github.com/WordPress/WordPress-Coding-Standards/wiki"
|
|
||||||
},
|
|
||||||
"time": "2020-05-13T23:57:56+00:00"
|
"time": "2020-05-13T23:57:56+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -411,5 +381,5 @@
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.0"
|
"php": "7.0"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.0.0"
|
"plugin-api-version": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -332,10 +332,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
"description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
|
|
||||||
"source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/release/4.x"
|
|
||||||
},
|
|
||||||
"time": "2019-12-28T18:55:12+00:00"
|
"time": "2019-12-28T18:55:12+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -448,10 +444,6 @@
|
||||||
"spy",
|
"spy",
|
||||||
"stub"
|
"stub"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/phpspec/prophecy/issues",
|
|
||||||
"source": "https://github.com/phpspec/prophecy/tree/v1.10.3"
|
|
||||||
},
|
|
||||||
"time": "2020-03-05T15:02:03+00:00"
|
"time": "2020-03-05T15:02:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -612,10 +604,6 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"template"
|
"template"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/php-text-template/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/php-text-template/tree/1.2.1"
|
|
||||||
},
|
|
||||||
"time": "2015-06-21T13:50:34+00:00"
|
"time": "2015-06-21T13:50:34+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -920,10 +908,6 @@
|
||||||
],
|
],
|
||||||
"description": "Looks up which function or method a line of code belongs to",
|
"description": "Looks up which function or method a line of code belongs to",
|
||||||
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
|
"homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2017-03-04T06:30:41+00:00"
|
"time": "2017-03-04T06:30:41+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1169,10 +1153,6 @@
|
||||||
"export",
|
"export",
|
||||||
"exporter"
|
"exporter"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/exporter/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/exporter/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2019-09-14T09:02:43+00:00"
|
"time": "2019-09-14T09:02:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1224,10 +1204,6 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"global state"
|
"global state"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/global-state/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/global-state/tree/2.0.0"
|
|
||||||
},
|
|
||||||
"time": "2017-04-27T15:39:26+00:00"
|
"time": "2017-04-27T15:39:26+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1275,10 +1251,6 @@
|
||||||
],
|
],
|
||||||
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
|
"description": "Traverses array structures and object graphs to enumerate all referenced objects",
|
||||||
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
|
"homepage": "https://github.com/sebastianbergmann/object-enumerator/",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/object-enumerator/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/object-enumerator/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2017-08-03T12:35:26+00:00"
|
"time": "2017-08-03T12:35:26+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1324,10 +1296,6 @@
|
||||||
],
|
],
|
||||||
"description": "Allows reflection of object attributes, including inherited and non-public ones",
|
"description": "Allows reflection of object attributes, including inherited and non-public ones",
|
||||||
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
|
"homepage": "https://github.com/sebastianbergmann/object-reflector/",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/object-reflector/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/object-reflector/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2017-03-29T09:07:27+00:00"
|
"time": "2017-03-29T09:07:27+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1381,10 +1349,6 @@
|
||||||
],
|
],
|
||||||
"description": "Provides functionality to recursively process PHP variables",
|
"description": "Provides functionality to recursively process PHP variables",
|
||||||
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
|
"homepage": "http://www.github.com/sebastianbergmann/recursion-context",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/recursion-context/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/recursion-context/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2017-03-03T06:23:57+00:00"
|
"time": "2017-03-03T06:23:57+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1474,10 +1438,6 @@
|
||||||
],
|
],
|
||||||
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
"description": "Library that helps with managing the version number of Git-hosted PHP projects",
|
||||||
"homepage": "https://github.com/sebastianbergmann/version",
|
"homepage": "https://github.com/sebastianbergmann/version",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/sebastianbergmann/version/issues",
|
|
||||||
"source": "https://github.com/sebastianbergmann/version/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2016-10-03T07:35:21+00:00"
|
"time": "2016-10-03T07:35:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1597,10 +1557,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
"description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/theseer/tokenizer/issues",
|
|
||||||
"source": "https://github.com/theseer/tokenizer/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2019-06-13T22:48:21+00:00"
|
"time": "2019-06-13T22:48:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1650,10 +1606,6 @@
|
||||||
"check",
|
"check",
|
||||||
"validate"
|
"validate"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/webmozart/assert/issues",
|
|
||||||
"source": "https://github.com/webmozart/assert/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2020-07-08T17:02:28+00:00"
|
"time": "2020-07-08T17:02:28+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -1667,5 +1619,5 @@
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.0"
|
"php": "7.0"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.0.0"
|
"plugin-api-version": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,10 +133,6 @@
|
||||||
"translations",
|
"translations",
|
||||||
"unicode"
|
"unicode"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/php-gettext/Languages/issues",
|
|
||||||
"source": "https://github.com/php-gettext/Languages/tree/2.6.0"
|
|
||||||
},
|
|
||||||
"time": "2019-11-13T10:30:21+00:00"
|
"time": "2019-11-13T10:30:21+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -182,10 +178,6 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Peast is PHP library that generates AST for JavaScript code",
|
"description": "Peast is PHP library that generates AST for JavaScript code",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/mck89/peast/issues",
|
|
||||||
"source": "https://github.com/mck89/peast/tree/v1.11.0"
|
|
||||||
},
|
|
||||||
"time": "2020-10-09T15:12:13+00:00"
|
"time": "2020-10-09T15:12:13+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -232,10 +224,6 @@
|
||||||
"mustache",
|
"mustache",
|
||||||
"templating"
|
"templating"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/bobthecow/mustache.php/issues",
|
|
||||||
"source": "https://github.com/bobthecow/mustache.php/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2019-11-23T21:40:31+00:00"
|
"time": "2019-11-23T21:40:31+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -285,10 +273,6 @@
|
||||||
"iri",
|
"iri",
|
||||||
"sockets"
|
"sockets"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/rmccue/Requests/issues",
|
|
||||||
"source": "https://github.com/rmccue/Requests/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2016-10-13T00:11:37+00:00"
|
"time": "2016-10-13T00:11:37+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -398,10 +382,6 @@
|
||||||
],
|
],
|
||||||
"description": "Provides internationalization tools for WordPress projects.",
|
"description": "Provides internationalization tools for WordPress projects.",
|
||||||
"homepage": "https://github.com/wp-cli/i18n-command",
|
"homepage": "https://github.com/wp-cli/i18n-command",
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/wp-cli/i18n-command/issues",
|
|
||||||
"source": "https://github.com/wp-cli/i18n-command/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2020-07-08T15:20:38+00:00"
|
"time": "2020-07-08T15:20:38+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -450,9 +430,6 @@
|
||||||
],
|
],
|
||||||
"description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)",
|
"description": "A simple YAML loader/dumper class for PHP (WP-CLI fork)",
|
||||||
"homepage": "https://github.com/mustangostang/spyc/",
|
"homepage": "https://github.com/mustangostang/spyc/",
|
||||||
"support": {
|
|
||||||
"source": "https://github.com/wp-cli/spyc/tree/autoload"
|
|
||||||
},
|
|
||||||
"time": "2017-04-25T11:26:20+00:00"
|
"time": "2017-04-25T11:26:20+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -503,10 +480,6 @@
|
||||||
"cli",
|
"cli",
|
||||||
"console"
|
"console"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/wp-cli/php-cli-tools/issues",
|
|
||||||
"source": "https://github.com/wp-cli/php-cli-tools/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2018-09-04T13:28:00+00:00"
|
"time": "2018-09-04T13:28:00+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -569,11 +542,6 @@
|
||||||
"cli",
|
"cli",
|
||||||
"wordpress"
|
"wordpress"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"docs": "https://make.wordpress.org/cli/handbook/",
|
|
||||||
"issues": "https://github.com/wp-cli/wp-cli/issues",
|
|
||||||
"source": "https://github.com/wp-cli/wp-cli"
|
|
||||||
},
|
|
||||||
"time": "2020-02-18T08:15:37+00:00"
|
"time": "2020-02-18T08:15:37+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -587,5 +555,5 @@
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.0"
|
"php": "7.0"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.0.0"
|
"plugin-api-version": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -675,5 +675,5 @@
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.0"
|
"php": "7.0"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.0.0"
|
"plugin-api-version": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,10 +53,6 @@
|
||||||
"container-interop",
|
"container-interop",
|
||||||
"psr"
|
"psr"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/php-fig/container/issues",
|
|
||||||
"source": "https://github.com/php-fig/container/tree/master"
|
|
||||||
},
|
|
||||||
"time": "2017-02-14T16:28:37+00:00"
|
"time": "2017-02-14T16:28:37+00:00"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -125,10 +121,6 @@
|
||||||
"provider",
|
"provider",
|
||||||
"service"
|
"service"
|
||||||
],
|
],
|
||||||
"support": {
|
|
||||||
"issues": "https://github.com/thephpleague/container/issues",
|
|
||||||
"source": "https://github.com/thephpleague/container/tree/3.3.3"
|
|
||||||
},
|
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"url": "https://github.com/philipobenito",
|
"url": "https://github.com/philipobenito",
|
||||||
|
@ -150,5 +142,5 @@
|
||||||
"platform-overrides": {
|
"platform-overrides": {
|
||||||
"php": "7.0"
|
"php": "7.0"
|
||||||
},
|
},
|
||||||
"plugin-api-version": "2.0.0"
|
"plugin-api-version": "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue