Skip to content

Commit

Permalink
fix phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk committed Oct 16, 2023
1 parent 27c77ee commit 806f970
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 51 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"require": {
"php": "^8.1",
"illuminate/contracts": "^9.0",
"laravel/helpers": "^1.6",
"spatie/crawler": "^7.1",
"spatie/laravel-package-tools": "^1.13.0",
"voku/html-min": "^4.5"
Expand Down
2 changes: 0 additions & 2 deletions src/Commands/StaticBuildCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Illuminate\Console\Command;
use Spatie\Crawler\Crawler;
use Spatie\Crawler\CrawlProfiles\CrawlInternalUrls;
use Vormkracht10\LaravelStatic\Crawler\StaticCrawlObserver;
use Vormkracht10\LaravelStatic\LaravelStatic;

class StaticBuildCommand extends Command
Expand Down Expand Up @@ -44,7 +43,6 @@ public function handle(): void
'User-Agent' => 'LaravelStatic/1.0',
],
])
->setCrawlObserver(new StaticCrawlObserver)
->setCrawlProfile(new CrawlInternalUrls($this->config->get('app.url')))
->acceptNofollowLinks()
->setConcurrency($this->config->get('static.build.concurrency'))
Expand Down
49 changes: 0 additions & 49 deletions src/Crawler/StaticCrawlObserver.php

This file was deleted.

0 comments on commit 806f970

Please sign in to comment.