PhpBeautifier icon indicating copy to clipboard operation
PhpBeautifier copied to clipboard

PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70

Open Goddard opened this issue 11 years ago • 10 comments

PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70 PHP Strict Standards: Non-static method Console_Getopt::getopt() should not be called statically in /usr/bin/php_beautifier on line 84 PHP Strict Standards: Non-static method Console_Getopt::doGetopt() should not be called statically in /usr/share/php/Console/Getopt.php on line 92 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 109 PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Strict Standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Strict Standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Strict Standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Strict Standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Strict Standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Strict Standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Strict Standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Strict Standards: Non-static method PEAR::isError() should not be called statically in /usr/bin/php_beautifier on line 85 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 650 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 697 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 757 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 786 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 914 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 1577 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 1607 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 2038 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 2091 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Registry.php on line 322 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Registry.php on line 1450 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Registry.php on line 1458 PHP Strict Standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 158 PHP Strict Standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 167 PHP Strict Standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 176 PHP Strict Standards: Non-static method System::which() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 228

Goddard avatar Dec 27 '12 22:12 Goddard

i have the same error....

PHP Strict standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP Strict standards: Non-static method Console_Getopt::getopt() should not be called statically in /usr/bin/php_beautifier on line 84 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP Strict standards: Non-static method Console_Getopt::doGetopt() should not be called statically in /usr/share/php/Console/Getopt.php on line 92 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP Strict standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 109 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP 4. Console_Getopt::_parseShortOption() /usr/share/php/Console/Getopt.php:166 PHP Strict standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP 4. Console_Getopt::_parseShortOption() /usr/share/php/Console/Getopt.php:166 PHP Strict standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP 4. Console_Getopt::_parseShortOption() /usr/share/php/Console/Getopt.php:166 PHP Strict standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP 4. Console_Getopt::_parseShortOption() /usr/share/php/Console/Getopt.php:166 PHP Strict standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_parseShortOption() should not be called statically in /usr/share/php/Console/Getopt.php on line 166 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method Console_Getopt::_isShortOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 220 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP 4. Console_Getopt::_parseShortOption() /usr/share/php/Console/Getopt.php:166 PHP Strict standards: Non-static method Console_Getopt::_isLongOpt() should not be called statically in /usr/share/php/Console/Getopt.php on line 221 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP 4. Console_Getopt::_parseShortOption() /usr/share/php/Console/Getopt.php:166 PHP Strict standards: Non-static method PEAR::isError() should not be called statically in /usr/share/php/Console/Getopt.php on line 167 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. Console_Getopt::getopt() /usr/bin/php_beautifier:84 PHP 3. Console_Getopt::doGetopt() /usr/share/php/Console/Getopt.php:92 PHP Strict standards: Non-static method PEAR::isError() should not be called statically in /usr/bin/php_beautifier on line 85 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 650 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 697 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 757 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 786 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 914 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 1577 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 1607 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 2038 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Config.php on line 2091 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Registry.php on line 322 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Registry.php on line 1450 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26 PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/PEAR/Registry.php on line 1458 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26 PHP Strict standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 158 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26 PHP Strict standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 167 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26 PHP Strict standards: Non-static method System::tmpdir() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 176 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26 PHP Strict standards: Non-static method System::which() should not be called statically, assuming $this from incompatible context in /usr/share/php/PEAR/Config.php on line 228 PHP Stack trace: PHP 1. {main}() /usr/bin/php_beautifier:0 PHP 2. PHP_Beautifier_Batch->addFilter() /usr/bin/php_beautifier:207 PHP 3. PHP_Beautifier_Decorator->__call() /usr/bin/php_beautifier:207 PHP 4. call_user_func_array() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 5. PHP_Beautifier->addFilter() /usr/share/php/PHP/Beautifier/Decorator.php:47 PHP 6. PHP_Beautifier->addFilterFile() /usr/share/php/PHP/Beautifier.php:448 PHP 7. include_once() /usr/share/php/PHP/Beautifier.php:511 PHP 8. require_once() /usr/share/php/PHP/Beautifier/Filter/Pear.filter.php:26

aasanchez avatar Jan 06 '13 05:01 aasanchez

I changed /usr/bin/php_beautifier line 55 from

error_reporting(E_ALL);

to

error_reporting(E_ALL & ~E_STRICT);

which solved the issue. No more annoying STRICT errors.

bibstha avatar Feb 07 '13 10:02 bibstha

if you are running php 5.4, you might also add ~E_DEPRECATED

bibstha avatar Feb 07 '13 10:02 bibstha

I open in the Sublime Text 2 the file /usr/bin/php_beautifier and changed (line 52)

/**
* Require for PHP_Beautifier_Batch
*/
require_once 'PHP/Beautifier/Batch.php';
define('PHP_Beautifier_WINDOWS', substr(PHP_OS, 0, 3) == 'WIN');
error_reporting(E_ALL);``

to

/**
* Require for PHP_Beautifier_Batch
*/
require_once 'PHP/Beautifier/Batch.php';
define('PHP_Beautifier_WINDOWS', substr(PHP_OS, 0, 3) == 'WIN');
error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);

It's work for me

fernandobritofl avatar Feb 26 '13 04:02 fernandobritofl

I changed /usr/bin/php_beautifier line 55 from

error_reporting(E_ALL); to

error_reporting(E_ALL & ~E_STRICT);

This works for me, too.

cisolarix avatar Sep 02 '13 02:09 cisolarix

Worked for me , thanks!!!

bitclaw avatar Dec 28 '13 14:12 bitclaw

Thanks! Confirmed here, too (using PHP 5.5.8)

pixelchutes avatar Feb 02 '14 03:02 pixelchutes

I got this same list of warnings, no one of them is critical but when i choose Format: php from list or hit crt+alt+f nothing change. I'm using Ubuntu 13.04, sublime 2.0.2 and PHP 5.4.9-4ubuntu2.4 (cli) (built: Dec 12 2013 04:26:30)

marcinmierzejewski1024 avatar Apr 11 '14 17:04 marcinmierzejewski1024

@fernandobritofl Thanks, This also work for me.

zeroleaf avatar May 20 '14 09:05 zeroleaf

Hi Everyone,

i am new to this group & would require your help, as i am getting the below error

C:\wamp\bin\php\php5.5.12>php C:/Users/srinivasrao1/Downloads/swanhart-tools/fle views/consumer/add_table.php --schema=test --table=demo

trict standards: Non-static method PEAR::isError() should not be called statica ly, assuming $this from incompatible context in C:\pear\php\Console\Getopt.php n line 87

all Stack: 0.0020 240776 1. {main}() C:\Users\srinivasrao1\Downloads\swanhart-too s\flexviews\consumer\add_table.php:0 0.0040 470864 2. get_commandline() C:\Users\srinivasrao1\Downloads\swa hart-tools\flexviews\consumer\add_table.php:28 0.0050 472672 3. Console_Getopt->getopt2() C:\Users\srinivasrao1\Downl ads\swanhart-tools\flexviews\consumer\add_table.php:13 0.0050 472936 4. Console_Getopt->doGetopt() C:\pear\php\Console\Getopt php:68

trict standards: Non-static method PEAR::isError() should not be called statica ly, assuming $this from incompatible context in C:\pear\php\Console\Getopt.php n line 128

all Stack: 0.0020 240776 1. {main}() C:\Users\srinivasrao1\Downloads\swanhart-too s\flexviews\consumer\add_table.php:0 0.0040 470864 2. get_commandline() C:\Users\srinivasrao1\Downloads\swa hart-tools\flexviews\consumer\add_table.php:28 0.0050 472672 3. Console_Getopt->getopt2() C:\Users\srinivasrao1\Downl ads\swanhart-tools\flexviews\consumer\add_table.php:13 0.0050 472936 4. Console_Getopt->doGetopt() C:\pear\php\Console\Getopt php:68

trict standards: Non-static method PEAR::isError() should not be called statica ly, assuming $this from incompatible context in C:\pear\php\Console\Getopt.php n line 128

all Stack: 0.0020 240776 1. {main}() C:\Users\srinivasrao1\Downloads\swanhart-too s\flexviews\consumer\add_table.php:0 0.0040 470864 2. get_commandline() C:\Users\srinivasrao1\Downloads\swa hart-tools\flexviews\consumer\add_table.php:28 0.0050 472672 3. Console_Getopt->getopt2() C:\Users\srinivasrao1\Downl ads\swanhart-tools\flexviews\consumer\add_table.php:13 0.0050 472936 4. Console_Getopt->doGetopt() C:\pear\php\Console\Getopt php:68

trict standards: Non-static method PEAR::isError() should not be called statica ly in C:\Users\srinivasrao1\Downloads\swanhart-tools\flexviews\consumer\add_tab e.php on line 14

all Stack: 0.0020 240776 1. {main}() C:\Users\srinivasrao1\Downloads\swanhart-too s\flexviews\consumer\add_table.php:0 0.0040 470864 2. get_commandline() C:\Users\srinivasrao1\Downloads\swa hart-tools\flexviews\consumer\add_table.php:28

could not read ini file: consumer.ini:\wamp\bin\php\php5.5.12>

can anyone please help me in knowing what is the issue & to resolve this

regards, srini

srinivasrao1 avatar Dec 22 '14 14:12 srinivasrao1