-
Notifications
You must be signed in to change notification settings - Fork 356
Fix: Remove unused argument #478
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
Fix: Remove unused argument #478
Conversation
@@ -1,7 +1,7 @@ | |||
<?php | |||
|
|||
$finder = new PhpCsFixer\Finder(); | |||
$config = new PhpCsFixer\Config('json-schema', 'json-schema style guide'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The $description
argument was removed in PHP-CS-Fixer/PHP-CS-Fixer#2244.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have you also removed $name
, when only $description
has been deprecated?
@@ -1,7 +1,7 @@ | |||
<?php | |||
|
|||
$finder = new PhpCsFixer\Finder(); | |||
$config = new PhpCsFixer\Config('json-schema', 'json-schema style guide'); | |||
$config = new PhpCsFixer\Config('json-schema'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name is still here, @erayd.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, sorry! I looked at the diff and thought I saw the whole line removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good, @erayd, thank you!
@@ -1,7 +1,7 @@ | |||
<?php | |||
|
|||
$finder = new PhpCsFixer\Finder(); | |||
$config = new PhpCsFixer\Config('json-schema', 'json-schema style guide'); | |||
$config = new PhpCsFixer\Config('json-schema'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My mistake, sorry! I looked at the diff and thought I saw the whole line removed.
Thank you, @bighappyface and @erayd! |
Fix: Remove unused argument
This PR
Somewhat related to #477.