Anton Ukhanev
516871c355
Merge branch 'bug/fix-project-configuration' into task/refactor-for-psr-4
...
# Conflicts:
# .github/workflows/php.yml
# .idea/php.xml
# .idea/woocommerce-paypal-payments.iml
2021-08-30 18:03:57 +02:00
Anton Ukhanev
74769a6a79
CI no longer authenticates with Packagist
...
Apparently not necessary for this project
2021-08-30 17:58:35 +02:00
Anton Ukhanev
dd4affb14b
Remove PHPStorm configuration
2021-08-30 17:55:17 +02:00
Anton Ukhanev
e78b0b283a
PHPCS now allows omitting inherited param doc
2021-08-30 17:52:21 +02:00
Anton Ukhanev
986b6c5eb2
Fix typo in command
2021-08-30 17:52:09 +02:00
Anton Ukhanev
b41664d4b5
Use Composer v1 on CI
2021-08-30 17:52:05 +02:00
Anton Ukhanev
6a7a26708b
Use Composer v1
2021-08-30 17:51:36 +02:00
Anton Ukhanev
dc3889e17b
Upgrade Node
2021-08-30 17:51:28 +02:00
Anton Ukhanev
e84ad7390a
Upgrade Composer
2021-08-30 17:50:57 +02:00
Anton Ukhanev
bddb86a4c7
Configure PHPCS
...
Now will use config instead of CLI values for most things.
Will also show sniff codes.
2021-08-30 17:48:43 +02:00
Anton Ukhanev
9484e73e80
No longer requiring WPCS for file names
2021-08-30 17:48:21 +02:00
Anton Ukhanev
559f843414
Apparently, line endings in images
2021-08-30 17:46:47 +02:00
Anton Ukhanev
ae5fd9ee9d
Git archive now ignores .idea
2021-08-30 15:39:57 +02:00
Anton Ukhanev
f6822fa660
PHPCS now allows omitting inherited param doc
2021-08-30 08:18:10 +02:00
Anton Ukhanev
67f327d6c9
Update PHPStorm configs
2021-08-30 08:10:55 +02:00
Anton Ukhanev
df185157bd
Update parameter name
...
Fixes PHPCS
2021-08-30 08:10:43 +02:00
Anton Ukhanev
3a72a73ae3
Auto-fix PHPCS
2021-08-30 08:08:41 +02:00
Anton Ukhanev
3cfe111b4b
Fix typo in command
2021-08-30 07:57:01 +02:00
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