Skip to content

Commit

Permalink
Fixes #797 - do not load php.ini file, increases php lint performance
Browse files Browse the repository at this point in the history
  • Loading branch information
mrook committed Oct 11, 2011
1 parent f40cd51 commit 8cfdd3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/phing/tasks/ext/PhpLintTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected function lint($file) {
$command = $this->Interpreter == ''
? 'php'
: $this->Interpreter;
$command .= ' -l ';
$command .= ' -n -l ';
if(file_exists($file)) {
if(is_readable($file)) {
if ($this->cache)
Expand Down

3 comments on commit 8cfdd3a

@glensc
Copy link
Contributor

@glensc glensc commented on 8cfdd3a Dec 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How can I read the context of the old track ticket #797?

@mrook
Copy link
Member Author

@mrook mrook commented on 8cfdd3a Dec 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't, the previous issue tracker is offline. What do you need?

@glensc
Copy link
Contributor

@glensc glensc commented on 8cfdd3a Dec 9, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the discussion that lead to the problem related need for tuning error reporting levels.

I was thinking, as you have @phingofficial group, you could perhaps just import trac contents (tickets) as @phingofficial/trac and archive that project.

Please sign in to comment.