Skip to content

Commit

Permalink
test: Allow testing on php 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Nov 22, 2024
1 parent f5e49ed commit a2399b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.2', '8.3']
php-version: ['8.2', '8.3', '8.4']
steps:
- uses: shivammathur/setup-php@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
use RZ\Roadiz\UserBundle\Manager\UserValidationTokenManagerInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

final class UserSignedUpSubscriber implements EventSubscriberInterface
final readonly class UserSignedUpSubscriber implements EventSubscriberInterface
{
public function __construct(
private readonly UserValidationTokenManagerInterface $userValidationTokenManager,
private UserValidationTokenManagerInterface $userValidationTokenManager,
) {
}

Expand Down
4 changes: 2 additions & 2 deletions lib/RoadizUserBundle/src/Manager/UserMetadataManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
use RZ\Roadiz\CoreBundle\Entity\User;
use RZ\Roadiz\UserBundle\Entity\UserMetadata;

class UserMetadataManager implements UserMetadataManagerInterface
readonly class UserMetadataManager implements UserMetadataManagerInterface
{
public function __construct(private readonly ManagerRegistry $managerRegistry)
public function __construct(private ManagerRegistry $managerRegistry)
{
}

Expand Down

0 comments on commit a2399b2

Please sign in to comment.