From 4ad701f1ef8f16aef36ffd59b15fc59442e7a84e Mon Sep 17 00:00:00 2001 From: Dragos Protung Date: Mon, 19 Jan 2026 18:00:01 +0100 Subject: [PATCH] Update EasyAdmin to 4.27.7 --- composer.json | 2 +- psalm.baseline.xml | 13 ++++++++++--- src/Controller/BaseCrudController.php | 3 +++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index cb6b8d3..cf13c15 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "php": "~8.3.0 || ~8.4.0 || ~8.5.0", "ext-dom": "*", "azjezz/psl": "^2.9.1 || ^3.0.0 || ^4.0.0", - "easycorp/easyadmin-bundle": "~4.27.5", + "easycorp/easyadmin-bundle": "~4.27.7", "symfony/asset": "^6.4 || ^7.4", "symfony/cache": "^6.4 || ^7.4", "symfony/config": "^6.4 || ^7.4", diff --git a/psalm.baseline.xml b/psalm.baseline.xml index 0433461..c340f37 100644 --- a/psalm.baseline.xml +++ b/psalm.baseline.xml @@ -4,19 +4,24 @@ + + + + + ]]> + - getEntity()]]> - getEntity()]]> - getEntity()]]> + + createDto()]]> container->get('doctrine')->getManagerForClass($context->getEntity()->getFqcn())]]> @@ -41,6 +46,8 @@ getRequest()->query->get('newValue')]]> + + diff --git a/src/Controller/BaseCrudController.php b/src/Controller/BaseCrudController.php index 20f8e26..3ebc279 100644 --- a/src/Controller/BaseCrudController.php +++ b/src/Controller/BaseCrudController.php @@ -115,6 +115,9 @@ protected function addConfirmationForAction( return $action; } + /** + * @return AdminContext + */ protected function currentAdminContext(): AdminContext { $currentAdminContext = $this->getContext();