Skip to content
This repository has been archived by the owner on Jan 24, 2025. It is now read-only.

Commit

Permalink
🐛 fix pipeline issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Jun 27, 2023
1 parent 542c596 commit 4cb4074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/PdfGenerationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

use Mpdf\Mpdf;

class PdfGenerationService
final class PdfGenerationService
{
public function generatePdf(string $content, string $name = ''): Mpdf
{
Expand All @@ -39,7 +39,7 @@ public function generatePdf(string $content, string $name = ''): Mpdf
$pdf->SetProtection(['print']);
$pdf->SetDisplayMode('fullpage');

$pdf->title = $name;
$pdf->setTitle($name);
$pdf->WriteHTML($content);

return $pdf;
Expand Down
3 changes: 2 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

declare(strict_types=1);

use Rector\DeadCode\Rector\MethodCall\RemoveEmptyMethodCallRector;
use PLUS\GrumPHPConfig\RectorSettings;
use Rector\Config\RectorConfig;
use Rector\Caching\ValueObject\Storage\FileCacheStorage;
Expand Down Expand Up @@ -31,7 +32,7 @@
[
...RectorSettings::skip(),
...RectorSettings::skipTypo3(),

RemoveEmptyMethodCallRector::class, // this with Mpdf takes for ever :/
/**
* rector should not touch these files
*/
Expand Down

0 comments on commit 4cb4074

Please sign in to comment.