symfony / security-acl

Symfony Security ACL Component
https://symfony.com/components/Security
MIT License
363 stars 48 forks source link

PHP Fatal error: Declaration of Symfony\Component\Security\Acl\Voter\AclVoter #113

Closed igordeveloper closed 6 months ago

igordeveloper commented 6 months ago

Hi,

I'm getting the error message below when I build symfony using the last security-acl release with symfony 6.4

Screenshot from 2023-12-20 09-48-33

PHP Version : 8.2

Used packages:

"symfony/security-core": "6.4.0"
"symfony/security-acl": "3.3.3"

Thank you. igor

igordeveloper commented 6 months ago

For any reason i guess that when i tried compile symfony, the version 7 of symfony/security-core was installed, that has a return type 'int' in the interface. I have cleaned the compose cache and start again and works now. sorry disturb.