Commit graph

1665 commits

Author SHA1 Message Date
Anton Ukhanev
cabcb7d9e4 Add Container typehint to all service definitions 2021-08-26 11:10:16 +02:00
Anton Ukhanev
3d39f3b2a9 Configure PHPCS
Now will use config instead of CLI values for most things.
Will also show sniff codes.
2021-08-26 11:08:27 +02:00
Anton Ukhanev
eca267a874 No longer requiring WPCS for file names 2021-08-26 11:01:44 +02:00
Anton Ukhanev
b8cc98e9cd Remove unused dependency
The WP containers don't seem to be used anywhere. There were
imports, but they are not actually used it seems.
2021-08-26 11:01:42 +02:00
Anton Ukhanev
d4c8282518 Use Composer modules and convert modules to PSR-4
PSR-4 is much more robust and predictable. But to do this,
a source root dir must be specified for every module.
This could be done in the root file, but this is not very modular.
Instead, now every module declares its own source root by using
the amazing Composer Merge Plugin. This approach allows each module
to also declare its own dependencies. Together, these changes allow
modules to be easily extractable to separate pacakges when the need
arises, and in general improves modularity significantly.
2021-08-26 11:01:20 +02:00
Anton Ukhanev
45db097bd8 Now depending on newer module standard
Refactoring of modules themselves was not necessary,
because they were already following the new standard.
2021-08-26 10:56:33 +02:00
Anton Ukhanev
173f5563d9 Add datasources configuration to PHPStorm
This lets one use PHPStorm as a DB client out of the box.
2021-08-25 17:18:12 +02:00
Anton Ukhanev
4ba93925b9 Add lockfile
This is convenient for debugging, and speeds up initial setup.
2021-08-25 17:04:50 +02:00
Anton Ukhanev
c7f62268db Add Git attributes config 2021-08-25 17:01:14 +02:00
Anton Ukhanev
772512e3ff Add PHPStorm configuration
This includes

- PHP interpreters;
- PHPUnit;
- Composer;
- PHPCS;
2021-08-25 16:48:02 +02:00
Alex P
ac482cc44d Do not send payee email if have id 2021-08-23 18:50:59 +03:00
Alex P
b988e08c66 Add "No 3DS" option 2021-08-23 12:29:43 +03:00
Alex P
0553ea62bf Send 3ds contingency in js 2021-08-20 17:47:32 +03:00
Alex P
31bd954870 Add 3d secure contingency settings 2021-08-20 17:25:24 +03:00
Emili Castells
0afe6cd2e4
Merge pull request #229 from woocommerce/editorconfig
Add .editorconfig
2021-08-20 16:19:36 +02:00
Alex Pantechovskis
485f501394
Keep using spaces in js code for now 2021-08-20 17:03:15 +03:00
Alex P
4b2c6efe0b Add .editorconfig 2021-08-20 16:23:36 +03:00
Emili Castells
e8a44f99e7
Merge pull request #225 from oscargare/trunk
fix REFUND_CAPTURE_CURRENCY_MISMATCH on multicurrency sites
2021-08-20 11:41:05 +02:00
Emili Castells
d3f23b8e68
Merge pull request #228 from woocommerce/PCP-252-docker
Docker
2021-08-20 11:21:54 +02:00
Emili Castells
955dc798e5
Merge pull request #224 from woocommerce/PCP-225-cant-checkout-to-certain-countri
Can't checkout to certain countries with optional postcode
2021-08-20 09:54:23 +02:00
Jorge A. Torres
3370ea0985
Merge pull request #223 from woocommerce/release/1.5.1
Version 1.5.1
2021-08-19 11:42:50 -05:00
Jorge A. Torres
a1e41f5aea Add release date to changelog.txt 2021-08-19 09:35:12 -07:00
Alex P
6dc71e439f Delete docker files from release package 2021-08-19 18:49:00 +03:00
Alex P
6aa0f17bca Add dockers docs and yarn commands 2021-08-19 17:49:54 +03:00
Alex P
869281d81f Add docker 2021-08-19 16:48:35 +03:00
Emili Castells
c2152a0bd4
Merge pull request #227 from woocommerce/phpcs
Simplify PHPCS execution
2021-08-19 09:39:12 +02:00
Emili Castells
406321375a
Merge pull request #226 from woocommerce/ci-all-php-7x
Run CI for PHP 7.1-7.4
2021-08-19 09:38:59 +02:00
Alex Pantechovskis
125a1f29b9
Update README.md 2021-08-19 10:13:46 +03:00
Alex P
1c01549af2 Update phpcs config 2021-08-19 10:12:44 +03:00
Alex P
2b344f51f8 Simplify phpcs config 2021-08-19 10:12:15 +03:00
Alex P
820d2100de Cache composer deps in ci to make it faster 2021-08-18 17:37:04 +03:00
Alex P
1620029d07 Run CI for PHP 7.1-7.4 2021-08-18 17:16:02 +03:00
Alex P
72154085f4 No DateTimeInterface::ISO8601 in PHP 7.1 2021-08-18 17:15:15 +03:00
Alex P
0bb6aa62f2 Allow phpunit 7.x, 8.x for PHP 7.1+ 2021-08-18 17:14:44 +03:00
dinamiko
ea56d7c87c Update PHP version 7.1 in README.md 2021-08-18 15:40:55 +02:00
dinamiko
83c998730f Update WC tested up to 5.6 2021-08-18 15:24:38 +02:00
Oscar Gare
852fbe9f54 fix REFUND_CAPTURE_CURRENCY_MISMATCH 2021-08-17 12:06:49 +02:00
emilicastells
beecf5ad5b
Remove check postal code null unit test 2021-08-16 17:27:00 +02:00
emilicastells
e7a4dbd506
Remove postal code exist condition on purchase unit 2021-08-16 16:38:44 +02:00
dinamiko
9a9cf29b57 Bump 1.5.1 release 2021-08-16 12:02:07 +02:00
Emili Castells
44aecb698e
Merge pull request #221 from woocommerce/PCP-195-plugin-conflict-blocking-line-it
Plugin conflict blocking line item details
2021-08-16 11:10:45 +02:00
dinamiko
6f49557e44 Update fees session on each after calculate totals 2021-08-16 11:08:58 +02:00
dinamiko
cc87fb50a3 Rename fees session to avoid naming conflicts 2021-08-16 10:37:17 +02:00
emilicastells
beafb7b56b
Fix unit tests 2021-08-13 17:09:27 +02:00
emilicastells
69b46c33d4
Merge branch 'trunk' into PCP-195-plugin-conflict-blocking-line-it 2021-08-13 16:50:35 +02:00
emilicastells
2273213cae
Add fees when creating line items from cart 2021-08-13 16:27:52 +02:00
Emili Castells
ef1357a981
Merge pull request #222 from woocommerce/PCP-220-payments-left-in-pending-paymen
WooCommerce orders left in “Pending Payment” after a decline
2021-08-13 14:43:01 +02:00
emilicastells
3fde81bb80
Fix unit tests 2021-08-13 14:39:27 +02:00
dinamiko
9b16d92565 Update order status to failed when can not process order 2021-08-13 11:00:55 +02:00
dinamiko
ba07030dac Update order status to failed when instrument is declined 2021-08-11 15:01:23 +02:00