Seems like echo "Hi!";;;; passes validations, which it probably shouldn't

Comments

Dropa created an issue. See original summary.

klausi’s picture

Status: Active » Fixed

Thanks for reporting! I added a sniff that detects multiple ;; statements on one line. Not fully ideal as the fixer does not remove the duplicated semicolon but a good start for detection.

  • klausi committed 16d49ed on 8.x-3.x
    feat(DisallowMultipleStatements): Add sniff to detect multiple ;;...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.