Commit Graph

53 Commits

Author SHA1 Message Date
Renovate Bot 7bf9353d21
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.3 2019-07-29 16:42:16 +00:00
Renovate Bot f4bfc15ef2
Update dependency woocommerce/woocommerce-blocks to v2.3.0-beta.2 2019-07-25 15:28:48 +00:00
Claudio Sanches 67212d1303 Updated PHPUnit to 7.5.14 2019-07-18 22:02:58 -03:00
Claudio Sanches 65a32cfc2f REST API package version 1.0.3 2019-07-16 11:36:10 -03:00
Steve Grunwell 5fa06c6287 Merge remote-tracking branch 'upstream/master' into fix/composer-platform-version 2019-07-10 16:34:41 -04:00
Claudio Sanches c4c8fbbce5 Updated composer.lock 2019-07-10 15:50:28 -03:00
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
Claudio Sanches 862771f504 Use stable version of REST API 2019-07-08 15:33:12 -03:00
Claudio Sanches da99bc8ca0 Merge branch 'master' into feature/feature-plugin-packages 2019-07-08 14:33:21 -03:00
Peter Fabian b3b41ff2a7 Add pinned deep-copy pkg as dev dependency.
This way, (I hope) updating composer.lock would not overwrite pinned version that is compatible with PHP 5.6.
2019-07-04 13:44:53 +02:00
Peter Fabian 28abf9e48e Pin the dependency so we can run unit tests on PHP 5.6 2019-07-04 10:03:29 +02:00
Claudio Sanches ea63bb6c7b Removed ApiGen build process and requirements 2019-06-25 22:36:03 -03:00
Mike Jolley 17f87277cc Update lock file 2019-06-25 11:04:00 +01:00
Mike Jolley 69c2cbf6e4 Text domain replacement 2019-06-24 12:40:20 +01:00
Mike Jolley a6a3761778 Update blocks to use dev build 2019-06-21 19:23:43 +01:00
Mike Jolley e3dc79481d Init the blocks library using autoloading 2019-06-21 15:03:28 +01:00
Mike Jolley 7a61883c30 Update composer file to include packages 2019-06-21 13:40:34 +01:00
Mike Jolley f90f0203b5 Grunt dev 2019-03-15 12:21:51 +00:00
Claudio Sanches f7c1b71ce7 Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03:00
Mike Jolley bb7aa99d4b Add transients to post tests 2019-03-07 11:21:42 +00:00
Renovate Bot 6937f231da
Pin dependency composer/installers to 1.6.0 2019-02-28 13:59:42 +00:00
Renovate Bot f609f713db
Update dependency phpunit/phpunit to v6.5.14 2019-02-01 05:57:51 +00:00
Claudio Sanches b25665add9 Merge branch 'master' into update/pre-commit 2019-01-14 18:01:34 -02:00
Renovate Bot f6825731f1
Update dependency nette/utils to v2.5.3 2019-01-08 14:34:15 +00:00
renovate[bot] 82397c2f7f Pin dependencies (#21842) 2019-01-08 11:07:32 +00:00
Claudio Sanches bf1d11e734 Updated WooCommerec Sniffs to 0.0.5 2018-11-20 19:37:28 -02:00
Claudio Sanches e57342e9db Removed old pre-commit hook 2018-11-19 19:16:04 -02:00
Claudio Sanches 86725c4f8c Updated WooCommerce Sniffs 2018-11-19 16:52:33 -02:00
Claudio Sanches 9cb219d92b Updated WooCommerce Sniffs to 0.0.3
- Now wp-coding-standards/wpcs and wimg/php-compatibility are dependencies of WooCommerce Sniffs.
- Updated wp-coding-standards/wpcs to 1.1.
- Updated wimg/php-compatibility to 9.0.
2018-11-06 20:58:50 -02:00
Gerhard Potgieter 5ee3b5dc99 Cater for -1 strengh when the library fails to load, it should remove the disabled attr so the form can continue to be submitted. 2018-06-04 08:39:24 +02:00
Rodrigo Primo fef08f6e16 Revert "Add phpunit-speedtrap"
This reverts commit 5cd7326881.
2018-05-17 14:52:07 +01:00
Rodrigo Primo 5cd7326881 Add phpunit-speedtrap
phpunit-speedtrap (https://github.com/johnkary/phpunit-speedtrap) includes a report of slow-running unit tests to the PHPUnit output and it will help identify WC core tests that need to be changed to run faster.
2018-05-10 10:39:26 -03:00
Gerhard Potgieter 7f2362aab1 PHPCS passing abstract-wc-product.php 2018-03-05 14:46:34 +02:00
Claudio Sanches 811cefe940 Updated composer dependencies 2018-02-27 14:50:39 -03:00
Claudio Sanches 1078990bf6 Composer.lock 2018-02-02 13:47:55 -02:00
Claudio Sanches 61b5c7a445 Added WooCommerce-Core sniffs 2017-12-21 21:29:49 -02:00
Claudio Sanches 2d06a08cfe Updated pre-commit hook 2017-12-18 15:03:11 -02:00
Rodrigo Primo bf052c14c7 Use default name for PHPCS configuration file
This commit renames PHPCS configutarion file to `phpcs.xml`. With the default name, it is not necessary to use the argument `--standard=phpcs.ruleset.xml` anymore when calling `phpcs`.
2017-12-18 11:49:44 -02:00
Claudio Sanches 163c73ba97 Updated wp-coding-standards/wpcs version 2017-11-21 10:41:43 -02:00
Claudio Sanches c62c394ed3 Autoload PHPCS dependencies 2017-11-13 19:18:21 -02:00
Claudio Sanches 3062dba4e5 Integrated PHPCompatibility with PHPCS
- Updated phpcs.ruleset.xml to exclude patterns and set installed_paths.
- Updated woocommerce/woocommerce-git-hooks to version 1.0.3
2017-11-09 16:32:04 -02:00
Claudio Sanches 9d0f33e78e Updated WPCS 2017-10-17 13:32:23 -02:00
Claudio Sanches f4054e66ee Use only one ruleset file 2017-09-27 13:07:41 -03:00
Claudio Sanches f89d84e3e8 Merge branch 'fix/15760' of github.com:woocommerce/woocommerce into fix/15761 2017-07-20 19:05:27 -03:00
Claudio Sanches 7d6c356c11 Updated woocommerce-git-hooks to 1.0.1 2017-07-20 18:58:36 -03:00
Claudio Sanches 62388a9bc6 Merge branch 'master' into fix/15761 2017-07-20 18:57:00 -03:00
Claudio Sanches c7ee52602a Updated PHPUnit version 2017-07-20 13:32:21 -03:00
Claudio Sanches 19095d43ac Included git hooks 2017-06-27 00:02:23 -03:00
Claudio Sanches d71633cad7 Included PHPUnit to composer.json and removed old dependencies 2017-04-24 20:56:43 -03:00
Claudio Sanches 4267275ab9 Update composer dependencies using --prefer-stable #11980 2016-09-27 23:10:58 -03:00