Skip to content

Commit 5df600f

Browse files
committed
Apply fixes from StyleCI
1 parent 5199140 commit 5df600f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/Http/Middleware/TrimStringsTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
class TrimStringsTest extends TestCase
1010
{
1111
/**
12-
* Test no zero-width space character returns the same string
12+
* Test no zero-width space character returns the same string.
1313
*/
1414
public function test_no_zero_width_space_character_returns_the_same_string()
1515
{
1616
$request = new Request;
1717

1818
$request->merge([
19-
'title' => 'This title does not contains any zero-width space'
19+
'title' => 'This title does not contains any zero-width space',
2020
]);
2121

2222
$middleware = new TrimStrings;
@@ -27,14 +27,14 @@ public function test_no_zero_width_space_character_returns_the_same_string()
2727
}
2828

2929
/**
30-
* Test leading zero-width space character is trimmed [ZWSP]
30+
* Test leading zero-width space character is trimmed [ZWSP].
3131
*/
3232
public function test_leading_zero_width_space_character_is_trimmed()
3333
{
3434
$request = new Request;
3535

3636
$request->merge([
37-
'title' => '​This title contains a zero-width space at the begining'
37+
'title' => '​This title contains a zero-width space at the begining',
3838
]);
3939

4040
$middleware = new TrimStrings;
@@ -45,14 +45,14 @@ public function test_leading_zero_width_space_character_is_trimmed()
4545
}
4646

4747
/**
48-
* Test trailing zero-width space character is trimmed [ZWSP]
48+
* Test trailing zero-width space character is trimmed [ZWSP].
4949
*/
5050
public function test_trailing_zero_width_space_character_is_trimmed()
5151
{
5252
$request = new Request;
5353

5454
$request->merge([
55-
'title' => 'This title contains a zero-width space at the end​'
55+
'title' => 'This title contains a zero-width space at the end​',
5656
]);
5757

5858
$middleware = new TrimStrings;
@@ -63,14 +63,14 @@ public function test_trailing_zero_width_space_character_is_trimmed()
6363
}
6464

6565
/**
66-
* Test leading zero-width non-breakable space character is trimmed [ZWNBSP]
66+
* Test leading zero-width non-breakable space character is trimmed [ZWNBSP].
6767
*/
6868
public function test_leading_zero_width_non_breakable_space_character_is_trimmed()
6969
{
7070
$request = new Request;
7171

7272
$request->merge([
73-
'title' => 'This title contains a zero-width non-breakable space at the begining'
73+
'title' => 'This title contains a zero-width non-breakable space at the begining',
7474
]);
7575

7676
$middleware = new TrimStrings;
@@ -81,14 +81,14 @@ public function test_leading_zero_width_non_breakable_space_character_is_trimmed
8181
}
8282

8383
/**
84-
* Test leading multiple zero-width non-breakable space characters are trimmed [ZWNBSP]
84+
* Test leading multiple zero-width non-breakable space characters are trimmed [ZWNBSP].
8585
*/
8686
public function test_leading_multiple_zero_width_non_breakable_space_characters_are_trimmed()
8787
{
8888
$request = new Request;
8989

9090
$request->merge([
91-
'title' => 'This title contains a zero-width non-breakable space at the begining'
91+
'title' => 'This title contains a zero-width non-breakable space at the begining',
9292
]);
9393

9494
$middleware = new TrimStrings;
@@ -99,14 +99,14 @@ public function test_leading_multiple_zero_width_non_breakable_space_characters_
9999
}
100100

101101
/**
102-
* Test a combination of leading and trailing zero-width non-breakable space and zero-width space characters are trimmed [ZWNBSP], [ZWSP]
102+
* Test a combination of leading and trailing zero-width non-breakable space and zero-width space characters are trimmed [ZWNBSP], [ZWSP].
103103
*/
104104
public function test_combination_of_leading_and_trailing_zero_width_non_breakable_space_and_zero_width_space_characters_are_trimmed()
105105
{
106106
$request = new Request;
107107

108108
$request->merge([
109-
'title' => '​This title contains a zero-width non-breakable space at the end​'
109+
'title' => '​This title contains a zero-width non-breakable space at the end​',
110110
]);
111111

112112
$middleware = new TrimStrings;

0 commit comments

Comments
 (0)