Skip to content

Commit

Permalink
[php] Symfony update to v7 (TechEmpower#8741)
Browse files Browse the repository at this point in the history
* [php] Symfony update to v7

* Update cli-php.ini

* Add attributes.yaml
  • Loading branch information
joanhey authored Feb 21, 2024
1 parent 6fef5f2 commit 7fe1360
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
16 changes: 8 additions & 8 deletions frameworks/PHP/symfony/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
"type": "project",
"license": "proprietary",
"require": {
"php": ">=8.1",
"php": ">=8.2",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-mbstring": "*",
"symfony/console": "^6",
"symfony/dotenv": "^6",
"symfony/console": "^7",
"symfony/dotenv": "^7",
"symfony/flex": "^2",
"symfony/framework-bundle": "^6",
"symfony/framework-bundle": "^7",
"symfony/orm-pack": "^2",
"symfony/twig-bundle": "^6",
"symfony/yaml": "^6.0",
"joanhey/adapterman": "^0.5"
"symfony/twig-bundle": "^7",
"symfony/yaml": "^7",
"joanhey/adapterman": "^0.6"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down Expand Up @@ -65,7 +65,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^6",
"require": "^7",
"docker": true
}
}
Expand Down
7 changes: 0 additions & 7 deletions frameworks/PHP/symfony/config/routes/annotations.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions frameworks/PHP/symfony/config/routes/attributes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
controllers:
resource:
path: ../../src/Controller/
namespace: App\Controller
type: attribute

kernel:
resource: App\Kernel
type: attribute
2 changes: 1 addition & 1 deletion frameworks/PHP/symfony/deploy/conf/cli-php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ memory_limit = 512M
opcache.jit_buffer_size = 128M
opcache.jit = tracing

disable_functions=header,header_remove,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,set_time_limit
disable_functions=header,header_remove,headers_sent,http_response_code,setcookie,session_create_id,session_id,session_name,session_save_path,session_status,session_start,session_write_close,session_regenerate_id,set_time_limit

0 comments on commit 7fe1360

Please sign in to comment.