Skip to content

Commit

Permalink
!!! Feature: php 8.1 safe
Browse files Browse the repository at this point in the history
update the library `spatie/crawler` to v6 since its dependency in the v4 `tightenco/collect` doesnt work with php8.1 in the required version.

requires us to use at least php 7.4 so this is a breaking change, as we don't support php 7.1 - 7.3 anymore
  • Loading branch information
mhsdesign authored and rolandschuetz committed Oct 24, 2022
1 parent 97b73e0 commit 004749a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Classes/Profile/CheckAllLinks.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace CodeQ\LinkChecker\Profile;

use Spatie\Crawler\CrawlAllUrls;
use Spatie\Crawler\CrawlProfiles\CrawlAllUrls;

class CheckAllLinks extends CrawlAllUrls
{
Expand Down
2 changes: 1 addition & 1 deletion Classes/Reporter/BaseReporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Cli\ConsoleOutput;
use Neos\Flow\Persistence\Exception\IllegalObjectTypeException;
use Spatie\Crawler\CrawlObserver;
use Psr\Http\Message\UriInterface;
use Psr\Http\Message\ResponseInterface;
use GuzzleHttp\Exception\RequestException;
use Spatie\Crawler\CrawlObservers\CrawlObserver;

abstract class BaseReporter extends CrawlObserver
{
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"type": "neos-package",
"license": "GPL-3.0-or-later",
"require": {
"php": "^7.4 || ^8.0",
"league/csv": "^9.1",
"neos/neos": "^4.3 || 5 - 8 || dev-master",
"neos/swiftmailer": "^7.3.0",
"psr/log": "^1.1 || ^2.0 || ^3.0",
"sitegeist/fusionlinkprototypes": "^1.0",
"spatie/crawler": "^4.1",
"spatie/crawler": "^6.0",
"symfony/polyfill-php80": "^1.16"
},
"autoload": {
Expand Down Expand Up @@ -43,4 +44,4 @@
"Neos.Flow-20201207104500"
]
}
}
}

0 comments on commit 004749a

Please sign in to comment.