PHPCSStandards / PHPCSUtils

A suite of utility functions for use with PHP_CodeSniffer
https://phpcsutils.com/
GNU Lesser General Public License v3.0
53 stars 7 forks source link

Tests/GetMemberPropertiesTest: sync with upstream #544

Closed jrfnl closed 8 months ago

jrfnl commented 8 months ago

Sister-PR to PHPCSStandards/PHP_CodeSniffer#221

Tests/GetMemberPropertiesTest: sync with upstream [1] - use named items in data sets

These tests, for the most part, already had data set names in PHPCSUtils.

This commit adds the parameter name for each item in the data set, this time in an effort to make it more straight forward to update and add tests as it will be more obvious what each key in the data set signifies.

Includes updating references to individual items in data sets in the sister-test class for the Variables::getMemberProperties() method.

Includes fixing the data types in the docblocks and making them more specific, where relevant.

Tests/GetMemberPropertiesTest: sync with upstream [2] - minor docs and stability tweak