sebastianbergmann / phploc

A tool for quickly measuring the size of a PHP project.
BSD 3-Clause "New" or "Revised" License
2.34k stars 167 forks source link

phploc generates warnings #189

Closed tina-junold closed 5 years ago

tina-junold commented 5 years ago

By calling phploc it always generates warnings using continue (instead of continue 2)

phploc --log-xml=artifacts/phploc.xml --count-tests --names-exclude=Kernel.php src tests
PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /example/vendor/phploc/phploc/src/Analyser.php on line 92
PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /example/vendor/phploc/phploc/src/Analyser.php on line 209
PHP Warning:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /example/vendor/phploc/phploc/src/Analyser.php on line 241
sebastianbergmann commented 5 years ago

This was fixed in 6834fdaaf288fff461602015c2f04d3b981ad787.