Skip to content

Commit baac863

Browse files
authored
Reformat to abbrevation to lowercase (#29)
* Reformat to abbrevation to lowercase * wip
1 parent 4014d1e commit baac863

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

src/Checks/Performance/HTMLSizeCheck.php renamed to src/Checks/Performance/HtmlSizeCheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Vormkracht10\Seo\Interfaces\Check;
88
use Vormkracht10\Seo\Traits\PerformCheck;
99

10-
class HTMLSizeCheck implements Check
10+
class HtmlSizeCheck implements Check
1111
{
1212
use PerformCheck;
1313

tests/Checks/Performance/CSSSizeCheckTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use Illuminate\Support\Facades\Http;
44
use Symfony\Component\DomCrawler\Crawler;
5-
use Vormkracht10\Seo\Checks\Performance\CSSSizeCheck;
5+
use Vormkracht10\Seo\Checks\Performance\CssSizeCheck;
66

77
/**
88
* @see In this test, we pass the stylesheet as a response to the check method.
@@ -11,7 +11,7 @@
1111
* we don't have access to the stylesheet in the test.
1212
*/
1313
it('can perform the CSS size check on a page with a CSS file larger than 15 KB', function () {
14-
$check = new CSSSizeCheck();
14+
$check = new CssSizeCheck();
1515
$crawler = new Crawler();
1616

1717
Http::fake([
@@ -28,7 +28,7 @@
2828
});
2929

3030
it('can perform the CSS size check on a page with a CSS file smaller than 15 KB', function () {
31-
$check = new CSSSizeCheck();
31+
$check = new CssSizeCheck();
3232
$crawler = new Crawler();
3333

3434
Http::fake([
@@ -45,7 +45,7 @@
4545
});
4646

4747
it('can perform the CSS size check on a page with no CSS files', function () {
48-
$check = new CSSSizeCheck();
48+
$check = new CssSizeCheck();
4949
$crawler = new Crawler();
5050

5151
Http::fake([

tests/Checks/Performance/HTMLSizeCheckTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
use Illuminate\Support\Facades\Http;
44
use Symfony\Component\DomCrawler\Crawler;
5-
use Vormkracht10\Seo\Checks\Performance\HTMLSizeCheck;
5+
use Vormkracht10\Seo\Checks\Performance\HtmlSizeCheck;
66

77
it('can perform the HTML size check on HTML that is smaller than 100 KB', function () {
8-
$check = new HTMLSizeCheck();
8+
$check = new HtmlSizeCheck();
99
$crawler = new Crawler();
1010

1111
Http::fake([
@@ -16,7 +16,7 @@
1616
});
1717

1818
it('can perform the HTML size check on HTML that is larger than 100 KB', function () {
19-
$check = new HTMLSizeCheck();
19+
$check = new HtmlSizeCheck();
2020
$crawler = new Crawler();
2121

2222
Http::fake([

tests/Checks/Performance/TTFBCheckTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
use Illuminate\Support\Facades\Http;
44
use Symfony\Component\DomCrawler\Crawler;
5-
use Vormkracht10\Seo\Checks\Performance\TTFBCheck;
5+
use Vormkracht10\Seo\Checks\Performance\TtfbCheck;
66

77
it('can perform the ttfb check', function () {
88
$this->markTestSkipped('We can\'t fully rely on this test as we can\'t manually set the ttfb value.');
99

10-
$check = new TTFBCheck();
10+
$check = new TtfbCheck();
1111

1212
Http::fake([
1313
'vormkracht10.nl/robots.txt' => Http::response('<html></html>', 200),

0 commit comments

Comments
 (0)