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

ID: 18997
Updated by: ken@linux.ie
Reported By: danielc at analysisandsolutions dot com
Summary: remove error_reporting (for PEAR QA team)
Status: Open
Type: Bug
Package: Date_Holidays
PHP Version: 5.4.0alpha1
-Assigned To:
+Assigned To: kguest
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: kguest



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

[2011-11-21 14:41:31] danielc

-Package: DB_ldap2
+Package: Date_Holidays
Oops. I inadvertently put this on the DB_ldap package. Sorry.

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

[2011-11-14 18:06:35] danielc

Added #patch bug:18997;patch:qa;revision:1321293995;.

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

[2011-11-14 18:06:24] 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

  • Ken at Dec 4, 2011 at 12:02 am
    Edit report at https://pear.php.net/bugs/bug.php?id=18997&edit=1

    ID: 18997
    Updated by: ken@linux.ie
    Reported By: danielc at analysisandsolutions dot com
    Summary: remove error_reporting (for PEAR QA team)
    -Status: Assigned
    +Status: Closed
    Type: Bug
    Package: Date_Holidays
    PHP Version: 5.4.0alpha1
    Assigned To: kguest
    Roadmap Versions:
    New Comment:

    -Status: Assigned
    +Status: Closed
    This bug has been fixed in SVN.

    If this was a documentation problem, the fix will appear on pear.php.net
    by the end of next Sunday (CET).

    If this was a problem with the pear.php.net website, the change should
    be live shortly.

    Otherwise, the fix will appear in the package's next release.

    Thank you for the report and for helping us make PEAR better.




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

    [2011-12-04 01:00:09] kguest

    -Assigned To:
    +Assigned To: kguest


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

    [2011-11-21 14:41:31] danielc

    -Package: DB_ldap2
    +Package: Date_Holidays
    Oops. I inadvertently put this on the DB_ldap package. Sorry.

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

    [2011-11-14 18:06:35] danielc

    Added #patch bug:18997;patch:qa;revision:1321293995;.

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

    [2011-11-14 18:06:24] 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
postedDec 4, '11 at 12:00a
activeDec 4, '11 at 12:02a
posts2
users1
websitepear.php.net

1 user in discussion

Ken: 2 posts

People

Translate

site design / logo © 2021 Grokbase