blackducksoftware / ohcount

The Ohloh source code line counter
https://github.com/blackducksoftware/ohcount
GNU General Public License v2.0
257 stars 74 forks source link

PHP being recognized as HTML #52

Closed mtvan closed 5 years ago

mtvan commented 6 years ago

The first line of a php file (which also gives away it's php, is identified as html)

`u:~/ohcount/bin$ ./ohcount -a test.php

html lcode <?php

php lcode if ( !is_multisite() ) {`

notalex commented 5 years ago

Thanks for reporting this issue. It has been fixed in https://github.com/blackducksoftware/ohcount/pull/69. We will release a new ohcount version soon.