Skip to content

Commit

Permalink
[TASK] Symfony 6 Upgrade (#4)
Browse files Browse the repository at this point in the history
* [TASK] Symfony 6 Upgrade

* Drop PHP 7 support and update CI
  • Loading branch information
buchmarv authored Sep 9, 2024
1 parent ecb43c6 commit f854aeb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
max-parallel: 4
fail-fast: false
matrix:
php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1']
php-versions: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
'declare_strict_types' => true,
'no_leading_import_slash' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_unused_imports' => true,
'concat_space' => ['spacing' => 'one'],
Expand All @@ -55,7 +55,7 @@
'no_blank_lines_after_phpdoc' => true,
'array_syntax' => ['syntax' => 'short'],
'whitespace_after_comma_in_array' => true,
'function_typehint_space' => true,
'type_declaration_spaces' => true,
'single_line_comment_style' => true,
'no_alias_functions' => true,
'lowercase_cast' => true,
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"optimize-autoloader": true
},
"require": {
"php": "^7.2 || ^8.0",
"symfony/dependency-injection": "^4.2 || ^5.4 || ^6.1",
"symfony/twig-bundle": "^4.2 || ^5.4 || ^6.1"
"php": "^8.0",
"symfony/dependency-injection": "^5.4 || ^6.4",
"symfony/twig-bundle": "^5.4 || ^6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"overtrue/phplint": "^3.0 || ^4.0 || ^5.0",
"symfony/phpunit-bridge": "^4.4 || ^5.4 || ^6.1"
"symfony/phpunit-bridge": "^5.4 || ^6.4"
},
"scripts": {
"t3g:test:php:functional": [
Expand Down

0 comments on commit f854aeb

Please sign in to comment.