Вызовы динамических методов как статических:
Код: Выделить всё
Name: CTestCase.php
Location: file CTestCase.php
Problem synopsis: Dynamic method PHPUnit_Runner_Version::id() called as static
Код: Выделить всё
Name: shell.php
Location: file shell.php
Problem synopsis: Dynamic method Text_Diff::_getTempDir() called as static
Код: Выделить всё
Source: framework\vendors\htmlpurifier\standalone\HTMLPurifier\ConfigSchema\InterchangeBuilder.php
Void from: test\CTestCase.php (tests for demo app)
Code: <...> if(version_compare(PHPUnit_Runner_Version::id(), '3.5.0RC1')<0) <...>
Problem synopsis: Method id of PHPUnit_Runner_Version class required one argument - protected function id($id) { ... }
Код: Выделить всё
Name: Printer.php
Location: file Printer.php
Method: prepareGenerator
Problem synopsis: Unused local variable $all
Код: Выделить всё
Name: CGettextMoFile.php
Location: file CGettextMoFile.php
Method: load
Problem synopsis: Unused local variable $array
Код: Выделить всё
Name: markdown.php
Location: file markdown.php
Method: setup
Problem synopsis: Unused local variable $in_anchor
Comment: The author of the code is confused. He uses an undeclarated field $this->in_anchor and local var $in_anchor
Код: Выделить всё
Name: CCaptcha.php
Location: file CCaptcha.php
Method: renderImage
Problem synopsis: Unused local variable $id
Код: Выделить всё
Name: Array.php
Location: file Array.php
Method: acceptToken
Problem synopsis: Unused local variable $theClass
Код: Выделить всё
Name: Console.php
Location: file Console.php
Method: finalize
Problem synopsis: Unused local variables $len and $i