Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

58 update auf symfony 72 #60

Open
wants to merge 22 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/shyim/devcontainers-features/php:latest": {
"version": "8.2",
"version": "8.3",
"extensionsExtra": "xdebug mbstring"
},
"ghcr.io/devcontainers/features/node:1": {},
Expand Down
7 changes: 2 additions & 5 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=0ff2cdc681ec5c670bcfbbaccf80867b
APP_SECRET=
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
Expand All @@ -30,8 +30,5 @@ DATABASE_URL=mysql://db_user:[email protected]:3306/db_name
###< doctrine/doctrine-bundle ###

###> symfony/mailer ###
# For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost"
MAILER_DSN=null://localhost
MAILER_DSN=null://null
###< symfony/mailer ###
3 changes: 3 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
###> symfony/framework-bundle ###
APP_SECRET=d5d3026d6730ecb73330e51e0c95fe76
###< symfony/framework-bundle ###
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.2"
php-version: "8.3"
extensions: "intl, json, zip"

- name: Get composer cache directory
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.2"
php-version: "8.3"
extensions: "intl, json, zip"

- name: Get composer cache directory
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
uses: "shivammathur/setup-php@verbose"
with:
coverage: "pcov"
php-version: "8.2"
php-version: "8.3"
extensions: "intl, json, zip"

- name: "Install symfony-cli"
Expand Down Expand Up @@ -131,4 +131,4 @@ jobs:

- name: "Cleanup"
if: ${{ always() }}
run: docker-compose down
run: docker compose down
2 changes: 1 addition & 1 deletion README.MD → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To enable automated queries an [OAI](<https://github.com/OAI/OpenAPI-Specificati

## Prerequisites

* [PHP](<https://php.net/>) 8.2 or newer (See [here](<https://symfony.com/doc/6.4/reference/requirements.html>) for more information about the needed php extensions)
* [PHP](<https://php.net/>) 8.3 or newer (See [here](<https://symfony.com/doc/6.4/reference/requirements.html>) for more information about the needed php extensions)
* A database. The symfony framework is compatible with many database types. The project was tested with [PostgreSQL](<https://www.postgresql.org/>) server version 15
* [composer]((<https://getcomposer.org/>)) and [yarn](<https://yarnpkg.com/>)
* [Apache](<https://httpd.apache.org/>) or [NGINX](<https://www.nginx.com/>) webserver (See [here](<https://symfony.com/doc/6.4/setup/web_server_configuration.html>) for more information about the configuration).
Expand Down
3 changes: 0 additions & 3 deletions assets/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@

// any CSS you import will output into a single css file (app.css in this case)
import './styles/app.css';

// start the Stimulus application
import './bootstrap';
11 changes: 0 additions & 11 deletions assets/bootstrap.js

This file was deleted.

4 changes: 0 additions & 4 deletions assets/controllers.json

This file was deleted.

16 changes: 0 additions & 16 deletions assets/controllers/hello_controller.js

This file was deleted.

4 changes: 4 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;

if (!is_dir(dirname(__DIR__).'/vendor')) {
throw new LogicException('Dependencies are missing. Try running "composer install".');
}

if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
}
Expand Down
59 changes: 29 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,37 @@
"type": "project",
"license": "proprietary",
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-ctype": "*",
"ext-iconv": "*",
"ext-json": "*",
"doctrine/annotations": "^2",
"doctrine/doctrine-bundle": "^2.3",
"doctrine/doctrine-migrations-bundle": "^3.0",
"doctrine/orm": "^3.0",
"phpdocumentor/reflection-docblock": "^5.3",
"phpoffice/phpspreadsheet": "^1.6",
"phpoffice/phpspreadsheet": "^4.0",
"symfony/apache-pack": "^1.0",
"symfony/asset": "6.4.*",
"symfony/console": "6.4.*",
"symfony/dotenv": "6.4.*",
"symfony/expression-language": "6.4.*",
"symfony/flex": "^1.1",
"symfony/form": "6.4.*",
"symfony/framework-bundle": "6.4.*",
"symfony/mailer": "6.4.*",
"symfony/asset": "7.2.*",
"symfony/console": "7.2.*",
"symfony/dotenv": "7.2.*",
"symfony/expression-language": "7.2.*",
"symfony/flex": "^2.0",
"symfony/form": "7.2.*",
"symfony/framework-bundle": "7.2.*",
"symfony/mailer": "7.2.*",
"symfony/monolog-bundle": "^3.10",
"symfony/process": "6.4.*",
"symfony/property-access": "6.4.*",
"symfony/property-info": "6.4.*",
"symfony/runtime": "6.4.*",
"symfony/security-bundle": "6.4.*",
"symfony/serializer": "6.4.*",
"symfony/translation": "6.4.*",
"symfony/twig-bundle": "6.4.*",
"symfony/validator": "6.4.*",
"symfony/web-link": "6.4.*",
"symfony/webpack-encore-bundle": "^1.5",
"symfony/yaml": "6.4.*",
"symfony/process": "7.2.*",
"symfony/property-access": "7.2.*",
"symfony/property-info": "7.2.*",
"symfony/runtime": "7.2.*",
"symfony/security-bundle": "7.2.*",
"symfony/serializer": "7.2.*",
"symfony/translation": "7.2.*",
"symfony/twig-bundle": "7.2.*",
"symfony/validator": "7.2.*",
"symfony/web-link": "7.2.*",
"symfony/webpack-encore-bundle": "^2.0",
"symfony/yaml": "7.2.*",
"symsensor/actuator-bundle": "^1.1",
"symsensor/actuator-doctrine-bundle": "^1.1",
"symsensor/actuator-mailer-bundle": "^1.1",
Expand All @@ -53,13 +52,13 @@
"phpstan/phpstan-symfony": "^1.3",
"phpunit/phpunit": "^9.5",
"rector/rector": "^1.0",
"symfony/browser-kit": "6.4.*",
"symfony/css-selector": "6.4.*",
"symfony/debug-bundle": "6.4.*",
"symfony/browser-kit": "7.2.*",
"symfony/css-selector": "7.2.*",
"symfony/debug-bundle": "7.2.*",
"symfony/maker-bundle": "^1.43",
"symfony/phpunit-bridge": "^7.0",
"symfony/stopwatch": "6.4.*",
"symfony/web-profiler-bundle": "6.4.*"
"symfony/phpunit-bridge": "^7.2",
"symfony/stopwatch": "7.2.*",
"symfony/web-profiler-bundle": "7.2.*"
},
"config": {
"preferred-install": {
Expand Down Expand Up @@ -110,7 +109,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "6.4.*"
"require": "7.2.*"
}
},
"repositories": [
Expand Down
Loading