-
-
Notifications
You must be signed in to change notification settings - Fork 3
Upgrade for Bolt 6 #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the project to be compatible with Bolt 6, including PHP 8.2+ requirements, updated dependencies, and modernized code quality tooling.
Key Changes:
- Upgraded minimum PHP version from 7.1.3 to 8.2 and Bolt core dependency from ^4.0.0 to ^6.0
- Replaced legacy
Tightenco\Collect\Support\CollectionwithIlluminate\Support\Collection - Modernized code with type hints, null coalescing operators, and improved error handling
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/NewsWidget.php | Updated imports, added type hints, modernized PHP syntax with null coalescing and unused exception variables |
| composer.json | Upgraded PHP requirement to 8.2+, Bolt to v6, added PHPStan and Rector dependencies |
| rector.php | Added new Rector configuration for automated code quality improvements |
| phpstan.dist.neon | Added PHPStan static analysis configuration at level 8 |
| ecs.php | Migrated Easy Coding Standard configuration from YAML to PHP format |
| easy-coding-standard.yml | Removed legacy YAML-based ECS configuration file |
| .github/workflows/code_analysis.yaml | Added GitHub Actions workflow for Rector, PHPStan, and coding standards checks |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
81b45a5 to
878c524
Compare
No description provided.