Skip to content

dev: update PHPStan and set to level 6 - #2659

Merged
Soare-Robert-Daniel merged 1 commit into
developmentfrom
dev/update-phpstan
Aug 29, 2025
Merged

dev: update PHPStan and set to level 6#2659
Soare-Robert-Daniel merged 1 commit into
developmentfrom
dev/update-phpstan

Conversation

@Soare-Robert-Daniel

Copy link
Copy Markdown
Contributor

Summary

  • Remove Stripe stubs and use the added files for scanning from the stripe composer package.
  • Add PHPStan baseline for new issue from PHPStan 2 and level 6

Screenshots


Test instructions


Checklist before the final review

  • Included E2E or unit tests for the changes in this PR.
  • Visual elements are not affected by independent changes.
  • It is at least compatible with the minimum WordPress version.
  • It loads additional script in frontend only if it is required.
  • Does not impact the Core Web Vitals.
  • In case of deprecation, old blocks are safely migrated.
  • It is usable in Widgets and FSE.
  • Copy/Paste is working if the attributes are modified.
  • PR is following the best practices

@Soare-Robert-Daniel Soare-Robert-Daniel added the pr-checklist-skip Allow this Pull Request to skip checklist. label Aug 28, 2025
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label Aug 28, 2025
@pirate-bot

Copy link
Copy Markdown
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 271.38 KB 271.38 KB 0 B (0.00%)
Blocks 1.54 MB 1.54 MB 0 B (0.00%)
CSS 100.76 KB 100.76 KB 0 B (0.00%)
Dashboard 198.36 KB 198.36 KB 0 B (0.00%)
Onboarding 160.8 KB 160.8 KB 0 B (0.00%)
Export Import 97.73 KB 97.73 KB 0 B (0.00%)
Pro 407.08 KB 407.08 KB 0 B (0.00%)

@pirate-bot

pirate-bot commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

Plugin build for 2f7f770 is ready 🛎️!

Remove Stripe stubs and use the added files for scanning from the `stripe` composer package.
@pirate-bot

pirate-bot commented Aug 28, 2025

Copy link
Copy Markdown
Contributor

E2E Tests

Playwright Test Status:

Performance Results serverResponse: {"q25":406.4,"q50":425.85,"q75":448.2,"cnt":10}, firstPaint: {"q25":424.6,"q50":441.75,"q75":458.1,"cnt":10}, domContentLoaded: {"q25":1452.2,"q50":1464,"q75":1476,"cnt":10}, loaded: {"q25":1452.5,"q50":1464.35,"q75":1476.2,"cnt":10}, firstContentfulPaint: {"q25":3178.1,"q50":3196.15,"q75":3227.8,"cnt":10}, firstBlock: {"q25":6857.2,"q50":6894.9,"q75":6981.9,"cnt":10}, type: {"q25":12.36,"q50":13.26,"q75":13.98,"cnt":10}, typeWithoutInspector: {"q25":10.95,"q50":11.23,"q75":11.4,"cnt":10}, typeWithTopToolbar: {"q25":16.68,"q50":17.32,"q75":19.06,"cnt":10}, typeContainer: {"q25":6.98,"q50":7.26,"q75":7.98,"cnt":10}, focus: {"q25":44.68,"q50":46.41,"q75":47.93,"cnt":10}, inserterOpen: {"q25":15.82,"q50":16.52,"q75":17.16,"cnt":10}, inserterSearch: {"q25":5.53,"q50":5.68,"q75":6.03,"cnt":10}, inserterHover: {"q25":2.36,"q50":2.45,"q75":2.68,"cnt":20}, loadPatterns: {"q25":1095.15,"q50":1121.06,"q75":1145.93,"cnt":10}, listViewOpen: {"q25":81.64,"q50":88.61,"q75":95.34,"cnt":10}

@Soare-Robert-Daniel
Soare-Robert-Daniel merged commit 3a69293 into development Aug 29, 2025
11 checks passed
@Soare-Robert-Daniel
Soare-Robert-Daniel deleted the dev/update-phpstan branch August 29, 2025 10:26
@pirate-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.1.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants