Skip to content

Commit f78ee59

Browse files
fix: cs
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 5c37e16 commit f78ee59

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

tests/php/Unit/Handler/SignEngine/PhpNativeHandlerTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ public function testEscapePdfText(string $input, string $expected): void {
136136

137137
public static function providerEscapePdfText(): array {
138138
return [
139-
'plain text is unchanged' => ['hello world', 'hello world'],
140-
'backslash is doubled' => ['back\\slash', 'back\\\\slash'],
141-
'opening parenthesis is escaped' => ['open(paren', 'open\\(paren'],
142-
'closing parenthesis is escaped' => ['close)paren', 'close\\)paren'],
139+
'plain text is unchanged' => ['hello world', 'hello world'],
140+
'backslash is doubled' => ['back\\slash', 'back\\\\slash'],
141+
'opening parenthesis is escaped' => ['open(paren', 'open\\(paren'],
142+
'closing parenthesis is escaped' => ['close)paren', 'close\\)paren'],
143143
'multiple special chars in one string' => ['a\\b(c)d', 'a\\\\b\\(c\\)d'],
144144
];
145145
}
@@ -153,11 +153,11 @@ public function testHasExistingSignatures(string $pdfContent, bool $expected): v
153153

154154
public static function providerHasExistingSignatures(): array {
155155
return [
156-
'ByteRange marker signals existing signature' => ['/ByteRange [0 0 0 0]', true],
157-
'/Type /Sig signals existing signature' => ['/Type /Sig ', true],
158-
'/DocMDP signals existing signature' => ['/DocMDP ', true],
159-
'/Perms signals existing signature' => ['/Perms ', true],
160-
'plain PDF content has no signature' => ['%PDF-1.4 startxref 0 %%EOF', false],
156+
'ByteRange marker signals existing signature' => ['/ByteRange [0 0 0 0]', true],
157+
'/Type /Sig signals existing signature' => ['/Type /Sig ', true],
158+
'/DocMDP signals existing signature' => ['/DocMDP ', true],
159+
'/Perms signals existing signature' => ['/Perms ', true],
160+
'plain PDF content has no signature' => ['%PDF-1.4 startxref 0 %%EOF', false],
161161
];
162162
}
163163

0 commit comments

Comments
 (0)