Skip to content

Commit c3acafc

Browse files
authored
Add Symfony 6 compatibility, removing unneeded compatibilities (#74)
* Drop php<=8.0 support, add php>=8.1 support * Drop symfony 4 support, add symfony 6 support * Remove useless @return annotation
1 parent b0818b2 commit c3acafc

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php-versions: ['8.0', '8.1']
14+
php-versions: ['8.1', '8.2', '8.3']
1515
name: PHP ${{ matrix.php-versions }}
1616
steps:
1717
- uses: actions/checkout@v2

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"description": "Installer for all the Hostnet Doctrine entity libraries",
55
"license": "MIT",
66
"require": {
7-
"php": "^8.0",
7+
"php": "^8.1",
88
"composer-plugin-api": "^2.0.0",
99
"doctrine/annotations": "^1.13.2",
1010
"phpdocumentor/type-resolver": "^1.4.0",
11-
"symfony/filesystem": "^4.4||^5.0",
11+
"symfony/filesystem": "^5.4||^6.0",
1212
"twig/twig": "^3.0"
1313
},
1414
"require-dev": {

src/ReflectionMethod.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ public function getName(): string
3737
return $this->method->getName();
3838
}
3939

40-
/**
41-
* @return array
42-
*/
4340
public function getParameters(): array
4441
{
4542
return array_map(

0 commit comments

Comments
 (0)