Commit Graph

36221 Commits

Author SHA1 Message Date
vedanshujain 55a9687e6d Make api included structure more linear. 2020-08-06 14:34:02 +05:30
vedanshujain 1d782f025e Deprecate API Package class because its not a package anymore. 2020-08-06 14:34:02 +05:30
vedanshujain cfe357cfb2 Fix UT to add predefined values to run tests in isolation. 2020-08-06 14:34:02 +05:30
vedanshujain d5bf302994 Add API UT helpers to autoload so that individual tests can run in isolation. 2020-08-06 14:34:02 +05:30
vedanshujain 16473d54e9 Fixes for correct time of loading API 2020-08-06 14:34:02 +05:30
vedanshujain 4a4767ae93 Load API files. 2020-08-06 14:34:02 +05:30
vedanshujain 1c162956ad Remove REST API package check as files are directly added. 2020-08-06 14:34:02 +05:30
vedanshujain 5b32ec3755 Remove REST API package because its added directly. 2020-08-06 14:34:02 +05:30
vedanshujain 222852dea6 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2020-08-06 14:06:29 +05:30
GREYS feb291e2ee Fix for issue #27108 2020-08-06 17:11:44 +09:00
Christopher Allford ea92aedfcd Added a sniff rule for checking the internal injection method 2020-08-06 00:54:29 -07:00
Christopher Allford 39376abfd2 Added a requirement that `container_init` methods be marked `final` when registering using reflection 2020-08-05 22:34:00 -07:00
Christopher Allford ff6e30f1c1 Renamed `set_internal_dependencies` to `container_init` 2020-08-05 22:20:13 -07:00
Christopher Allford cbbfed4989 Replaced the rest of the constructor injection references 2020-08-05 21:28:06 -07:00
dependabot[bot] 089df498d3
Bump lodash from 4.17.15 to 4.17.19 in /tests/e2e/factories
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-05 23:04:18 +00:00
Christopher Allford 43aef47682
Merge pull request #26948 from woocommerce/package/e2e-factories/product
Add Model Factories package
2020-08-05 16:03:35 -07:00
Christopher Allford 8e8698a3f6 Fixed test that used PHPUnit function from newer version 2020-08-05 15:43:08 -07:00
Christopher Allford dda2f3b405 Pinned the dependencies that were not already pinned 2020-08-05 14:19:43 -07:00
Christopher Allford 678705cdd4 Merge branch 'master' into package/e2e-factories/product 2020-08-05 14:00:05 -07:00
Claudio Sanches 525db3aa21 Fixed incorrect package tags 2020-08-05 17:49:10 -03:00
Ron Rennick 0ca4ce27c5 update e2e readmes 2020-08-05 16:58:38 -03:00
Ron Rennick 7f04d800e9 keep browser reset at end of setup 2020-08-05 15:01:43 -03:00
Claudio Sanches a54f0aae19 Ignore file comment and package tag in src 2020-08-05 14:39:28 -03:00
Claudio Sanches 3632714885 Removed package tag from src 2020-08-05 14:23:50 -03:00
Claudio Sanches a50552af75 Use only WooCommerce as package name 2020-08-05 14:11:20 -03:00
Claudio Sanches f4b336a0f3 Fixed incorrect package 2020-08-05 13:51:37 -03:00
Claudio Sanches d48f1d4e2e Fixed package tag usage 2020-08-05 13:36:24 -03:00
Claudio Sanches 2853c36026
Merge pull request #27227 from woocommerce/fix/class-package
Fixed class package tag
2020-08-05 12:43:37 -03:00
Tam Mullen b7b1d68500
Merge pull request #27232 from woocommerce/fix/e2e-obw-product-types
Fix e2e OBW test to not untick physical products in product type list
2020-08-05 15:46:10 +01:00
Ron Rennick 7799c1bcf0 merge master 2020-08-05 10:33:16 -03:00
Tam Mullen 5a410c02a6 Fix e2e OBW test to not untick physical products in product type list 2020-08-05 12:49:42 +01:00
Yuliyan Slavchev 8ac3fa0bda i18n: Decode HTML entities within countries and states names 2020-08-05 11:45:00 +03:00
Christopher Allford d178c7ff01 Replaced constructor injection with method injection
Since we need to maintain backwards compatibility for class constructors we should settle on using method injection instead of constructor injection. I've replaced the `Definition` class we're using with one that doesn't support constructor arguments and added a check for auto_arg addition. Note that we don't check for method existence in the extended container. This is because reflection is unnecessarily expensive and we should avoid it if at all possible.
2020-08-04 20:37:28 -07:00
Claudio Sanches 7f233951a5 Fixed class package tag 2020-08-04 22:30:11 -03:00
Ron Rennick 52d67cead1 move trash posts/products from sequencer to local config 2020-08-04 19:55:13 -03:00
Ron Rennick 14c9154fcb use consistent MySQL configuration values 2020-08-04 16:17:00 -03:00
Andy Skelton b554eea43c
Whitespace 2020-08-04 10:47:59 -05:00
Emmanuel ADEKPLOVI 2a61d72b20 Update states.php 2020-08-04 16:10:55 +01:00
Emmanuel ADEKPLOVI 5c5619680c Update states.php
updating by the right states name
2020-08-04 16:08:10 +01:00
Claudio Sanches a8ac58add0
Merge pull request #27193 from masteradhoc/masteradhoc-i18n-locale-for-li-ch
Add i18n locale information for Liechtenstein, Switzerland & Austria
2020-08-04 11:00:47 -03:00
Claudio Sanches f5925d4465
Merge pull request #27196 from woocommerce/renovate/autoprefixer-9.x
Update dependency autoprefixer to v9.8.6
2020-08-04 10:59:24 -03:00
Claudio Sanches d5943d6c6f
Merge pull request #27198 from woocommerce/renovate/grunt-1.x
Update dependency grunt to v1.2.1
2020-08-04 10:58:56 -03:00
vedanshujain 1ada7d8b26 Merge branch 'master' of https://github.com/woocommerce/woocommerce 2020-08-04 18:22:41 +05:30
Albert Juhé Lluveras c5da6aa783 Filter quantity in add_to_cart_handler_grouped 2020-08-04 14:33:59 +02:00
Emmanuel ADEKPLOVI dace57438f Update states.php
formating based on phpcs standard
2020-08-04 11:01:55 +01:00
Néstor Soriano 259a17ea5f
Merge pull request #27207 from woocommerce/preparation/4.4-RC.1
Preparation for 4.4 RC.1 release
2020-08-04 11:57:52 +02:00
Nestor Soriano 7d9f86c8cd Add changelog for Admin 1.4.0-beta.3 2020-08-04 11:33:15 +02:00
Nestor Soriano 1279b2cc57 Bump version name in woocommerce.php to 4.5.0-dev 2020-08-04 11:33:02 +02:00
Nestor Soriano 56f8cda645 Add extra changelog entries for 4.4 RC 1 2020-08-04 11:02:30 +02:00
Nestor Soriano 213137bc8c Add one more changelog entry for Admin 2020-08-04 10:59:58 +02:00