diff --git a/composer.lock b/composer.lock index 255ec6a07ae4d35baa19e9061ccecdca1faa866e..e4d69c66b485b06132efcb8fe7cf537fd22e17c4 100755 --- a/composer.lock +++ b/composer.lock @@ -3549,34 +3549,34 @@ }, { "name": "lcobucci/clock", - "version": "3.3.1", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/lcobucci/clock.git", - "reference": "db3713a61addfffd615b79bf0bc22f0ccc61b86b" + "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/clock/zipball/db3713a61addfffd615b79bf0bc22f0ccc61b86b", - "reference": "db3713a61addfffd615b79bf0bc22f0ccc61b86b", + "url": "https://api.github.com/repos/lcobucci/clock/zipball/039ef98c6b57b101d10bd11d8fdfda12cbd996dc", + "reference": "039ef98c6b57b101d10bd11d8fdfda12cbd996dc", "shasum": "" }, "require": { - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "php": "~8.1.0 || ~8.2.0", "psr/clock": "^1.0" }, "provide": { "psr/clock-implementation": "1.0" }, "require-dev": { - "infection/infection": "^0.29", - "lcobucci/coding-standard": "^11.1.0", - "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.10.25", - "phpstan/phpstan-deprecation-rules": "^1.1.3", - "phpstan/phpstan-phpunit": "^1.3.13", - "phpstan/phpstan-strict-rules": "^1.5.1", - "phpunit/phpunit": "^11.3.6" + "infection/infection": "^0.26", + "lcobucci/coding-standard": "^9.0", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-deprecation-rules": "^1.1.1", + "phpstan/phpstan-phpunit": "^1.3.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.27" }, "type": "library", "autoload": { @@ -3597,7 +3597,7 @@ "description": "Yet another clock abstraction", "support": { "issues": "https://github.com/lcobucci/clock/issues", - "source": "https://github.com/lcobucci/clock/tree/3.3.1" + "source": "https://github.com/lcobucci/clock/tree/3.0.0" }, "funding": [ { @@ -3609,42 +3609,42 @@ "type": "patreon" } ], - "time": "2024-09-24T20:45:14+00:00" + "time": "2022-12-19T15:00:24+00:00" }, { "name": "lcobucci/jwt", - "version": "5.5.0", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/lcobucci/jwt.git", - "reference": "a835af59b030d3f2967725697cf88300f579088e" + "reference": "08071d8d2c7f4b00222cc4b1fb6aa46990a80f83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lcobucci/jwt/zipball/a835af59b030d3f2967725697cf88300f579088e", - "reference": "a835af59b030d3f2967725697cf88300f579088e", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/08071d8d2c7f4b00222cc4b1fb6aa46990a80f83", + "reference": "08071d8d2c7f4b00222cc4b1fb6aa46990a80f83", "shasum": "" }, "require": { "ext-openssl": "*", "ext-sodium": "*", - "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", "psr/clock": "^1.0" }, "require-dev": { - "infection/infection": "^0.29", - "lcobucci/clock": "^3.2", + "infection/infection": "^0.27.0", + "lcobucci/clock": "^3.0", "lcobucci/coding-standard": "^11.0", - "phpbench/phpbench": "^1.2", + "phpbench/phpbench": "^1.2.9", "phpstan/extension-installer": "^1.2", "phpstan/phpstan": "^1.10.7", "phpstan/phpstan-deprecation-rules": "^1.1.3", "phpstan/phpstan-phpunit": "^1.3.10", "phpstan/phpstan-strict-rules": "^1.5.0", - "phpunit/phpunit": "^11.1" + "phpunit/phpunit": "^10.2.6" }, "suggest": { - "lcobucci/clock": ">= 3.2" + "lcobucci/clock": ">= 3.0" }, "type": "library", "autoload": { @@ -3670,7 +3670,7 @@ ], "support": { "issues": "https://github.com/lcobucci/jwt/issues", - "source": "https://github.com/lcobucci/jwt/tree/5.5.0" + "source": "https://github.com/lcobucci/jwt/tree/5.3.0" }, "funding": [ { @@ -3682,7 +3682,7 @@ "type": "patreon" } ], - "time": "2025-01-26T21:29:45+00:00" + "time": "2024-04-11T23:07:54+00:00" }, { "name": "league/oauth2-client", diff --git a/src/Domain/Reporting/Generator/Word/AbstractGenerator.php b/src/Domain/Reporting/Generator/Word/AbstractGenerator.php index 2d8d274250ea77003739fa4d7f76b8fb7b2f0214..c115433313cf8f8f0ec42d37d250f2f5a349930d 100644 --- a/src/Domain/Reporting/Generator/Word/AbstractGenerator.php +++ b/src/Domain/Reporting/Generator/Word/AbstractGenerator.php @@ -132,7 +132,7 @@ abstract class AbstractGenerator implements GeneratorInterface $document->setDefaultParagraphStyle(['spaceAfter' => 200]); $document->addNumberingStyle('tableList', [ - 'type' => 'multilevel', + 'type' => 'multilevel', 'levels' => [ ['format' => 'bullet', 'text' => 'ï‚·', 'suffix' => 'space', 'alignment' => 'left', 'hanging' => 0, 'left' => 0, 'tabPos' => 0, 'font' => 'Symbol'], ['format' => 'bullet', 'text' => 'ï‚·', 'suffix' => 'space', 'alignment' => 'left', 'hanging' => 0, 'left' => 0, 'tabPos' => 0, 'font' => 'Symbol'], @@ -376,7 +376,7 @@ abstract class AbstractGenerator implements GeneratorInterface && $this->collectivity && $this->collectivity->getReviewData() && $this->collectivity->getReviewData()->isShowDPDLogoFooter() - &&file_exists($this->logoDir . '/' . $this->dpdLogo) + && file_exists($this->logoDir . '/' . $this->dpdLogo) ) { $cell = $r->addCell(); $cell->addImage(file_get_contents($this->logoDir . '/' . $this->dpdLogo), [ diff --git a/src/Domain/Reporting/Generator/Word/TreatmentGenerator.php b/src/Domain/Reporting/Generator/Word/TreatmentGenerator.php index e703c54ea7d8ffdbf5403ca3ed5b71552d649d03..ea292dc953193f27b623fa27f2edbefc5b8986f9 100644 --- a/src/Domain/Reporting/Generator/Word/TreatmentGenerator.php +++ b/src/Domain/Reporting/Generator/Word/TreatmentGenerator.php @@ -32,7 +32,6 @@ use App\Domain\Registry\Model\Treatment; use PhpOffice\PhpWord\Element\Section; use PhpOffice\PhpWord\Shared\Converter; use PhpOffice\PhpWord\Style\Cell; -use PhpOffice\PhpWord\Style\ListItem; class TreatmentGenerator extends AbstractGenerator implements ImpressionGeneratorInterface { @@ -633,7 +632,7 @@ class TreatmentGenerator extends AbstractGenerator implements ImpressionGenerato 'valign' => 'top', ]; - $cw = 300;// floor(50*(100-20) / (count($titles)-1)); + $cw = 300; // floor(50*(100-20) / (count($titles)-1)); foreach ($titles as $title) { if ('' === $title) { $cell = $RiskTreatmentAnnexListTable->addCell(5, ['borderTopColor' => 'ffffff', 'borderTopSize' => 2, 'borderBottomColor' => 'ffffff', 'borderBottomSize' => 2]);