FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18920&edit=1

ID: 18920
Updated by: gsherwood@squiz.net
Reported By: lkraider+php at gmail dot com
Summary: Missing dependency on pear/PEAR
-Status: Open
+Status: Feedback
Type: Bug
Package: PHP_CodeSniffer
Operating System: Mac OSX Lion
Package Version: 1.3.0
PHP Version: 5.3.6
-Assigned To:
+Assigned To: squiz
Roadmap Versions:
New Comment:

-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: squiz
PHP_CodeSniffer is not a PEAR2 package so it doesnt work with pyrus. But
I have
actually removed the dependency on PEAR anyway (see request #18483) so
it
should work if you use the latest SVN checkout.


Previous Comments:
------------------------------------------------------------------------

[2011-10-20 20:46:36] lkraider

Description:
------------
After installing with pyrus and trying to run phpcs an error is shown.

Installing pear/PEAR fixes the issue.

Actual result:
--------------
PHP Warning: require_once(PEAR/Exception.php): failed to open stream:
No such file or directory in
/Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

Warning: require_once(PEAR/Exception.php): failed to open stream: No
such file or directory in
/Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17
PHP Fatal error: require_once(): Failed opening required
'PEAR/Exception.php' (include_path='.:/Users/paul/.pear/php') in
/Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

Fatal error: require_once(): Failed opening required
'PEAR/Exception.php' (include_path='.:/Users/paul/.pear/php') in
/Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

------------------------------------------------------------------------

Search Discussions

  • Lkraider+php at Oct 21, 2011 at 6:29 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18920&edit=1

    ID: 18920
    Updated by: lkraider+php@gmail.com
    Reported By: lkraider+php at gmail dot com
    Summary: Missing dependency on pear/PEAR
    -Status: Feedback
    +Status: Closed
    Type: Bug
    Package: PHP_CodeSniffer
    Operating System: Mac OSX Lion
    Package Version: 1.3.0
    PHP Version: 5.3.6
    Assigned To: squiz
    Roadmap Versions:
    New Comment:

    -Status: Feedback
    +Status: Closed
    Just tested and it seems to install and work fine without PEAR now.


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-10-20 23:18:15] squiz

    -Status: Open
    +Status: Feedback
    -Assigned To:
    +Assigned To: squiz
    PHP_CodeSniffer is not a PEAR2 package so it doesnt work with pyrus. But
    I have
    actually removed the dependency on PEAR anyway (see request #18483) so
    it
    should work if you use the latest SVN checkout.

    ------------------------------------------------------------------------

    [2011-10-20 20:46:36] lkraider

    Description:
    ------------
    After installing with pyrus and trying to run phpcs an error is shown.

    Installing pear/PEAR fixes the issue.

    Actual result:
    --------------
    PHP Warning: require_once(PEAR/Exception.php): failed to open stream:
    No such file or directory in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

    Warning: require_once(PEAR/Exception.php): failed to open stream: No
    such file or directory in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17
    PHP Fatal error: require_once(): Failed opening required
    'PEAR/Exception.php' (include_path='.:/Users/paul/.pear/php') in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

    Fatal error: require_once(): Failed opening required
    'PEAR/Exception.php' (include_path='.:/Users/paul/.pear/php') in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

    ------------------------------------------------------------------------
  • Brett Bieber at Oct 24, 2011 at 8:28 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18920&edit=1

    ID: 18920
    Updated by: brett.bieber@gmail.com
    Reported By: lkraider+php at gmail dot com
    Summary: Missing dependency on pear/PEAR
    Status: Closed
    Type: Bug
    Package: PHP_CodeSniffer
    Operating System: Mac OSX Lion
    Package Version: 1.3.0
    PHP Version: 5.3.6
    Assigned To: squiz
    Roadmap Versions:
    New Comment:

    @squiz, Pyrus can install PEAR packages as well. Looks like this change
    will fix it though. Thanks!


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-10-21 20:28:07] lkraider

    -Status: Feedback
    +Status: Closed
    Just tested and it seems to install and work fine without PEAR now.

    ------------------------------------------------------------------------

    [2011-10-20 23:18:15] squiz

    -Status: Open
    +Status: Feedback
    -Assigned To:
    +Assigned To: squiz
    PHP_CodeSniffer is not a PEAR2 package so it doesnt work with pyrus. But
    I have
    actually removed the dependency on PEAR anyway (see request #18483) so
    it
    should work if you use the latest SVN checkout.

    ------------------------------------------------------------------------

    [2011-10-20 20:46:36] lkraider

    Description:
    ------------
    After installing with pyrus and trying to run phpcs an error is shown.

    Installing pear/PEAR fixes the issue.

    Actual result:
    --------------
    PHP Warning: require_once(PEAR/Exception.php): failed to open stream:
    No such file or directory in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

    Warning: require_once(PEAR/Exception.php): failed to open stream: No
    such file or directory in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17
    PHP Fatal error: require_once(): Failed opening required
    'PEAR/Exception.php' (include_path='.:/Users/paul/.pear/php') in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

    Fatal error: require_once(): Failed opening required
    'PEAR/Exception.php' (include_path='.:/Users/paul/.pear/php') in
    /Users/paul/.pear/php/PHP/CodeSniffer/Exception.php on line 17

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedOct 20, '11 at 9:19p
activeOct 24, '11 at 8:28p
posts3
users3
websitepear.php.net

People

Translate

site design / logo © 2021 Grokbase