Skip to content

Commit 1f72d97

Browse files
Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 (#64)
* Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](dependabot/fetch-metadata@v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Trigger workflow * Fix styling * Fix broken random image generator * Fix broken random image generator --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Baspa <[email protected]> Co-authored-by: Baspa <[email protected]>
1 parent ffc0d86 commit 1f72d97

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/dependabot-auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- name: Dependabot metadata
1515
id: metadata
16-
uses: dependabot/fetch-metadata@v2.1.0
16+
uses: dependabot/fetch-metadata@v2.2.0
1717
with:
1818
github-token: "${{ secrets.GITHUB_TOKEN }}"
1919

src/Seo.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ public function __construct(
2626
protected Http $http,
2727
protected Collection $successful,
2828
protected Collection $failed,
29-
) {
30-
}
29+
) {}
3130

3231
public function check(string $url, ?ProgressBar $progress = null, bool $useJavascript = false): SeoScore
3332
{

tests/Checks/Meta/OpenGraphImageCheckTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@
3131
});
3232

3333
it('can perform open graph image check on a page with a working open graph image', function () {
34+
$this->withoutExceptionHandling();
3435
$check = new OpenGraphImageCheck();
3536
$crawler = new Crawler();
3637

3738
Http::fake([
38-
'vormkracht10.nl' => Http::response('<html><head><meta property="og:image" content="https://source.unsplash.com/random"></head><body></body></html>', 200),
39+
'vormkracht10.nl' => Http::response('<html><head><meta property="og:image" content="https://picsum.photos/200/300"></head><body></body></html>', 200),
3940
]);
4041

4142
$crawler->addHtmlContent(Http::get('vormkracht10.nl')->body());

tests/Checks/Performance/ImageSizeCheckTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
$crawler = new Crawler();
2323

2424
Http::fake([
25-
'vormkracht10.nl' => Http::response('<html><head></head><body><img srct="https://source.unsplash.com/random/100x100"></body></html>', 200),
25+
'vormkracht10.nl' => Http::response('<html><head></head><body><img srct="https://picsum.photos/100x100"></body></html>', 200),
2626
]);
2727

2828
$crawler->addHtmlContent(Http::get('vormkracht10.nl')->body());
@@ -37,7 +37,7 @@
3737
$crawler = new Crawler();
3838

3939
Http::fake([
40-
'vormkracht10.nl' => Http::response('<html><head></head><body><img src="https://source.unsplash.com/random/7000x7000"></body></html>', 200),
40+
'vormkracht10.nl' => Http::response('<html><head></head><body><img src="https://picsum.photos/7000x7000"></body></html>', 200),
4141
]);
4242

4343
$crawler->addHtmlContent(Http::get('vormkracht10.nl')->body());

0 commit comments

Comments
 (0)