This commit is contained in:
2026-01-15 21:03:17 +01:00
parent acbd917c3f
commit 9e1ce29803
3 changed files with 43 additions and 44 deletions

View File

@@ -37,17 +37,16 @@ services:
app.minio_client: app.minio_client:
class: Aws\S3\S3Client class: Aws\S3\S3Client
arguments: arguments:
- - version: "latest"
version: 'latest' region: "%env(MINIO_REGION)%"
region: '%env(MINIO_REGION)%' endpoint: "%env(MINIO_ENDPOINT)%"
endpoint: '%env(MINIO_ENDPOINT)%'
use_path_style_endpoint: true use_path_style_endpoint: true
credentials: credentials:
key: '%env(MINIO_KEY)%' key: "%env(MINIO_KEY)%"
secret: '%env(MINIO_SECRET)%' secret: "%env(MINIO_SECRET)%"
App\Form\Type\CKEditor5Type: App\Form\CKEditor5Type:
arguments: arguments:
$stimulusHelper: '@stimulus.helper' $stimulusHelper: "@stimulus.helper"
tags: [ 'form.type' ] tags: ["form.type"]
# add more service definitions when explicit configuration is needed # add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones # please note that last definitions always *replace* previous ones

View File

@@ -2,7 +2,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace App\Form\Type; namespace App\Form;
use Symfony\Component\DependencyInjection\Attribute\Autowire; use Symfony\Component\DependencyInjection\Attribute\Autowire;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;

View File

@@ -3,7 +3,7 @@
namespace App\Form; namespace App\Form;
use App\Entity\News; use App\Entity\News;
use App\Form\Type\CKEditor5Type; use App\Form\CKEditor5Type;
use Dom\Text; use Dom\Text;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;