get the CI tests fully working again

This commit is contained in:
bwdutton
2020-02-01 14:17:33 -08:00
parent d3c281d485
commit 761de1b42f
8 changed files with 171 additions and 118 deletions

View File

@@ -186,7 +186,9 @@ class File_Structure_Test extends Gallery_Unit_Test_Case {
break;
default:
if (preg_match("/views/", $path)) {
if (preg_match("/modules\/(autorotate|movie_resized)/", $path)) {
# including unmodified 3rd party code
} elseif (preg_match("/views/", $path)) {
$this->_check_view_preamble($path, $errors);
} else {
$this->_check_php_preamble($path, $errors);