Skip to content

Commit

Permalink
Disable E_STRICT errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed May 10, 2014
1 parent f2be8a6 commit d3f1d64
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<phpunit bootstrap="./tests/bootstrap.php">
</phpunit>
1 change: 1 addition & 0 deletions tests/Cache_Lite_Function_classical.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Cache_Lite::Cache_Lite_Function (classical)
--FILE--
<?php

require_once __DIR__ . '/bootstrap.php';
require_once __DIR__ . '/callcache.inc';
require_once __DIR__ . '/tmpdir.inc';
require_once __DIR__ . '/cache_lite_function_base.inc';
Expand Down
1 change: 1 addition & 0 deletions tests/Cache_Lite_automaticCleaning.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Cache_Lite::Cache_Lite (automaticCleaning)
--FILE--
<?php

require_once __DIR__ . '/bootstrap.php';
require_once __DIR__ . '/callcache.inc';
require_once __DIR__ . '/tmpdir.inc';
require_once __DIR__ . '/cache_lite_base.inc';
Expand Down
1 change: 1 addition & 0 deletions tests/Cache_Lite_error.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Cache_Lite::Cache_Lite (error)
--FILE--
<?php

require_once __DIR__ . '/bootstrap.php';
require_once __DIR__ . '/callcache.inc';
require_once __DIR__ . '/tmpdir.inc';
require_once __DIR__ . '/cache_lite_base.inc';
Expand Down
1 change: 1 addition & 0 deletions tests/Cache_Lite_error2.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Cache_Lite::Cache_Lite (error2)
--FILE--
<?php

require_once __DIR__ . '/bootstrap.php';
require_once __DIR__ . '/callcache.inc';
require_once __DIR__ . '/tmpdir.inc';
require_once __DIR__ . '/cache_lite_base.inc';
Expand Down
3 changes: 3 additions & 0 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

error_reporting(E_ALL ^ E_STRICT);
1 change: 1 addition & 0 deletions tests/pearbug13693.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pearbug13693
--FILE--
<?php
require_once __DIR__ . '/bootstrap.php';
require_once __DIR__ . '/../Cache/Lite.php';

// Create temp dir
Expand Down

0 comments on commit d3f1d64

Please sign in to comment.