Skip to content

Commit cc7fb48

Browse files
committed
Style fix
1 parent 0f0d811 commit cc7fb48

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

src/ColorContrast/Checker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ private function _eval_DOM(\DOMElement $dom_el, $bg_color, $font_color, $font_si
446446
$font_is_bold,
447447
$semantic_nesting_level,
448448
$in_mark
449-
);
449+
);
450450
}
451451
}
452452
}

tests/ColorContrast/CheckerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function testBasicHTMLPass(): void
1919
$testcase->expected_output,
2020
$checker->evaluate($dom),
2121
trim($testcase->input)
22-
);
22+
);
2323
}
2424
}
2525

@@ -33,7 +33,7 @@ public function testBasicHTMLFailFastFail(): void
3333
$testcase->expected_output,
3434
$checker->evaluate($dom),
3535
trim($testcase->input)
36-
);
36+
);
3737
}
3838
}
3939

@@ -47,7 +47,7 @@ public function testBasicHTMLFailNoFastFail(): void
4747
$testcase->expected_output,
4848
$checker->evaluate($dom),
4949
trim($testcase->input)
50-
);
50+
);
5151
}
5252
}
5353

tests/LinkAccessibility/LinkQuality/CheckerTest.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,27 @@ public function testGetSiteUrl(): void
7272
$this->assertEquals(
7373
'https://www.google.com',
7474
Checker::get_site_url('https://www.google.com')
75-
);
75+
);
7676
$this->assertEquals(
7777
'https://www.google.com',
7878
Checker::get_site_url('https://www.google.com/')
79-
);
79+
);
8080
$this->assertEquals(
8181
'https://www.google.com',
8282
Checker::get_site_url('https://www.google.com/something')
83-
);
83+
);
8484
$this->assertEquals(
8585
'https://www.google.com',
8686
Checker::get_site_url('https://www.google.com/something')
87-
);
87+
);
8888
$this->assertEquals(
8989
'https://www.google.com',
9090
Checker::get_site_url('https://www.google.com/something/else')
91-
);
91+
);
9292
$this->assertEquals(
9393
'https://www.google.com',
9494
Checker::get_site_url('https://www.google.com/something/else/')
95-
);
95+
);
9696
}
9797

9898
public function testComputeLinkUrl(): void
@@ -101,31 +101,31 @@ public function testComputeLinkUrl(): void
101101
'//example.com',
102102
'/some/page/',
103103
'https://www.google.com'
104-
));
104+
));
105105
$this->assertEquals('https://www.google.com/this/is/a/path', Checker::compute_link_url(
106106
'/this/is/a/path',
107107
'/some/page/',
108108
'https://www.google.com'
109-
));
109+
));
110110
$this->assertEquals('http://example.com', Checker::compute_link_url(
111111
'http://example.com',
112112
'/some/page/',
113113
'https://www.google.com'
114-
));
114+
));
115115
$this->assertEquals('https://example.com', Checker::compute_link_url(
116116
'https://example.com',
117117
'/some/page/',
118118
'https://www.google.com'
119-
));
119+
));
120120
$this->assertEquals('https://www.google.com/some/page/./this/is/a/path', Checker::compute_link_url(
121121
'./this/is/a/path',
122122
'/some/page/',
123123
'https://www.google.com'
124-
));
124+
));
125125
$this->assertEquals('https://www.google.com/some/page/../this/is/a/path', Checker::compute_link_url(
126126
'../this/is/a/path',
127127
'/some/page/',
128128
'https://www.google.com'
129-
));
129+
));
130130
}
131131
}

tests/LinkAccessibility/LinkText/CheckerTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,27 @@ public function testGetSiteUrl(): void
5050
$this->assertEquals(
5151
'https://www.google.com',
5252
Checker::get_site_url('https://www.google.com')
53-
);
53+
);
5454
$this->assertEquals(
5555
'https://www.google.com',
5656
Checker::get_site_url('https://www.google.com/')
57-
);
57+
);
5858
$this->assertEquals(
5959
'https://www.google.com',
6060
Checker::get_site_url('https://www.google.com/something')
61-
);
61+
);
6262
$this->assertEquals(
6363
'https://www.google.com',
6464
Checker::get_site_url('https://www.google.com/something')
65-
);
65+
);
6666
$this->assertEquals(
6767
'https://www.google.com',
6868
Checker::get_site_url('https://www.google.com/something/else')
69-
);
69+
);
7070
$this->assertEquals(
7171
'https://www.google.com',
7272
Checker::get_site_url('https://www.google.com/something/else/')
73-
);
73+
);
7474
}
7575

7676
public function testComputeLinkUrl(): void

0 commit comments

Comments
 (0)