diff --git a/templates/html/summary/report-tabular.js.twig b/templates/html/summary/report-tabular.js.twig
index b5b11211..d0f682db 100644
--- a/templates/html/summary/report-tabular.js.twig
+++ b/templates/html/summary/report-tabular.js.twig
@@ -114,7 +114,7 @@
for(i = 0; i < len; i++) {
e = result[i];
level = (e.name.split(separator).length - 1);
- if(!e.name.match(/php$/)) {
+ if(!e.name.match(/\.php$/)) {
parents[level + 1] = e;
parents[level]._values.push(e);
} else {