Skip to content

Commit

Permalink
Happy 2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
rvdsteege committed Aug 9, 2024
1 parent 8c5e8d4 commit 387a9fe
Show file tree
Hide file tree
Showing 41 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion pronamic-pay-mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* GitHub URI: https://github.com/pronamic/wp-pronamic-pay-mollie
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/AddressTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Address transformer
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie admin.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* CLI
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/CardField.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie card field
*
* @author Pronamic <[email protected]>
* @copyright 2005-2022 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie config.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/CustomerDataStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie customer data store.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/CustomerQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie customer query.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie gateway.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie install.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie integration.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/LineTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Line transformer
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/LineTypeTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Line type transformer
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/LinesTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Lines transformer
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/LocaleTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie transformer helper.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/MethodTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie transformer methods.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ProfileDataStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie profile data store.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/RefundLinesTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Refund lines transformer
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
2 changes: 1 addition & 1 deletion src/RefundTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Refund transformer
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
14 changes: 7 additions & 7 deletions src/ScriptsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Scripts controller
*
* @author Pronamic <[email protected]>
* @copyright 2005-2022 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Mollie
*/
Expand Down Expand Up @@ -36,7 +36,7 @@ public static function instance() {

/**
* Setup.
*
*
* @return void
*/
public function setup() {
Expand All @@ -51,14 +51,14 @@ public function setup() {

/**
* Enqueue scripts.
*
*
* @link https://developer.wordpress.org/reference/hooks/wp_enqueue_scripts/
* @return void
*/
public function enqueue_scripts() {
/**
* Mollie.js.
*
*
* @link https://docs.mollie.com/reference/mollie-js/overview
*/
\wp_register_script(
Expand All @@ -72,7 +72,7 @@ public function enqueue_scripts() {

/**
* Card field style.
*
*
* @link https://github.com/mollie/components-examples
*/
$file = '../assets/dist/card-field.css';
Expand Down Expand Up @@ -104,14 +104,14 @@ public function enqueue_scripts() {

/**
* Print scripts.
*
*
* @link https://developer.wordpress.org/reference/functions/wp_print_scripts/
* @return void
*/
public function print_scripts() {
/**
* WooCommerce legacy checkout.
*
*
* @link https://github.com/woocommerce/woocommerce/blob/8.3.0/plugins/woocommerce/includes/class-wc-frontend-scripts.php#L392-L394
* @link https://github.com/woocommerce/woocommerce/blob/8.3.0/plugins/woocommerce/client/legacy/js/frontend/checkout.js
*/
Expand Down
2 changes: 1 addition & 1 deletion src/StatusTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Status transformer.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
2 changes: 1 addition & 1 deletion src/WebhookController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Webhook controller
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/
Expand Down
10 changes: 5 additions & 5 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
* Bootstrap tests
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Gateways\Mollie
*/

/**
* Give access to tests_add_filter() function.
*
*
* @link https://github.com/wp-phpunit/example-plugin/blob/master/tests/bootstrap.php
*/
require_once getenv( 'WP_PHPUNIT__DIR' ) . '/includes/functions.php';
Expand All @@ -24,7 +24,7 @@

/**
* SQLite integration.
*
*
* @link https://github.com/WordPress/sqlite-database-integration/issues/7#issuecomment-1646660980
* @link https://github.com/wp-phpunit/example-plugin/blob/master/tests/bootstrap.php
* @link https://github.com/WordPress/wordpress-playground/blob/23c0fc6aae5d090a14d352160c34d39988167406/packages/playground/wordpress/build/Dockerfile#L25-L42
Expand Down Expand Up @@ -63,12 +63,12 @@ function () {
require __DIR__ . '/../vendor/wordpress/sqlite-database-integration/load.php';

require __DIR__ . '/../pronamic-pay-mollie.php';
}
}
);

/**
* Start up the WP testing environment.
*
*
* @link https://github.com/wp-phpunit/example-plugin/blob/master/tests/bootstrap.php
*/
require getenv( 'WP_PHPUNIT__DIR' ) . '/includes/bootstrap.php';
4 changes: 2 additions & 2 deletions tests/src/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie config test.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand All @@ -15,7 +15,7 @@
/**
* Title: Mollie config tests
* Description:
* Copyright: 2005-2023 Pronamic
* Copyright: 2005-2024 Pronamic
* Company: Pronamic
*
* @author Remco Tolsma
Expand Down
4 changes: 2 additions & 2 deletions tests/src/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie gateway test.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down Expand Up @@ -47,7 +47,7 @@ class GatewayTest extends TestCase {

/**
* HTTP factory.
*
*
* @var Factory
*/
private $factory;
Expand Down
2 changes: 1 addition & 1 deletion tests/src/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie integration test.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand Down
4 changes: 2 additions & 2 deletions tests/src/LocaleTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie locale test.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand All @@ -16,7 +16,7 @@
/**
* Title: Mollie locale helper tests
* Description:
* Copyright: 2005-2023 Pronamic
* Copyright: 2005-2024 Pronamic
* Company: Pronamic
*
* @author Remco Tolsma
Expand Down
4 changes: 2 additions & 2 deletions tests/src/MethodTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie methods test.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand All @@ -17,7 +17,7 @@
/**
* Title: Mollie methods test
* Description:
* Copyright: 2005-2023 Pronamic
* Copyright: 2005-2024 Pronamic
* Company: Pronamic
*
* @author Remco Tolsma
Expand Down
4 changes: 2 additions & 2 deletions tests/src/StatusTransformerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Mollie statuses test.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*/
Expand All @@ -17,7 +17,7 @@
/**
* Title: Mollie statuses constants tests
* Description:
* Copyright: 2005-2023 Pronamic
* Copyright: 2005-2024 Pronamic
* Company: Pronamic
*
* @author Remco Tolsma
Expand Down
2 changes: 1 addition & 1 deletion views/meta-box-payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Payment meta box.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay
*
Expand Down
Loading

0 comments on commit 387a9fe

Please sign in to comment.