Skip to content

Conversation

@IanDelMar
Copy link
Contributor

Avoid Travis result from being polluted by CS errors

<exclude name="Generic.Files.LineLength"/>
<exclude name="PEAR.Commenting.ClassComment"/>
<exclude name="PEAR.Commenting.FileComment"/>
<exclude name="Squiz.PHP.CommentedOutCode.Found"/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add // phpcs:disable Squiz.PHP.CommentedOutCode at the top of that one file

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would ignore that error in all files.

Comment on lines -91 to +92
($this->name !== null) ? (' $' . $this->name) : ''
$this->name !== null ? " \$$this->name" : ''
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@szepeviktor
Copy link
Member

This multiple-condition array shape handling makes me code!!
Please watch the next PR!

@szepeviktor szepeviktor merged commit 320f384 into php-stubs:master Nov 9, 2023
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.

2 participants