Skip to content

Commit

Permalink
Add Symfony 6 compatibility, removing unneeded compatibilities (#74)
Browse files Browse the repository at this point in the history
* Drop php<=8.0 support, add php>=8.1 support

* Drop symfony 4 support, add symfony 6 support

* Remove useless @return annotation
  • Loading branch information
janlam7 authored Jun 6, 2024
1 parent b0818b2 commit c3acafc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
php-versions: ['8.0', '8.1']
php-versions: ['8.1', '8.2', '8.3']
name: PHP ${{ matrix.php-versions }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"description": "Installer for all the Hostnet Doctrine entity libraries",
"license": "MIT",
"require": {
"php": "^8.0",
"php": "^8.1",
"composer-plugin-api": "^2.0.0",
"doctrine/annotations": "^1.13.2",
"phpdocumentor/type-resolver": "^1.4.0",
"symfony/filesystem": "^4.4||^5.0",
"symfony/filesystem": "^5.4||^6.0",
"twig/twig": "^3.0"
},
"require-dev": {
Expand Down
3 changes: 0 additions & 3 deletions src/ReflectionMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public function getName(): string
return $this->method->getName();
}

/**
* @return array
*/
public function getParameters(): array
{
return array_map(
Expand Down

0 comments on commit c3acafc

Please sign in to comment.