A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
Steve Grunwell 9a43f4728f Explicitly declare PHP version requirements and platform defaults
When running `composer update` on anything more recent than PHP 7.0, doctrine/instantiator version 1.2.0 is installed and tracked in the `composer.lock` file. Unfortunately, this causes some rather cryptic errors when running the WooCommerce test suite in PHP 7.0, as doctrine/instantiator version 1.1.0 dropped support for PHP < 7.1 (see https://github.com/doctrine/instantiator/releases/tag/1.1.0).

This commit adds two things to the `composer.json` file:

1. Explicit platform requirements ("php": "^5.6|^7.0")
2. A `config.platform` value, which essentially tells Composer "when you're installing/updating dependencies, assume it's on a machine running PHP 7.0".

My assumption is the current `composer.lock` file was generated in an environment running PHP 7.0, which is why current Travis runs are working but running `composer update` on anything higher than PHP 7.0 causes the tests to start failing within the PHP 7.0 test runner.
2019-07-09 21:15:13 +00:00
.github Updated build process description 2019-07-08 17:46:27 -03:00
.wordpress-org Update screenshots 2019-04-24 12:27:53 -03:00
assets Merge pull request #24069 from woocommerce/add/coupon-code-generator 2019-07-09 16:50:24 -03:00
i18n Remove i18n/languages/woocommerce.pot 2019-07-08 14:39:26 -03:00
includes Merge pull request #24069 from woocommerce/add/coupon-code-generator 2019-07-09 16:50:24 -03:00
sample-data Update shopmanager display name 2019-01-16 16:01:39 +02:00
templates Merge pull request #23786 from woocommerce/fix/23120-1 2019-07-09 15:40:54 -03:00
tests Merge branch 'master' into fix/23340 2019-07-09 16:32:43 -03:00
.babelrc Initial easy test setup 2017-02-28 12:00:12 -08:00
.codeclimate.yml Remove references to apigen from configuration files 2019-06-28 10:20:30 -03:00
.codecov.yml Attempt to reduce noise in PRs generated by codecov 2018-08-23 17:40:35 -03:00
.editorconfig HTTPS for everybody 2016-05-26 22:48:49 -03:00
.eslintignore Ignore vendor files 2018-11-06 15:31:12 -05:00
.eslintrc Update Gruntfile to make use of node-sass when calling grunt-sass. 2019-01-30 10:12:08 +02:00
.gitattributes Remove references to apigen from configuration files 2019-06-28 10:20:30 -03:00
.gitignore Merge pull request #24099 from woocommerce/remove/pot-file 2019-07-09 14:34:42 -03:00
.jshintrc Grunt dev 2019-03-15 12:21:51 +00:00
.scrutinizer.yml Remove references to apigen from configuration files 2019-06-28 10:20:30 -03:00
.stylelintrc Updated .stylelintrc config 2018-11-19 19:08:08 -02:00
.travis.yml Install sniffs only when running PHPCS. 2019-07-04 10:17:39 +02:00
CHANGELOG.txt Updated outdated codex URLs 2019-06-12 19:31:01 -03:00
CODE_OF_CONDUCT.md Fixed a typo 2017-06-19 16:22:40 -03:00
Gruntfile.js Merge branch 'master' into update/exclude-compiled-assets-from-git 2019-07-09 10:57:40 +02:00
README.md Update README.md 2018-01-04 13:41:25 +00:00
composer.json Explicitly declare PHP version requirements and platform defaults 2019-07-09 21:15:13 +00:00
composer.lock Explicitly declare PHP version requirements and platform defaults 2019-07-09 21:15:13 +00:00
license.txt update license/readme URLs to HTTPS where appropriate 2019-05-16 09:32:06 -03:00
package-lock.json Merge pull request #24083 from woocommerce/renovate/autoprefixer-9.x 2019-07-08 14:41:49 -03:00
package.json Updated config for lint-staged 2019-07-08 14:55:44 -03:00
phpcs.xml Merge pull request #24003 from woocommerce/remove/apigen 2019-06-28 11:23:36 -03:00
phpunit.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
readme.txt Update contributors to reflect team 2019-07-04 10:28:41 +02:00
renovate.json Add renovate.json 2018-11-06 21:00:00 +00:00
uninstall.php Merge branch 'master' into update/erasure-requests 2018-05-02 14:06:47 +01:00
woocommerce.php Bump master to 3.7.0-dev 2019-03-28 14:29:05 -07:00

README.md

WooCommerce

license Latest Stable Version WordPress.org downloads WordPress.org rating Build Status Scrutinizer Code Quality codecov

Welcome to the WooCommerce repository on GitHub. Here you can browse the source, look at open issues and keep track of development. We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.

If you are not a developer, please use the WooCommerce plugin page on WordPress.org.

Documentation

Reporting Security Issues

To disclose a security issue to our team, please submit a report via HackerOne here.

Support

This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:

Support requests in issues on this repository will be closed on sight.

Contributing to WooCommerce

If you have a patch or have stumbled upon an issue with WooCommerce core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.

Contributing new features to the WooCommerce REST API

If you'd like to add a feature to the next version of the REST API, contribute here: https://github.com/woocommerce/wc-api-dev