SublimeText / PhpBeautifier

Pear Php_beautifier plugin for Sublime Text 2
66 stars 17 forks source link

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

Open Goddard opened 11 years ago

Goddard commented 11 years ago

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

aasanchez commented 11 years ago

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

bibstha commented 11 years ago

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 commented 11 years ago

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

fernandobritofl commented 11 years ago

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

cisolarix commented 11 years ago

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.

bitclaw commented 10 years ago

Worked for me , thanks!!!

pixelchutes commented 10 years ago

Thanks! Confirmed here, too (using PHP 5.5.8)

marcinmierzejewski1024 commented 10 years ago

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)

zeroleaf commented 10 years ago

@fernandobritofl Thanks, This also work for me.

srinivasrao1 commented 9 years ago

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