This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bc4228ae7f
woocommerce
/
bin
/
composer
/
mozart
/
composer.json
11 lines
127 B
JSON
Raw
Normal View
History
Unescape
Escape
Use Mozart instead of a script to renamespace packages. A custom fork of the coenjacobs/mozart package is now used to change the namespace of the appropriate packages (only league/container for now) instead of the previously used prefix-vendor-namespaces script. The packages are now moved to the src/Internal/Vendor namespace instead of being modified in-place in the vendor directory. The namespaces are thus now prefixed with Automattic\WooCommerce\Internal\Vendor (previously it was just Automattic\WooCommerce\Vendor).
2020-10-30 11:05:27 +00:00
{
"require-dev"
:
{
Get Mozart package from original source instead of our fork. Since the pull requests with required functionality have been accepted and merged, we can now use the original repository instead of Woo's fork.
2020-11-18 08:14:17 +00:00
"coenjacobs/mozart"
:
"dev-master"
Declare PHP version as 7.2 in composer.json for Mozart. This way it won't throw errors when building in 7.0 or 7.1 (required for CI). Still, an error will be thrown when manually running move-vendor-packages.sh in 7.0 or 7.1.
2020-11-18 08:39:46 +00:00
}
,
"config"
:
{
"platform"
:
{
"php"
:
"7.2"
}
Get Mozart package from original source instead of our fork. Since the pull requests with required functionality have been accepted and merged, we can now use the original repository instead of Woo's fork.
2020-11-18 08:14:17 +00:00
}
Use Mozart instead of a script to renamespace packages. A custom fork of the coenjacobs/mozart package is now used to change the namespace of the appropriate packages (only league/container for now) instead of the previously used prefix-vendor-namespaces script. The packages are now moved to the src/Internal/Vendor namespace instead of being modified in-place in the vendor directory. The namespaces are thus now prefixed with Automattic\WooCommerce\Internal\Vendor (previously it was just Automattic\WooCommerce\Vendor).
2020-10-30 11:05:27 +00:00
}