Skip to content

fix: harden 0.7.0 release (lint config, test fixes, dep refresh)#95

Merged
markshust merged 1 commit into
developfrom
feature/0.7.0-hardening
May 27, 2026
Merged

fix: harden 0.7.0 release (lint config, test fixes, dep refresh)#95
markshust merged 1 commit into
developfrom
feature/0.7.0-hardening

Conversation

@markshust
Copy link
Copy Markdown
Collaborator

Summary

Pre-flight hardening for the 0.7.0 release. Three test failures and a broken lint config were uncovered while auditing changes since 0.6.1. All fixes are mechanical and non-behavioral.

Fixes

  • phpcs.xml — removed stale demo/app and demo/modules file entries (those directories no longer exist; lint was erroring out before scanning anything).
  • tests/SplitWorkflowTest.php — updated SPLIT_TOKENMARKO_BUILD_PAT to match fix: point split workflow at MARKO_BUILD_PAT secret #84.
  • packages/database-mysql/tests/Connection/ — hoisted createTestDatabaseConfig() and connectAndCapturePdoOptions() into a dedicated Helpers.php autoloaded via composer.json autoload-dev.files. Previously defined inline in MySqlConnectionTest.php, so they vanished whenever pest ran the factory test in isolation.
  • composer.json — refreshed lock to sync admin-panel-latte/twig path repos and pick up develop-tracking marko/* updates. No external library version bumps (only predis 3.x is available and would need its own evaluation).
  • CHANGELOG.md — removed stale [Unreleased] block (page-cache entry had already shipped in 0.6.0); release.sh regenerates from gh PR data at tag time.
  • phpcbf auto-fix — once lint was unblocked, ~360 pre-existing violations across 114 files surfaced (trailing commas, multiline method signatures, blank lines). All purely cosmetic, all tests still pass.

Verification

  • composer test — 5616 passed, 0 failed (3 consecutive runs)
  • vendor/bin/phpcs — clean

Test plan

  • composer test green
  • vendor/bin/phpcs green
  • Manual review of phpcbf-touched src files (Application.php, EntityHydrator.php, MySqlQueryBuilder.php) — only whitespace/formatting

🤖 Generated with Claude Code

Pre-flight hardening for the 0.7.0 release. Three test failures and a
broken lint config were uncovered while auditing changes since 0.6.1.

- phpcs.xml: drop stale demo/app and demo/modules file entries
- tests/SplitWorkflowTest: rename SPLIT_TOKEN -> MARKO_BUILD_PAT (#84)
- database-mysql: hoist test helpers into Connection/Helpers.php loaded
  via autoload-dev.files, so factory test doesn't depend on which
  sibling file pest happens to load first
- CHANGELOG: drop stale [Unreleased] block (release.sh regenerates)
- composer: refresh lock to pick up new admin-panel-latte/twig path repos
- phpcbf: auto-fix ~360 pre-existing violations across 114 files
  (trailing commas, multiline signatures, blank lines — cosmetic only)

All 5616 tests pass; phpcs clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added the bug Something isn't working label May 27, 2026
@markshust markshust merged commit ff0e239 into develop May 27, 2026
1 check passed
@markshust markshust deleted the feature/0.7.0-hardening branch May 27, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant