Skip to content

Replace Travis CI with GitHub Actions - #111

Merged
ruddell merged 1 commit into
masterfrom
migrate-to-github-actions
Apr 24, 2026
Merged

ruddell merged 1 commit into
masterfrom
migrate-to-github-actions

Conversation

@ruddell

@ruddell ruddell commented Apr 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add .github/workflows/tests.yml running PHP 8.2, 8.3, 8.4
  • Remove .travis.yml
  • Drop codecov and psalm --shepherd (avoids sending data to external services on PRs)
  • Widen lumen-framework constraint to ^5.7|^9.0|^10.0|^11.0 to support PHP 8
  • Fix test compatibility with updated graham-campbell packages and PHPUnit 10 (static methods, return types, expectException)
  • Fix Psalm errors for updated package versions (@psalm-api, #[\Override], strict comparisons, $app->make())

Note: The library still supports PHP 7 — #[\Override] is treated as a comment in PHP 7 and is not validated at runtime in PHP 8.0–8.2.

🤖 Generated with Claude Code


Note

Medium Risk
Moderate risk: updates CI/runtime wiring and dev dependency constraints, which could affect package compatibility and service container resolution across Laravel/Lumen versions.

Overview
Replaces Travis CI with a GitHub Actions workflow (.github/workflows/tests.yml) running PHPUnit and Psalm on PHP 8.2–8.4, and removes the legacy .travis.yml (including codecov and Psalm Shepherd reporting).

Updates dev dependency support by widening the laravel/lumen-framework constraint, and modernizes code/tests for newer analyzer/testbench/PHPUnit/Psalm expectations (adds #[\Override]/@psalm-api, tweaks strict comparisons and container access via $app->make(), and updates tests to static signatures and expectException).

Reviewed by Cursor Bugbot for commit a669d94. Bugbot is set up for automated code reviews on this repo. Configure here.

@ruddell
ruddell force-pushed the migrate-to-github-actions branch from 0fff8c9 to 1ef2612 Compare April 14, 2026 17:29
Comment thread .github/workflows/tests.yml
cursor[bot]

This comment was marked as resolved.

- Add .github/workflows/tests.yml running PHP 8.2, 8.3, 8.4
- Remove .travis.yml
- Drop codecov and psalm --shepherd
- Widen lumen-framework constraint to support PHP 8
- Fix test compatibility with updated graham-campbell packages and PHPUnit 10
- Fix Psalm errors for updated package versions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ruddell
ruddell force-pushed the migrate-to-github-actions branch from 1ef2612 to a669d94 Compare April 14, 2026 18:04
@ruddell
ruddell merged commit e86cece into master Apr 24, 2026
5 checks passed
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.

2 participants