2 // Tired of chasing typos and finding them after a commit.
3 // Run this from cmdline in basedir and quickly see if we've
4 // got any parse errors in our application files.
8 error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
9 ini_set('display_errors', '1');
10 ini_set('log_errors','0');
15 $files = glob('mod/*.php');
16 foreach($files as $file)
20 $files = glob('include/*.php');
21 foreach($files as $file)
24 $files = glob('addon/*.php');
25 foreach($files as $file)