Skip to content

Commit

Permalink
MDB2 is now E_STRICT compliant.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/MDB2/trunk@324458 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Daniel Convissor committed Mar 22, 2012
1 parent bb1deb4 commit bb06318
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
1 change: 1 addition & 0 deletions package.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$version_api = $version_release;
$state = 'beta';
$notes = <<<EOT
- MDB2 is now E_STRICT compliant!
- Fix Bug #9502: Strong typing query result misbehaves [danielc]
- Fix Bug #16508: mdb2-2.5.0b1 not working with PHP 5.3.0 [quipo]
- Fix Bug #17552: MDB2_Driver_Manager_ibase::listTableConstraints returns list of indices [quipo]
Expand Down
20 changes: 3 additions & 17 deletions tests/README
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,16 @@ The test suite automatically builds the needed objects. But if it is
necessary to create the objects manually, follow the instructions in
dsn.inc, then run:

php import.schema.php
php import.schema.php


Execution
=========
To run the entire suite, call the following from the directory containing
the tests directory:

phpunit -d error_reporting=30719 tests
phpunit tests

To run a particular set of tests, name the file to be run, for example:

phpunit -d error_reporting=30719 tests/Standard/ApiTest.php

The error_reporting level used, above, shows everything except E_STRICT.
If another level is desired, consult the table, below.


Error Reporting Levels in PHP 5.3 and 5.4
=========================================

Deprecated Strict Value
---------- ------ -----
N N 22527
N Y 24575
Y N 30719
Y Y 32767
phpunit tests/Standard/ApiTest.php

0 comments on commit bb06318

Please sign in to comment.