Anton Ukhanev
2fa6d6e2f3
Use Composer v1 on CI
2021-08-30 07:55:48 +02:00
Anton Ukhanev
28005c9bb0
Add missing module Composer config
2021-08-30 07:46:24 +02:00
Anton Ukhanev
6652ff317f
Add package definition to module
2021-08-26 17:17:39 +02:00
Anton Ukhanev
b56484e46c
Bring remaining classes to comply with PSR-4
2021-08-26 17:17:28 +02:00
Anton Ukhanev
272302501b
Update deps
2021-08-26 16:57:01 +02:00
Anton Ukhanev
f2a5143066
Use Composer v1
2021-08-26 16:56:49 +02:00
Anton Ukhanev
46856f756f
Upgrade Node
2021-08-26 14:46:09 +02:00
Anton Ukhanev
4f13f1182c
Upgrade Composer
2021-08-26 14:45:55 +02:00
Anton Ukhanev
25e419ab72
Switch GPG keyserver
...
https://stackoverflow.com/a/68132500/565229
2021-08-26 11:31:16 +02:00
Anton Ukhanev
6eda7448d4
Merge pull request #2 from strangerkir/task/refactoring
2021-08-26 11:15:20 +02:00
Anton Ukhanev
69d9631a73
Now using modularity standard v0.3
...
This is the newest release, and is the first one that is compatible
with PHP 8. Other changes are BC-breaking, but very very minor.
2021-08-26 11:11:49 +02:00
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
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