Commit graph

38 commits

Author SHA1 Message Date
Daniel Hüsken
dec6e040e6
Update required WP Version to 6.5 and WC version to 9.2 2024-12-16 14:05:35 +01:00
Daniel Hüsken
3bad3bad7d
Fix psalm error 2024-11-20 14:58:48 +01:00
Daniel Hüsken
8b2d7f2cf0
fix unit test for getting plugin data 2024-11-20 09:54:03 +01:00
Daniel Hüsken
279e3841fa
Load translations for plugin data only when needed 2024-11-20 09:47:45 +01:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
# Conflicts:
#	composer.lock
2024-09-04 15:47:37 +02:00
Alex P.
4462fb38c9
Update FilePathPluginFactory defaults 2024-09-03 16:23:11 +03:00
Pedro Silva
392d27f08b
Merge remote-tracking branch 'origin/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
#	tests/PHPUnit/WcSubscriptions/RenewalHandlerTest.php
2024-03-27 18:42:21 +00:00
Daniel Dudzic
6797bed406
Fix erroneous code change 2024-03-13 12:16:35 +01:00
Daniel Dudzic
89e56b9e72
Disable markup in the get_plugin_data() return in order to fix the issue with incorrect early initialization of wptexturize() (652) 2024-03-13 12:01:36 +01:00
Pedro Silva
429232f60f
Refactor remaining modules to Modularity.
Remove Dhii dependencies.
2023-12-19 17:26:09 +00:00
Pedro Silva
63690fa696
Fix lint 2023-11-24 18:07:56 +00:00
Pedro Silva
3be8563870
Refactor app container to modularity. 2023-11-23 17:43:56 +00:00
Alex P
b62072c537
Add missing files to psalm 2023-03-16 21:12:34 +02:00
Alex P
b798ccc0e9
Store container in a globally accessible field
needed for providing API
2023-03-16 21:12:34 +02:00
Alex P
cc21dd78e7
Fix tests, add http redirector 2023-03-16 18:13:41 +02:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Alex P
54ff5376b1 Update plugin php requirements 2022-11-09 17:11:17 +02:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
Alex P
a38ebfae04 Fix linter errors 2022-02-23 17:35:17 +02:00
Alex P
577e5c54d2 Require plugin.php if no get_plugin_data
it is not included automatically by wp
2022-02-23 17:28:52 +02:00
Alex P
0c07ebd629 Use plugin version as asset version 2022-02-17 18:51:24 +02:00
Alex P
2236b3cfbe Add plugin info retrieval 2022-02-17 18:18:33 +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
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
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
dinamiko
119543ae2d Update dhii/module-interface to version 0.3 2021-07-14 14:58:23 +02:00
Jorge A. Torres
2a8ee97ad1 Update PluginModule::run() to follow upstream's signature 2021-07-06 09:49:41 -05:00
Jorge A. Torres
1baeda6924 Remove unnecessary CHANGELOG.md and src/README.md 2020-10-21 13:42:23 -03:00
David Remer
ddd4f5ba09 downgrade dhii/module-interface to 0.1 2020-09-16 10:18:45 +03:00
David Remer
c788341887 change namespace vendor to WooCommerce 2020-09-11 14:11:10 +03:00
David Remer
a6d3574a0e coding standards 2020-08-31 13:27:18 +03:00
David Remer
42930b48be codingstandards src/ 2020-08-31 13:08:27 +03:00
David Remer
cfbd3ae428 phpcbf 2020-08-27 11:08:36 +03:00
David Remer
3d2d7255be phpcs 2020-04-28 15:08:27 +03:00
David Remer
005a55c213 phpcs 2020-04-06 11:16:18 +03:00
David Remer
779eb31e4e init 2020-04-02 08:38:00 +03:00
David Naber
2d4c4f78ec Initial commit 2020-03-19 16:47:08 +01:00