Skip to content

Strengthen CI workflows and add dehydration tests#142

Merged
1 commit merged into
mainfrom
feature/ci-and-dehydration-tests
Jun 13, 2026
Merged

Strengthen CI workflows and add dehydration tests#142
1 commit merged into
mainfrom
feature/ci-and-dehydration-tests

Conversation

@coolsam726

Copy link
Copy Markdown
Owner

Summary

  • Fix Pint style violations in config/flatpickr.php and Flatpickr.php
  • Add FlatpickrDehydrationTest covering single, range, and multiple date dehydration (including dynamic range splitting)
  • Harden CI workflows:
    • Run code-style fixes on pull requests only (avoids detached-HEAD failures on tag pushes)
    • Run PHPStan on pull requests as well as main pushes
    • Gate the test matrix with pint --test
    • Open changelog update PRs on release instead of pushing directly to protected main

Test plan

  • vendor/bin/pint --test
  • vendor/bin/phpstan analyse
  • vendor/bin/pest --ci
  • CI matrix passes on this PR

Made with Cursor

Fix Pint violations, add coverage for range/multiple date dehydration, and harden workflows so styling runs on PRs, PHPStan runs on PRs, Pint gates the test matrix, and changelog updates open PRs instead of pushing to protected main.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coolsam726 coolsam726 closed this pull request by merging all changes into main in e8c5ee2 Jun 13, 2026
@coolsam726
coolsam726 deleted the feature/ci-and-dehydration-tests branch June 13, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant