Skip to content

Commit

Permalink
Merge pull request #9 from terminal42/symfony-7
Browse files Browse the repository at this point in the history
Allow Symfony 7
  • Loading branch information
Toflar authored Jun 12, 2024
2 parents f05105b + 5b3d6aa commit ced91e7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
"require": {
"php": "^7.1 || ^8.0",
"doctrine/annotations": "^1.6 || ^2.0",
"symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0",
"symfony/http-kernel": "^4.0 || ^5.0 || ^6.0"
"symfony/dependency-injection": "^4.0 || ^5.0 || ^6.0 || ^7.0",
"symfony/http-kernel": "^4.0 || ^5.0 || ^6.0 || ^7.0"
},
"require-dev": {
"contao/easy-coding-standard": "^3.0"
"terminal42/contao-build-tools": "@dev"
},
"autoload": {
"psr-4": {
"Terminal42\\ServiceAnnotationBundle\\": "src/"
}
},
"scripts": {
"cs-fixer": [
"vendor/bin/ecs check src/ --fix --ansi"
]
"config": {
"allow-plugins": {
"terminal42/contao-build-tools": true
}
}
}
3 changes: 0 additions & 3 deletions ecs.php

This file was deleted.

2 changes: 2 additions & 0 deletions src/Annotation/ServiceTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

/**
* @Annotation
*
* @Target({"CLASS", "METHOD"})
*
* @Attributes({
* @Attribute("value", required = true, type = "string"),
* })
Expand Down
3 changes: 0 additions & 3 deletions src/DependencyInjection/Compiler/ServiceAnnotationPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ class ServiceAnnotationPass implements CompilerPassInterface
*/
private $annotationReader;

/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container): void
{
if (!$container->has('annotation_reader')) {
Expand Down

0 comments on commit ced91e7

Please sign in to comment.