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

ID: 19041
Updated by: [email protected]
Reported By: danielc at analysisandsolutions dot com
Summary: remove error_reporting (for PEAR QA team)
Status: Open
Type: Bug
-Package: File
+Package: File_CSV
Package Version: SVN
PHP Version: 5.4.0alpha1
Roadmap Versions:
New Comment:

-Package: File
+Package: File_CSV
This is suppose to be in the File_CSV package. Seems in the patch there
is File_Util
as well.


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

[2011-11-15 03:53:12] danielc

Added #patch bug:19041;patch:qa;revision:1321329192;.

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

[2011-11-15 03:53:00] danielc

Description:
------------
Hi:

The PEAR Quality Assurance team is working to get all unit tests passing
in all PEAR packages. We will then collaborate with the PHP QA team to
get PEAR's unit tests onto PHP's Continuous Integration server, which
will be running the latest versions of PHP 5.3, 5.4 and trunk. The goal
is to improve PHP's stability and quality. Your help is needed,
please.

In a moment I will attach a patch removing error_reporting settings from
your package. Please apply this patch as soon as possible.

These changes are necessary for several reasons, some of which include:
* What is contained in E_ALL shifts over time.
* Some test runs need to suppress deprecated behaviors.
* Some test runs seek deprecated and or strict errors.

Error reporting levels should be set when executing the test suite.
Here are examples:

PEAR RUN-TEST:
cd /path/to/package
pear run-tests -i "-d error_reporting=22527" -r tests

PHPUNIT:
cd /path/to/package
phpunit -d error_reporting=22527 tests/AllTests

PHP RUN-TESTS:
cd /path/to/package
php /path/to/run-tests.php -d error_reporting=22527 tests

Thank you for making PEAR and PHP better,

--Dan

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

Search Discussions

  • Danielc at Nov 15, 2011 at 3:10 am
    Edit report at http://pear.php.net/bugs/bug.php?id=19041&edit=1

    ID: 19041
    Updated by: [email protected]
    Reported By: danielc at analysisandsolutions dot com
    Summary: remove error_reporting (for PEAR QA team)
    Status: Open
    Type: Bug
    Package: File_CSV
    PHP Version: 5.4.0alpha1
    Roadmap Versions:
    New Comment:

    Note, all files patched are in the pear/packages/File/tests directory.


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

    [2011-11-15 03:58:57] dufuz

    -Package: File
    +Package: File_CSV
    This is suppose to be in the File_CSV package. Seems in the patch there
    is File_Util
    as well.

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

    [2011-11-15 03:53:12] danielc

    Added #patch bug:19041;patch:qa;revision:1321329192;.

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

    [2011-11-15 03:53:00] danielc

    Description:
    ------------
    Hi:

    The PEAR Quality Assurance team is working to get all unit tests passing
    in all PEAR packages. We will then collaborate with the PHP QA team to
    get PEAR's unit tests onto PHP's Continuous Integration server, which
    will be running the latest versions of PHP 5.3, 5.4 and trunk. The goal
    is to improve PHP's stability and quality. Your help is needed,
    please.

    In a moment I will attach a patch removing error_reporting settings from
    your package. Please apply this patch as soon as possible.

    These changes are necessary for several reasons, some of which include:
    * What is contained in E_ALL shifts over time.
    * Some test runs need to suppress deprecated behaviors.
    * Some test runs seek deprecated and or strict errors.

    Error reporting levels should be set when executing the test suite.
    Here are examples:

    PEAR RUN-TEST:
    cd /path/to/package
    pear run-tests -i "-d error_reporting=22527" -r tests

    PHPUNIT:
    cd /path/to/package
    phpunit -d error_reporting=22527 tests/AllTests

    PHP RUN-TESTS:
    cd /path/to/package
    php /path/to/run-tests.php -d error_reporting=22527 tests

    Thank you for making PEAR and PHP better,

    --Dan

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 15, '11 at 2:59a
activeNov 15, '11 at 3:10a
posts2
users2
websitepear.php.net

2 users in discussion

Helgith: 1 post Danielc: 1 post

People

Translate

site design / logo © 2023 Grokbase