-
-
Notifications
You must be signed in to change notification settings - Fork 288
Upgrade dependencies (PHP-CS-Fixer v3) #490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e3cdff4
088ab24
e46fd3d
5047324
4f2d83a
3233140
337951d
0306623
6e6cc1c
f4cf30d
9aa2445
3fbeda2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -4,8 +4,8 @@ | |||||
|
||||||
namespace NunoMaduro\PhpInsights\Domain; | ||||||
|
||||||
use PhpCsFixer\Diff\v3_0\Differ as BaseDiffer; | ||||||
use PhpCsFixer\Diff\v3_0\Output\StrictUnifiedDiffOutputBuilder; | ||||||
use PhpCsFixer\Diff\Differ as BaseDiffer; | ||||||
use PhpCsFixer\Diff\Output\StrictUnifiedDiffOutputBuilder; | ||||||
use PhpCsFixer\Differ\DifferInterface; | ||||||
|
||||||
final class Differ implements DifferInterface | ||||||
|
@@ -30,7 +30,7 @@ public function __construct() | |||||
/** | ||||||
* {@inheritdoc} | ||||||
*/ | ||||||
public function diff($old, $new): string | ||||||
public function diff(string $old, string $new, ?\SplFileInfo $file = null): string | ||||||
{ | ||||||
return $this->differ->diff($old, $new); | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Jibbarth It seems like they have changed the signature of the differ. So, if we're gonna use the third parameter ( |
||||||
} | ||||||
|
Uh oh!
There was an error while loading. Please reload this page.