From 0d9caea067892efbb8ed16ba83fb9cb03a9d1e74 Mon Sep 17 00:00:00 2001 From: afornerot Date: Sat, 15 Jun 2024 11:04:50 +0200 Subject: [PATCH] fix dump --- src/Repository/ScrumRepository.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Repository/ScrumRepository.php b/src/Repository/ScrumRepository.php index d2705d4..44cefaf 100644 --- a/src/Repository/ScrumRepository.php +++ b/src/Repository/ScrumRepository.php @@ -236,7 +236,6 @@ class ScrumRepository extends ServiceEntityRepository } if($fgissueupdated) { - dump(json_decode(json_encode($giteaissue), true)["updated_at"]); $updateissue=new \DateTime(json_decode(json_encode($giteaissue), true)["updated_at"]); $updateissue->setTimezone(new \DateTimeZone("UTC")); array_push($updatedates,$updateissue); @@ -258,7 +257,6 @@ class ScrumRepository extends ServiceEntityRepository $this->showtime(false,"Traiter les issues"); if($fgscrumupdate) { - dump($updatedates); // Convertir les objets DateTime en timestamps $timestamps = array_map(function($date) { return $date->getTimestamp(); @@ -271,8 +269,6 @@ class ScrumRepository extends ServiceEntityRepository $mostRecentDate = (new \DateTime())->setTimestamp($mostRecentTimestamp); // Mettre à jour la date update du scrum - dump($mostRecentDate); - dump("pouet"); $scrum->setUpdatedate($mostRecentDate); $this->_em->flush();