Skip to content

Prepare for 6.22#2391

Merged
Crabcyborg merged 2 commits into
masterfrom
prepare_for_6.22
Jun 12, 2025
Merged

Prepare for 6.22#2391
Crabcyborg merged 2 commits into
masterfrom
prepare_for_6.22

Conversation

@Crabcyborg
Copy link
Copy Markdown
Contributor

No description provided.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 12, 2025

Walkthrough

This update primarily changes version numbers and documentation annotations across the codebase. The plugin version is incremented from 6.21.1 to 6.22 in core files, PHPDoc @since tags are updated from placeholders to "6.22", and new Square payment-related translation strings are added to the translation template.

Changes

File(s) Change Summary
classes/helpers/FrmAppHelper.php, formidable.php Updated plugin version from 6.21.1 to 6.22 in class property and plugin header.
classes/models/FrmEntryValidate.php, classes/models/FrmHoneypot.php,
classes/models/fields/FrmFieldType.php, js/formidable_admin.js,
square/controllers/FrmSquareLiteAppController.php,
square/controllers/FrmSquareLiteSettingsController.php,
stripe/controllers/FrmStrpLiteActionsController.php,
stripe/controllers/FrmTransLiteAppController.php,
stripe/helpers/FrmTransLiteAppHelper.php Updated PHPDoc @since tags from placeholders to "6.22".
square/controllers/FrmSquareLiteActionsController.php,
square/controllers/FrmSquareLiteEventsController.php,
square/helpers/FrmSquareLiteConnectHelper.php,
stripe/controllers/FrmTransLiteActionsController.php,
stripe/helpers/FrmStrpLiteAppHelper.php Updated PHPDoc @since or deprecation annotations and related version references to "6.22".
languages/formidable.pot Updated POT version, line numbers, and added Square payment-related translation strings.

Sequence Diagram(s)

Not generated due to the absence of control flow or feature logic changes.

Possibly related PRs

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
square/controllers/FrmSquareLiteSettingsController.php (2)

35-40: Docblock still references “Stripe” instead of “Square”
This appears to be a leftover copy-paste and can confuse future maintainers.

- * Print the Stripe section for Global settings.
+ * Print the Square section for Global settings.

56-60: Another “Stripe” mention should be updated
For consistency with the rest of the file, update this description as well.

- * Handle processing changes to global Stripe Settings.
+ * Handle processing changes to global Square settings.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c715256 and 66adeb2.

⛔ Files ignored due to path filters (1)
  • js/formidable.min.js is excluded by !**/*.min.js, !**/*.min.js
📒 Files selected for processing (17)
  • classes/helpers/FrmAppHelper.php (1 hunks)
  • classes/models/FrmEntryValidate.php (1 hunks)
  • classes/models/FrmHoneypot.php (1 hunks)
  • classes/models/fields/FrmFieldType.php (1 hunks)
  • formidable.php (1 hunks)
  • js/formidable_admin.js (1 hunks)
  • languages/formidable.pot (35 hunks)
  • square/controllers/FrmSquareLiteActionsController.php (8 hunks)
  • square/controllers/FrmSquareLiteAppController.php (1 hunks)
  • square/controllers/FrmSquareLiteEventsController.php (5 hunks)
  • square/controllers/FrmSquareLiteSettingsController.php (1 hunks)
  • square/helpers/FrmSquareLiteConnectHelper.php (2 hunks)
  • stripe/controllers/FrmStrpLiteActionsController.php (1 hunks)
  • stripe/controllers/FrmTransLiteActionsController.php (1 hunks)
  • stripe/controllers/FrmTransLiteAppController.php (1 hunks)
  • stripe/helpers/FrmStrpLiteAppHelper.php (1 hunks)
  • stripe/helpers/FrmTransLiteAppHelper.php (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (7)
  • GitHub Check: Run PHP Syntax inspection (8.3)
  • GitHub Check: PHP 7.4 tests in WP trunk
  • GitHub Check: PHP 8 tests in WP trunk
  • GitHub Check: Cypress
  • GitHub Check: PHP 7.4 tests in WP trunk
  • GitHub Check: PHP 8 tests in WP trunk
  • GitHub Check: Cypress
🔇 Additional comments (18)
formidable.php (1)

5-5: Version bump to 6.22
The plugin header version has been updated to 6.22, aligning with the coordinated release.

classes/models/fields/FrmFieldType.php (1)

1177-1177: Update PHPDoc @SInCE tag
The @since annotation has been set to 6.22 for include_hidden_values_for_single_opt, keeping documentation consistent.

stripe/controllers/FrmStrpLiteActionsController.php (1)

14-14: Set @SInCE to 6.22
The PHPDoc for maybe_show_card now correctly reflects the release version.

stripe/helpers/FrmTransLiteAppHelper.php (1)

539-539: Document show_currency_dropdown since 6.22
The @since annotation for show_currency_dropdown has been updated to 6.22 as part of the release.

classes/models/FrmEntryValidate.php (1)

293-293: Annotate is_filtered_match @SInCE 6.22
The PHPDoc for is_filtered_match has been updated to reflect the 6.22 release.

classes/models/FrmHoneypot.php (1)

11-11: Update PHPDoc @since to match release
The @since 6.22 annotation for the private static property $printed_honeypot_selectors correctly reflects the new version. No behavioral changes introduced.

stripe/controllers/FrmTransLiteAppController.php (1)

180-180: Update PHPDoc @since to match release
The @since 6.22 tag for add_repeat_cadence_value aligns with the version bump. No functional code was modified.

js/formidable_admin.js (1)

4770-4770: Version annotation updated correctly

@since now reflects 6.22, matching the release bump. No further action required.

square/controllers/FrmSquareLiteSettingsController.php (1)

11-11: Version tag looks good
@since 6.22 correctly reflects the upcoming release version.

square/controllers/FrmSquareLiteAppController.php (1)

171-171: Version tag updated correctly
@since 6.22 aligns with the release version—no further action needed.

classes/helpers/FrmAppHelper.php (1)

32-32: Version bump is consistent with the plugin header update.

The static $plug_version has been updated to '6.22' in line with the overall plugin version change. No further adjustments appear necessary here.

stripe/helpers/FrmStrpLiteAppHelper.php (1)

146-152: Deprecation notice version synchronized

Replacing the placeholder with 6.22 correctly reflects the upcoming release tag. Implementation remains unchanged and accurate.

stripe/controllers/FrmTransLiteActionsController.php (1)

525-531: PHPDoc @since tag aligned with release

The update to @since 6.22 matches the project versioning scheme; no issues detected.

square/controllers/FrmSquareLiteActionsController.php (1)

485-487: Updated _doing_it_wrong version parameter

Version argument now reads 6.22, keeping the developer warning in sync with docs. Logic unaffected.

square/controllers/FrmSquareLiteEventsController.php (1)

19-23: Doc-blocks version bump only

All affected @since annotations were bumped to 6.22; runtime behaviour untouched.

Also applies to: 59-65, 85-91, 112-118, 139-145

square/helpers/FrmSquareLiteConnectHelper.php (1)

11-15: Consistent versioning in helper

@since tags now reference 6.22, ensuring uniform documentation across helpers.

Also applies to: 674-680

languages/formidable.pot (2)

5-12: Header version and timestamp updated for 6.22
The Project-Id-Version and POT-Creation-Date have been correctly bumped to 6.22.


8730-8769: New Square payment interval strings added
All new translation entries from square/js/action.js (“Daily”, “Weekly”, “Every Two Weeks”, etc.) are present and properly formatted.

@Crabcyborg Crabcyborg merged commit 7830db5 into master Jun 12, 2025
34 checks passed
@Crabcyborg Crabcyborg deleted the prepare_for_6.22 branch June 12, 2025 12:30
@coderabbitai coderabbitai Bot mentioned this pull request Jul 8, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Aug 12, 2025
This was referenced Oct 8, 2025
@coderabbitai coderabbitai Bot mentioned this pull request Nov 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant