https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162015-08-21T06:54:40ZpfSense bugtrackerBootstrap - Bug #4982: 9 files fail PHP linthttps://redmine.pfsense.org/issues/4982?journal_id=199552015-08-21T06:54:40ZAnonymous
<ul><li><strong>Assignee</strong> set to <i>Anonymous</i></li></ul> Bootstrap - Bug #4982: 9 files fail PHP linthttps://redmine.pfsense.org/issues/4982?journal_id=199562015-08-21T07:34:20ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Feedback</i></li><li><strong>Assignee</strong> changed from <i>Anonymous</i> to <i>Chris Buechler</i></li></ul><p>All PHP Lint errors rectified.</p>
<p>All were merge problem dropping braces or replacing ':' with '{'</p>
<p>php -l now produces zero errors on .php and .inc files</p> Bootstrap - Bug #4982: 9 files fail PHP linthttps://redmine.pfsense.org/issues/4982?journal_id=200222015-08-25T22:24:31ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Subject</strong> changed from <i>14 files fail PHP lint</i> to <i>9 files fail PHP lint</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Confirmed</i></li><li><strong>Assignee</strong> changed from <i>Chris Buechler</i> to <i>Anonymous</i></li></ul><p>Still 9 more.</p>
<pre>
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/status_dhcpv6_leases.php on line 595
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/system_routes.php on line 303
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/system_certmanager.php on line 992
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/exec.php on line 302
PHP Parse error: syntax error, unexpected '*' in ./usr/local/www/diag_smart.php on line 57
PHP Parse error: syntax error, unexpected '}' in ./usr/local/www/diag_dns.php on line 300
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/system_camanager.php on line 605
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/system_gateways.php on line 307
PHP Parse error: syntax error, unexpected end of file in ./usr/local/www/status_dhcp_leases.php on line 447
</pre> Bootstrap - Bug #4982: 9 files fail PHP linthttps://redmine.pfsense.org/issues/4982?journal_id=200402015-08-26T05:43:31ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Feedback</i></li><li><strong>Assignee</strong> changed from <i>Anonymous</i> to <i>Chris Buechler</i></li></ul><p>Unable to reproduce these 9 errors. Checked my local source, and pulled down the code on my fork to check with the same results. I see zero PHP errors :(</p> Bootstrap - Bug #4982: 9 files fail PHP linthttps://redmine.pfsense.org/issues/4982?journal_id=200812015-08-26T18:03:09ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>the most recent PHP in Ubuntu is buggy in some regard with lint, checks out fine on PHP 5.5.27.</p>