Skip to content
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
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Fix: Global custom CSS would incorrectly get added to the formidableforms.css more than once on some sites with multiple styles.
* Fix: The style-specific custom CSS setting would incorrectly get output in the formidableforms.css file as CSS variable data.
* Fix: The htaccess file included in this plugin is now automatically deleted when migrating to a new plugin version if a request to load CSS is blocked, fixing a conflict on some servers that are not configured to allow overwriting file permissions.
* Fix: A PHP warning would get logged when checking data for a rank field as spam.
* Fix: A PHP warning would get logged when checking data for a ranking field as spam.
* Fix: Add-on category counts were not always correct.
* Breaking: Many modern PHP functions are now being used including str_contains, str_starts_with, str_ends_with, array_key_last, and array_key_first. If you are using both a WordPress version older than 5.9, and a PHP version lower than 8.0, this will introduce fatal errors. Note that the minimum required WordPress version is already set to 6.3.
* Breaking: The deprecated functions FrmFieldCaptcha::captcha_size, FrmFormsHelper::should_use_pro_for_ajax_submit, FrmFormsController::add_form_style_tab_options, and FrmFieldType::get_select_atributes have been removed.
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ See all [Formidable Zapier Integrations](https://zapier.com/apps/formidable/inte
* Fix: Global custom CSS would incorrectly get added to the formidableforms.css more than once on some sites with multiple styles.
* Fix: The style-specific custom CSS setting would incorrectly get output in the formidableforms.css file as CSS variable data.
* Fix: The htaccess file included in this plugin is now automatically deleted when migrating to a new plugin version if a request to load CSS is blocked, fixing a conflict on some servers that are not configured to allow overwriting file permissions.
* Fix: A PHP warning would get logged when checking data for a rank field as spam.
* Fix: A PHP warning would get logged when checking data for a ranking field as spam.
* Fix: Add-on category counts were not always correct.
* Breaking: Many modern PHP functions are now being used including str_contains, str_starts_with, str_ends_with, array_key_last, and array_key_first. If you are using both a WordPress version older than 5.9, and a PHP version lower than 8.0, this will introduce fatal errors. Note that the minimum required WordPress version is already set to 6.3.
* Breaking: The deprecated functions FrmFieldCaptcha::captcha_size, FrmFormsHelper::should_use_pro_for_ajax_submit, FrmFormsController::add_form_style_tab_options, and FrmFieldType::get_select_atributes have been removed.
Expand Down
6 changes: 6 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
use Rector\DeadCode\Rector\FunctionLike\RemoveDeadReturnRector;
use Rector\DeadCode\Rector\If_\RemoveAlwaysTrueIfConditionRector;
use Rector\DeadCode\Rector\StaticCall\RemoveParentCallWithoutParentRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveVoidDocblockFromMagicMethodRector;
use Rector\DeadCode\Rector\Node\RemoveNonExistingVarAnnotationRector;

// EarlyReturn
use Rector\EarlyReturn\Rector\If_\ChangeOrIfContinueToMultiContinueRector;
Expand All @@ -62,6 +64,7 @@
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;

// TypeDeclarationDocblocks
use Rector\TypeDeclarationDocblocks\Rector\ClassMethod\AddReturnDocblockForDimFetchArrayFromAssignsRector;
use Rector\TypeDeclarationDocblocks\Rector\ClassMethod\AddParamArrayDocblockFromAssignsParamToParamReferenceRector;
use Rector\TypeDeclarationDocblocks\Rector\ClassMethod\AddParamArrayDocblockFromDimFetchAccessRector;
use Rector\TypeDeclarationDocblocks\Rector\ClassMethod\DocblockReturnArrayFromDirectArrayInstanceRector;
Expand Down Expand Up @@ -183,6 +186,8 @@
RemoveUnusedForeachKeyRector::class,
RemoveUnusedPrivateMethodParameterRector::class,
RemoveUnusedPrivateMethodRector::class,
RemoveVoidDocblockFromMagicMethodRector::class,
RemoveNonExistingVarAnnotationRector::class,
// We never want to remove a valid param tag. Leave this exception.
RemoveUselessParamTagRector::class,
RemoveUselessReturnTagRector::class,
Expand All @@ -208,5 +213,6 @@
AddParamArrayDocblockFromAssignsParamToParamReferenceRector::class,
AddParamArrayDocblockFromDimFetchAccessRector::class,
DocblockReturnArrayFromDirectArrayInstanceRector::class,
AddReturnDocblockForDimFetchArrayFromAssignsRector::class,
)
);