chore: fix deprecations in preparation uf upgrading to symfony 7.3
This commit is contained in:
@@ -3,9 +3,8 @@
|
|||||||
"allow": [
|
"allow": [
|
||||||
"Bash(php -l:*)",
|
"Bash(php -l:*)",
|
||||||
"Bash(./vendor/bin/phpunit --testdox)",
|
"Bash(./vendor/bin/phpunit --testdox)",
|
||||||
"Bash(./vendor/bin/php-cs-fixer fix:*)",
|
|
||||||
"Bash(./vendor/bin/php-cs-fixer fix:*)"
|
"Bash(./vendor/bin/php-cs-fixer fix:*)"
|
||||||
],
|
],
|
||||||
"deny": []
|
"deny": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,10 +11,11 @@ doctrine:
|
|||||||
orm:
|
orm:
|
||||||
auto_generate_proxy_classes: true
|
auto_generate_proxy_classes: true
|
||||||
enable_lazy_ghost_objects: true
|
enable_lazy_ghost_objects: true
|
||||||
report_fields_where_declared: true
|
|
||||||
validate_xml_mapping: true
|
validate_xml_mapping: true
|
||||||
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
|
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
|
||||||
auto_mapping: true
|
auto_mapping: true
|
||||||
|
controller_resolver:
|
||||||
|
auto_mapping: false
|
||||||
mappings:
|
mappings:
|
||||||
App:
|
App:
|
||||||
type: attribute
|
type: attribute
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ class SecurityController extends AbstractController
|
|||||||
// authentication (see App\EventListener\AuthorizationCodeListener).
|
// authentication (see App\EventListener\AuthorizationCodeListener).
|
||||||
$session = $request->getSession();
|
$session = $request->getSession();
|
||||||
$targetPath = $session->get('_security.main.target_path');
|
$targetPath = $session->get('_security.main.target_path');
|
||||||
if (str_contains($targetPath, '/authorize')) {
|
if (null !== $targetPath && str_contains($targetPath, '/authorize')) {
|
||||||
$session->set('_oauth2', true);
|
$session->set('_oauth2', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ class ParticipantDto
|
|||||||
public ?int $personId = null;
|
public ?int $personId = null;
|
||||||
public ?string $status = null;
|
public ?string $status = null;
|
||||||
public bool $mutable = false;
|
public bool $mutable = false;
|
||||||
|
public bool $touched = false;
|
||||||
|
|
||||||
#[Assert\NotBlank(message: 'Bitte angeben', groups: ['booking_edit', 'booking_create'])]
|
#[Assert\NotBlank(message: 'Bitte angeben', groups: ['booking_edit', 'booking_create'])]
|
||||||
public ?string $firstName = null;
|
public ?string $firstName = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user