Skip to content

Fix reports by PHPStan#608

Merged
jrfnl merged 10 commits intoWordPress:developfrom
szepeviktor:patch-1
Nov 13, 2021
Merged

Fix reports by PHPStan#608
jrfnl merged 10 commits intoWordPress:developfrom
szepeviktor:patch-1

Conversation

@szepeviktor
Copy link
Copy Markdown
Contributor

@szepeviktor szepeviktor commented Nov 12, 2021

Fix things while running vendor/bin/phpstan analyze src/ -l 3

Pull Request Type

  • I have checked there is no other PR open for the same change.

This is a:

  • Bug fix
  • New feature
  • Code quality improvement

@szepeviktor szepeviktor changed the title Fix typo in Cookie Fix reports by PHPStan Nov 12, 2021
@szepeviktor
Copy link
Copy Markdown
Contributor Author

szepeviktor commented Nov 12, 2021

Please consider using @phpstan
It will show errors in the code (not in PHPDoc blocks).

@szepeviktor szepeviktor marked this pull request as ready for review November 12, 2021 22:53
@jrfnl jrfnl added this to the 2.0.0 milestone Nov 12, 2021
Copy link
Copy Markdown
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

Thanks @szepeviktor. Happy to accept these changes once my remarks are addressed.

Adding PHPStan is something for "maybe later" as the current focus is on getting version 2.0.0 released without further delay.

Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
@szepeviktor
Copy link
Copy Markdown
Contributor Author

szepeviktor commented Nov 13, 2021

@jrfnl I leave all this up to you. Please close it or merge it.

Copy link
Copy Markdown
Member

@jrfnl jrfnl left a comment

Choose a reason for hiding this comment

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

Thanks @szepeviktor ! The current changes as they are LGTM.

@jrfnl jrfnl merged commit 3142818 into WordPress:develop Nov 13, 2021
@szepeviktor szepeviktor deleted the patch-1 branch November 13, 2021 10:18
@szepeviktor
Copy link
Copy Markdown
Contributor Author

You're welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants