Skip to content

Conversation

@bobvandevijver
Copy link
Member

No description provided.

Copy link

Copilot AI left a 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\Collection with Illuminate\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.

@tobias-93 tobias-93 merged commit 7c3eb7b into main Nov 13, 2025
10 checks passed
@tobias-93 tobias-93 deleted the bolt6 branch November 13, 2025 20:02
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.

3 participants