Skip to content

Comments

upgrade to symfony 7 and php8.5#3

Merged
4rthem merged 1 commit intomainfrom
php85
Jan 21, 2026
Merged

upgrade to symfony 7 and php8.5#3
4rthem merged 1 commit intomainfrom
php85

Conversation

@4rthem
Copy link
Member

@4rthem 4rthem commented Jan 21, 2026

No description provided.

@4rthem 4rthem requested a review from Copilot January 21, 2026 14:01
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 use Symfony 7 and PHP 8.5, modernizing the codebase through migration to PHP 8 attributes and updated method signatures.

Changes:

  • Updated minimum PHP version requirement to 8.5 and Symfony dependencies to 7.4
  • Migrated Doctrine ORM annotations to PHP 8 attributes in entity classes
  • Replaced PHPUnit @dataProvider annotations with #[DataProvider] attributes
  • Updated voter method signatures to include the new optional Vote parameter introduced in Symfony 7

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
composer.json Updated PHP version to 8.5 and Symfony/Doctrine dependencies to version 7.4/3.6+
.github/workflows/ci.yaml Updated CI matrix to test only PHP 8.5
tests/PermissionTest.php Migrated @dataProvider annotations to #[DataProvider] attributes
src/Security/Voter/SetPermissionVoter.php Added optional Vote parameter to voteOnAttribute method signature
src/Security/Voter/AclVoter.php Added optional Vote parameter and imported Vote class
src/Entity/AccessControlEntry.php Converted all Doctrine ORM annotations to PHP 8 attributes
src/Controller/PermissionController.php Formatted constructor with trailing comma and modernized syntax
src/Admin/PermissionView.php Modernized closure to use first-class callable syntax
rector.php Added attributes set configuration for automated migration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@4rthem 4rthem merged commit 3e1d89b into main Jan 21, 2026
1 check passed
@4rthem 4rthem deleted the php85 branch January 21, 2026 14: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.

1 participant