Skip to content

feat: support for actively maintained php, laravel, k8s versions - #1

Open
zoispag wants to merge 6 commits into
masterfrom
fork
Open

zoispag wants to merge 6 commits into
masterfrom
fork

Conversation

@zoispag

@zoispag zoispag commented Nov 12, 2025 •

Copy link
Copy Markdown
Member

This pull request updates the project to support newer versions of PHP, Laravel, and Kubernetes, while also modernizing dependencies and CI tooling. The changes improve compatibility, streamline the test and build process, and remove outdated configuration files.

Dependency and compatibility updates:

  • Updated composer.json to require PHP versions 8.2, 8.3, 8.4, and 8.5, and bumped Laravel, Symfony, and other package requirements to their latest major versions for broader compatibility.
  • Improved require-dev in composer.json, updating mockery, orchestra/testbench, and phpunit versions, and set "prefer-stable": true for more reliable dependency resolution.

CI/CD workflow improvements:

  • Modernized .github/workflows/ci.yml by updating matrix versions for PHP (8.2–8.4), Kubernetes (1.32–1.34), and Laravel (11–12), and switched to newer GitHub Actions versions for checkout, cache, and codecov. Also updated Minikube version and improved environment variable usage and permissions in test setup. [1] [2] [3] [4] [5]

Testing configuration updates:

  • Refactored phpunit.xml to use the latest schema, improved coverage and warning handling, and updated source directory configuration for stricter test reporting.
  • Updated tests/KubeConfigTest.php to use PHPUnit 10+ attribute-based data providers and static providers for better compatibility. [1] [2] [3]

Code quality tooling:

  • Removed the psalm.xml file, indicating the project no longer uses Psalm for static analysis.

@zoispag zoispag changed the title Update CI configuration and dependencies for improved compatibility Support for actively maintained PHP, Laravel, K8s versions Nov 12, 2025
@zoispag zoispag changed the title Support for actively maintained PHP, Laravel, K8s versions feat: support for actively maintained php, laravel, k8s versions Nov 12, 2025
- Drop PHP < 8.4
- Drop Laravel < 12
- Drop K8s < 1.33.x
- Add new test for ChecksClusterVersion
- Replace mysql:5.7 with mariadb:11.8 for better compatibility
- Refactor test container configurations to avoid duplication
- Replace deprecated `vierbergenlars/php-semver` with `composer/semver`
Implicitly marking parameter $var as nullable is deprecated, the explicit nullable type must be used instead
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