Skip to content

Commit

Permalink
Merge pull request #27 from 2lenet/sf-7
Browse files Browse the repository at this point in the history
màj symfony 7
  • Loading branch information
sebheitzmann authored Jun 5, 2024
2 parents c2d1f8b + f85d2d7 commit 755bfd3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@
"require": {
"php": "^8.0",
"laminas/laminas-escaper": "^2.11",
"symfony/property-access": "^6.0",
"symfony/property-access": "^6.0 || ^7.0",
"phpoffice/phpword": "^0.18",
"tecnickcom/tcpdf": "^6.3",
"vich/uploader-bundle": "^1.19 || ^2.0",
"symfony/yaml": "^6.0",
"symfony/yaml": "^6.0 || ^7.0",
"laminas/laminas-stdlib": "^3.15",
"symfony/http-foundation": "^6.0",
"symfony/http-foundation": "^6.0 || ^7.0",
"symfony/http-client-contracts": "^v3.4.0",
"doctrine/orm": "^2.6 || ^3.0",
"symfony/routing": "^6.0",
"symfony/framework-bundle": "^6.0",
"symfony/routing": "^6.0 || ^7.0",
"symfony/framework-bundle": "^6.0 || ^7.0",
"doctrine/annotations": "^1.13",
"symfony/serializer": "^6.0",
"symfony/serializer": "^6.0 || ^7.0",
"twig/twig": "^3.4.3",
"setasign/fpdi": "^2.3.6",
"symfony/process": "^6.0",
"symfony/process": "^6.0 || ^7.0",
"setasign/fpdf": "1.8.4",
"alexanderpavlov/pdfmerger": "^1.0",
"symfony/dotenv": "^6.0"
"symfony/dotenv": "^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
Expand Down
1 change: 0 additions & 1 deletion src/Generator/WordToPdfGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ class WordToPdfGenerator extends AbstractPdfGenerator
{
public function __construct(
private PropertyAccessorInterface $propertyAccess,
private Environment $twig,
private HttpClientInterface $httpClient,
private ParameterBagInterface $parameterBag,
) {
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/Signature.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function signeTcpdfFpdi(Fpdi $pdf): Fpdi
);

if ($this->image) {
$pdf->setSignatureAppearance($x ?? 0, $y ?? 0, $w ?? 0, $h ?? 0);
$pdf->setSignatureAppearance($x, $y, $w, $h);
}
}

Expand Down

0 comments on commit 755bfd3

Please sign in to comment.