Commit Graph

193 Commits

Author SHA1 Message Date
Claudio Sanches d4ea170cf0 Added Emogrifier as a composer package 2020-01-29 15:48:49 -03:00
Christopher Allford 9c8a6d78d9 Added automattic/jetpack-constants package to make testing constants easier 2020-01-28 16:28:40 -08:00
Renovate Bot 4389ef5b40
Update dependency woocommerce/woocommerce-rest-api to v1.0.7 2020-01-28 21:55:26 +00:00
Renovate Bot 3ccefeb8db
Update dependency woocommerce/woocommerce-blocks to v2.5.11 2020-01-20 21:39:43 +00:00
Renovate Bot f81afa0794
Update dependency phpunit/phpunit to v7.5.20 2020-01-16 00:58:45 +00:00
Claudio Sanches 28718614d7 Version 3.9.0-rc.3 2020-01-15 21:17:57 -03:00
Ron Rennick fda63f4536 move action scheduler to external via composer 2020-01-15 10:31:04 -04:00
Christopher Allford 300064187b Moved the MaxMind DB Reader library into composer and pinned the latest version 2020-01-07 15:25:58 -08:00
Renovate Bot e64d687066
Update dependency woocommerce/woocommerce-blocks to v2.5.7 2019-12-20 16:40:18 +00:00
Renovate Bot dee631a71e
Update dependency woocommerce/woocommerce-rest-api to v1.0.5 2019-12-18 23:02:51 +00:00
Claudio Sanches 3f87c1b6f7
Merge pull request #25213 from woocommerce/renovate/woocommerce-woocommerce-blocks-2.x
Update dependency woocommerce/woocommerce-blocks to v2.5.6
2019-12-18 12:45:43 -03:00
Renovate Bot 9fc6a048a2
Pin dependency phpunit/phpunit to 7.5.18 2019-12-18 12:06:29 +00:00
Renovate Bot b8e9fd5dac
Update dependency woocommerce/woocommerce-blocks to v2.5.6 2019-12-17 19:40:53 +00:00
Rodrigo Primo 4bd6156bbb Lock PHPUnit version to 7.x
This is necessary as WordPress unit tests currently don't work with
PHPUnit 8.x. We will be able to update the PHPUnit version when the
following WP ticket is resolved: https://core.trac.wordpress.org/ticket/46149
2019-12-13 09:44:32 -03:00
Claudio Sanches ab2c455783 Merge branch 'master' into update/packages 2019-12-10 11:40:56 -03:00
Claudio Sanches cd241e691c Updated packages 2019-12-10 11:29:15 -03:00
Renovate Bot 1aeb69585d
Update dependency phpunit/phpunit to v7.5.18 2019-12-06 06:00:04 +00:00
Claudio Sanches 4980f8537c Updated Blocks and REST API packages 2019-12-05 22:50:13 -03:00
Renovate Bot caa00ac6f5
Update dependency woocommerce/woocommerce-sniffs to v0.0.9 2019-11-18 11:38:41 +00:00
Renovate Bot 5130aa3319
Update dependency phpunit/phpunit to v7.5.17 2019-11-04 13:39:09 +00:00
Renovate Bot 20e6d34b1d
Update dependency woocommerce/woocommerce-blocks to v2.4.5 2019-11-02 13:57:27 +00:00
Renovate Bot 250de90491
Update dependency woocommerce/woocommerce-sniffs to v0.0.8 2019-10-16 18:56:42 +00:00
Renovate Bot b97bc6b03a
Update dependency woocommerce/woocommerce-blocks to v2.4.3 2019-10-14 13:41:40 +00:00
vedanshujain 285287fa46 Update `woocommerce-blocks` to `2.4.2` and `composer/installers` to 1.7.0
woocommerce-blocks update was blocked by jetpack-autoloader conflict between woocommerce core and woocommerce-blocks. Now that this has been resolved in an earlier commit, woocommerce-blocks can be updated.
2019-10-01 19:00:08 +05:30
Mike Jolley 98461cbf4e Update autoloader version to use ranges 2019-10-01 14:17:46 +01:00
Renovate Bot f3f0b27d39
Update dependency automattic/jetpack-autoloader to v1.3.2 2019-09-24 07:34:17 +00:00
Renovate Bot e0a0054f2d
Update dependency phpunit/phpunit to v7.5.16 2019-09-14 10:31:58 +00:00
Renovate Bot 2c8cb5bd2f
Update dependency woocommerce/woocommerce-sniffs to v0.0.7 2019-08-23 21:48:46 +00:00
Rodrigo Primo 557e9aae95 Remove myclabs/deep-copy from the list of Composer dev dependencies
myclabs/deep-copy was added to composer.json directly as a workaround an issue in
the Travis build when running PHP 5.6 (#24079). Removing it in this commit to
check if the issue in Travis has been fixed as we don't really use this
package for WooCommerce development.
2019-08-21 15:55:18 -03:00
Renovate Bot 4a7bd9dee9
Update dependency phpunit/phpunit to v7.5.15 2019-08-21 07:37:52 +00:00
Renovate Bot 67abaef097
Update dependency woocommerce/woocommerce-blocks to v2.3.0 2019-08-12 11:52:22 +00:00
Renovate Bot fb7dbd451b
Update dependency woocommerce/woocommerce-blocks to v2.3.0-rc.1 2019-08-01 15:11:11 +00:00
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
Mike Jolley 1b132157ed bump package version to beta 2019-07-10 12:43:43 +01: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 802f23d76d Leave pot file for build before release 2019-07-08 15:19:48 -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
Claudio Sanches ea63bb6c7b Removed ApiGen build process and requirements 2019-06-25 22:36:03 -03:00
Mike Jolley 6439f2a170 Include src in autoloader 2019-06-25 13:12:02 +01:00
Mike Jolley 5bf69132ba Update jetpack autoloader to 1.2.0 2019-06-25 11:01:03 +01:00
Mike Jolley fcf06e97a3 Tweak script to add POT generation on update 2019-06-24 15:29:26 +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
Claudio Sanches f7c1b71ce7 Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03: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 2efe077678 Ignore warnings from PHPCS in pre-commit 2019-01-14 18:04:44 -02: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
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
Claudio Sanches 811cefe940 Updated composer dependencies 2018-02-27 14:50:39 -03:00
Mike Jolley 453ca3907e Fix api docs generation 2018-02-02 13:47:55 -02:00
Claudio Sanches 61fc67b867 Fixed composer license syntax 2018-01-24 14:13:45 -02:00
Claudio Sanches 61b5c7a445 Added WooCommerce-Core sniffs 2017-12-21 21:29:49 -02:00
Gareth Allison 29cc03c798 Updates the word `e-commerce` to `eCommerce` in the plugin description to be in line with the Woo and Automattic language & writing style. 2017-12-19 16:12:07 +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 fec1997029 Fixed composer script for phpcbf 2017-12-04 14:44:39 -02:00
Claudio Sanches d9da796f11 Introduces a few composer scripts for PHPUnit and PHP_CodeSniffer 2017-11-29 18:10:54 -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 2d6ee25d5f Removed extra composer scripts to configure PHPCS
All configuration is done by phpcs.ruleset.xml now
2017-11-09 16:40:40 -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
Mike Jolley f8466cf61b Code standards 0.10.0 2017-03-21 14:32:15 +00:00
Ramon van Belzen acbcad87a6 composer: composer/installers to 1.2 2017-01-24 14:17:16 +01:00
Shiva Poudel 8867ecdb8c Added wimg/php-compatibility again 2016-09-17 01:25:11 +05:45
Shiva Poudel 46d95c5373 Fix - Composer post-{install|update}-cmd scripts on windows 2016-09-16 11:02:16 +05:45
Claudio Sanches 847be0aa21 Updated composer.json scripts 2016-09-15 19:18:35 -03:00
Claudio Sanches 486449bf07 Added PHPCS dependency and grunt task 2016-09-13 18:24:01 -03:00
Claudio Sanches 2f55e6d287 Updated composer.json 2016-07-14 16:09:57 +02:00
Claudio Sanches 36f9e156c7 Added composer.json 2016-07-14 16:07:22 +02:00