Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpnf-limit-entry-min-max-from-field.php: Fixed PHP 8.2 warnings. #883

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions experimental/gpdec-delay-for-gravity-pdf-bg-processing.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
*/
class GPDEC_GFPDF_Delayed_Deletion {
public $deletion_queue = array();
private $_args = array();

function __construct( $args ) {
$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions experimental/gppa-page-modifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*/
class GPPA_Page_Modifier {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
1 change: 1 addition & 0 deletions experimental/gw-gravity-forms-to-wp-job-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
class GW_GF_To_WP_Job_Manager {

var $post_custom_fields;
private $_args = array();

public function __construct( $args = array() ) {

Expand Down
2 changes: 2 additions & 0 deletions gp-address-autocomplete/gpaa-autocomplete-by-city.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
*/
class GPAA_Autocomplete_By_City {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-address-autocomplete/gpaa-single-line-as-input.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
class GPAA_Single_Line_Input {

private $_args = array();

public function __construct( $args = array() ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-advanced-select/gpadvs-enable-add-new-option.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
class GPASVS_Enable_Add_New_Option {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-advanced-select/gpadvs-enable-globally.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

class GPASVS_Enable_Globally {

private $_args = array();

public function __construct( $args = array() ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-entry-blocks/gpeb-add-new-entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
class GWME_Entry_Blocks_New_Entry {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
3 changes: 3 additions & 0 deletions gp-inventory/gpi-waiting-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* rather than being removed
*/
class GPI_Waiting_List {

private $_args = array();

public $waitlist_message = '(waiting list)';

public function __construct( $args = array() ) {
Expand Down
2 changes: 2 additions & 0 deletions gp-inventory/gpi-weighted-inventory.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*/
class GPI_Weighted_Inventory {

private $_args = array();

public function __construct( $args = array() ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-limit-checkboxes/gplcb-conditional-limits.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class GPLCB_Conditional_Limits {

protected static $is_script_output = false;

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-limit-choices/gplc-daily-limit.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GWLimitChoicesDailyLimit {

private $_args = array();

function __construct( $args ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-limit-choices/gplc-field-groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GP_Limit_Choices_Field_Group {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-limit-dates/gpld-block-reserved-date-ranges.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
class GPLD_Block_Reserved_Date_Ranges {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-multi-page-navigation/gpmpn-page-permalinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GPMPN_Page_Permalinks {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-nested-forms/gpnf-attach-child-entry-by-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*/
class GPNF_Attach_Child_Entry_By_Field {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
3 changes: 3 additions & 0 deletions gp-nested-forms/gpnf-gflow-delay-child-feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
* - Make all parameters optional. Would allow this snippet to apply to any child feed for which a parent feed of the same type was present for any Gravity Flow step.
*/
class GPNF_GFlow_Delay_Child_Feed {

private $_args = array();

public function __construct( $args = array() ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-nested-forms/gpnf-limit-entry-min-max-from-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
class GP_Nested_Forms_Dynamic_Entry_Min_Max {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-nested-forms/gpnf-listener-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
*/
class GPNF_Listener_Field {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
class GPNF_Map_Child_Entries_To_ACF_Repeater {

private $args;
private $_args = array();

public function __construct( $args ) {
$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-nested-forms/gpnf-require-unique-values.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
*/
class GPNF_Required_Unique {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-nested-forms/gpnf-triggered-population.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*/
class GPNF_Triggered_Population {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-pay-per-word/gpppw-pay-per-line.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*/
class GPPPW_Pay_Per_Line {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-populate-anything/gppa-gpnf-force-dyn-pop-on-gv-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*/
class GPPA_GPNF_GV_Force_Repopulation_On_Edit {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gp-populate-anything/gppa-notification-choices.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
class GPPA_Notification_Choices {

private $_args = array();

public function __construct( $args = array() ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-preview-submission/gpps-live-refresh.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GPPS_Live_Refresh {

private $_args = array();

public function __construct( $args = array() ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gp-unique-id/gpuid-multiple-ids.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GPUID_Multiple_IDs {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-allow-create-and-update-feeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
*/
class GW_GFUR_Update_Create_Same_Form {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
1 change: 1 addition & 0 deletions gravity-forms/gw-calculated-shipping.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
class GWCalculatedShipping {

private $_orig_field = null;
private $_args = array();

function __construct( $args ) {

Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-check-in.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
*/
class GW_Check_In {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-convert-state-to-abbr.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
class GW_Convert_State_To_Abbr {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-embeddable-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GW_Embeddable_Form {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-force-default-value.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
*/
class GW_Force_Default_Value {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-limit-multi-selects.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
*/
class GW_Limit_Multi_Select {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-list-field-as-choices.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
class GW_List_Field_As_Choices {

private $_args = array();

function __construct( $args ) {

$this->_args = wp_parse_args( $args, array(
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-live-preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class GWLivePreview {
var $post_type = 'gw_live_preview';
var $preview_post = null;

private $_args = array();

function __construct( $args = array() ) {

if ( ! property_exists( 'GFCommon', 'version' ) || ! version_compare( GFCommon::$version, '1.8', '>=' ) ) {
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-multiple-entries-list-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
class GW_Multiple_Entries_List_Field {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-notification-events.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*/
class GW_Notification_Event {

private $_args = array();

public function __construct( $args ) {
$this->_args = wp_parse_args( $args, array(
'form_id' => false,
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-redirect-if-email-exists.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
class GW_Redirect_Email_Exists {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-restrict-states-in-address-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
class GW_Restrict_States_In_Address_Field {

private $_args = array();

public function __construct( $args = array() ) {
// set our default arguments, parse against the provided arguments, and store for use throughout the class
$this->_args = wp_parse_args(
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-save-and-continue-auto-load.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/
class GW_Save_Continue_Auto_Load {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-set-entry-created-by.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
class GW_Set_Entry_Created_By {

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-set-list-field-rows-by-field-value.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class GWAutoListFieldRows {

private static $_is_script_output;

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
2 changes: 2 additions & 0 deletions gravity-forms/gw-simple-approval.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ class GW_Simple_Approval {

protected static $is_script_output = false;

private $_args = array();

public function __construct( $args = array() ) {

// set our default arguments, parse against the provided arguments, and store for use throughout the class
Expand Down
Loading
Loading