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 3dffa32 commit 070ab0f
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion pronamic-pay-contact-form-7.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* GitHub URI: https://github.com/wp-pay-extensions/contact-form-7
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand Down
2 changes: 1 addition & 1 deletion src/ContactForm7Dependency.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Contact Form 7 Dependency
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Extension.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Extension
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand All @@ -21,7 +21,7 @@
/**
* Title: WordPress pay extension Contact Form 7 extension
* Description:
* Copyright: 2005-2023 Pronamic
* Copyright: 2005-2024 Pronamic
* Company: Pronamic
*
* @author Reüel van der Steege
Expand Down
2 changes: 1 addition & 1 deletion src/Pronamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Pronamic
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\MemberPress
*/
Expand Down
30 changes: 15 additions & 15 deletions src/SubmissionHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Submission helper
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand All @@ -19,14 +19,14 @@
class SubmissionHelper {
/**
* Submission.
*
*
* @var WPCF7_Submission
*/
private $submission;

/**
* Construct submission helper object.
*
*
* @param WPCF7_Submission $submission Submission.
*/
public function __construct( $submission ) {
Expand All @@ -35,7 +35,7 @@ public function __construct( $submission ) {

/**
* Filter tags.
*
*
* @param callable $callback Filter function.
* @return WPCF7_FormTag[]
*/
Expand All @@ -48,7 +48,7 @@ private function filter_tags( $callback ) {

/**
* Get tags by basetype or option.
*
*
* @param string $value Name or option.
* @return WPCF7_FormTag[]
*/
Expand All @@ -68,7 +68,7 @@ function ( $tag ) use ( $value ) {

/**
* Get tags by basetype.
*
*
* @param string $basetype Basetype.
* @return WPCF7_FormTag[]
*/
Expand All @@ -82,7 +82,7 @@ function ( $tag ) use ( $basetype ) {

/**
* Get tags by name.
*
*
* @param string $name Name.
* @return WPCF7_FormTag[]
*/
Expand All @@ -96,7 +96,7 @@ function ( $tag ) use ( $name ) {

/**
* Get tags with option.
*
*
* @param string $option Option.
* @return WPCF7_FormTag[]
*/
Expand All @@ -112,7 +112,7 @@ function ( $tag ) use ( $option ) {
* Get hidden fields.
*
* Hidden fields may arise when using the "Conditional Fields for Contact Form 7" plugin.
*
*
* @link https://wordpress.org/plugins/cf7-conditional-fields/
* @link https://github.com/pronamic/wp-pronamic-pay-contact-form-7/commit/83122efa3755f1d4b667aed3e3e7c2ae0f813faa
* @return string[]
Expand All @@ -137,7 +137,7 @@ private function get_hidden_fields() {

/**
* Get values by tag.
*
*
* @param WPCF7_FormTag $tag Tag.
* @return array<string>
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ public function get_values_by_tag( $tag ) {

/**
* Get value by tag.
*
*
* @param WPCF7_FormTag $tag Tag.
* @return string
*/
Expand All @@ -196,7 +196,7 @@ public function get_value_by_tag( $tag ) {

/**
* Get value by tags.
*
*
* @param WPCF7_FormTag[] $tags Tags.
* @return string
*/
Expand All @@ -212,7 +212,7 @@ private function get_value_by_tags( $tags ) {

/**
* Get value by tag name or option.
*
*
* @param string $value Name or option value.
* @return string
*/
Expand All @@ -228,7 +228,7 @@ public function get_value_by_tag_name_or_option( $value ) {

/**
* Get value by tag basetype, name or option.
*
*
* @param string $value Value.
* @return string
*/
Expand All @@ -248,7 +248,7 @@ public function get_value_by_tag_basetype_or_name_or_option( $value ) {

/**
* Get value by tag name, option or basetype.
*
*
* @param string $value Name or option value.
* @param string $basetype Basetype.
* @return string
Expand Down
2 changes: 1 addition & 1 deletion src/Tags/AmountTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Amount form tag.
*
* @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/Tags/IssuerTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Issuer form tag.
*
* @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 src/Tags/PaymentMethodTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Payment method form tag.
*
* @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 @@ -202,7 +202,7 @@ public function add_tag_generator() {
*/
public function tag_generator( // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed -- Parameter is used in include.
$form,
$args
$args
) {
require __DIR__ . '/../../views/payment-method-tag-generator.php';
}
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Bootstrap tests
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand Down
6 changes: 3 additions & 3 deletions tests/wp-env-mail.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
* Plugin Name: wp-env mail
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/

/**
* Short-circuit mail.
*
*
* @link https://github.com/WordPress/wordpress-develop/blob/2f8f1fc795789530db31bdf020e1d96acf02a760/src/wp-includes/pluggable.php#L194-L214
*/
add_filter(
'pre_wp_mail',
function () {
return true;
}
}
);
2 changes: 1 addition & 1 deletion views/issuer-tag-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Issuer tag generator.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand Down
2 changes: 1 addition & 1 deletion views/payment-method-tag-generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Payment method tag generator.
*
* @author Pronamic <[email protected]>
* @copyright 2005-2023 Pronamic
* @copyright 2005-2024 Pronamic
* @license GPL-3.0-or-later
* @package Pronamic\WordPress\Pay\Extensions\ContactForm7
*/
Expand Down

0 comments on commit 070ab0f

Please sign in to comment.