You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Squiz.Commenting.FunctionComment truncates class name if it contains underscores #1197
@mahmoudsaeed Thanks for reporting this. I've been able to reproduce the issue.
Looks like this bug was introduced in PHPCS 2.8.1 via PR squizlabs/PHP_CodeSniffer#1310. Cricky... very surprising that nobody has reported this before.... pff... let's get it fixed ;-)
Activity
jrfnl commentedon Aug 21, 2025
@mahmoudsaeed Thanks for reporting this. I've been able to reproduce the issue.
Looks like this bug was introduced in PHPCS 2.8.1 via PR squizlabs/PHP_CodeSniffer#1310. Cricky... very surprising that nobody has reported this before.... pff... let's get it fixed ;-)
jrfnl commentedon Aug 21, 2025
Should be fixed by #1198. Testing appreciated.
mahmoudsaeed commentedon Aug 21, 2025
Thanks for the quick fix! I tested it out and it works.
jrfnl commentedon Aug 21, 2025
Thanks for testing @mahmoudsaeed !