Skip to content

Tests/GetClassPropertiesTest: sync with upstream - minor improvements #542

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

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jan 2, 2024

  • Add parameter names as indexes in the data sets in data providers.
  • Use the more stable is_int() instead of a comparison against false for the offset calculation safeguard.
  • Improve type specificity in the docblocks.

Sister-PR to PHPCSStandards/PHP_CodeSniffer#215

* Add parameter names as indexes in the data sets in data providers.
* Use the more stable `is_int()` instead of a comparison against `false` for the offset calculation safeguard.
* Improve type specificity in the docblocks.
@jrfnl jrfnl added this to the 1.0.x Next milestone Jan 2, 2024
@jrfnl jrfnl merged commit fa4f576 into develop Jan 2, 2024
@jrfnl jrfnl deleted the feature/tests-getclassproperties-sync-with-upstream branch January 2, 2024 14:03
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.

1 participant