PHP_CodeSniffer icon indicating copy to clipboard operation
PHP_CodeSniffer copied to clipboard

Tests: various small improvements

Open jrfnl opened this issue 3 years ago • 0 comments

... picked up along the way.

Commits

ScopeSettingWithNamespaceOperatorTest: fix unintentional parse error

IsReferenceTest: fix two unintentional parse errors in the test case file

GetMemberPropertiesTest: sync the order of the data sets with the test case file

FindEndOfStatementTest: fix broken test

The return 0; statement belongs with the testStaticArrowFunction test and was introduced to test a specific bug in #2749.

This brings the test back to its correct state.

GetMethodParametersTest: sync the order of the data sets with the test case file

(while the diff may look weird, in reality, it just moves three tests up)

GetMethodPropertiesTest: remove stray docblock opener

jrfnl avatar Oct 12 '22 15:10 jrfnl