Skip to content

Conversation

@localheinz
Copy link
Contributor

This PR

  • removes an unused argument

Somewhat related to #477.

<?php

$finder = new PhpCsFixer\Finder();
$config = new PhpCsFixer\Config('json-schema', 'json-schema style guide');
Copy link
Contributor Author

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.

Copy link
Contributor

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?


$finder = new PhpCsFixer\Finder();
$config = new PhpCsFixer\Config('json-schema', 'json-schema style guide');
$config = new PhpCsFixer\Config('json-schema');
Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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!


$finder = new PhpCsFixer\Finder();
$config = new PhpCsFixer\Config('json-schema', 'json-schema style guide');
$config = new PhpCsFixer\Config('json-schema');
Copy link
Contributor

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.

@bighappyface bighappyface merged commit e2dc250 into jsonrainbow:master Dec 31, 2017
@localheinz localheinz deleted the fix/unused-argument branch December 31, 2017 20:39
@localheinz
Copy link
Contributor Author

Thank you, @bighappyface and @erayd!

erayd pushed a commit to erayd/json-schema that referenced this pull request Feb 14, 2018
@erayd erayd mentioned this pull request Feb 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants