mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-22 23:05:18 -04:00
switch travis to php 7.0
don't fail on deprecated function warnings remove debug
This commit is contained in:
+4
-1
@@ -1,6 +1,6 @@
|
||||
language: php
|
||||
php:
|
||||
- 5.6
|
||||
- 7.0
|
||||
|
||||
branches:
|
||||
only:
|
||||
@@ -8,6 +8,9 @@ branches:
|
||||
- 3.1.x
|
||||
- master
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
services:
|
||||
- mysql
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ class Xss_Security_Test extends Gallery_Unit_Test_Case {
|
||||
}
|
||||
}
|
||||
|
||||
print "checking view $view\n";
|
||||
$frame = null;
|
||||
$script_block = 0;
|
||||
$in_script_block = false;
|
||||
|
||||
@@ -25,7 +25,7 @@ class Gallery_Unit_Test_Controller extends Controller {
|
||||
|
||||
// Force strict behavior to flush out bugs early
|
||||
ini_set("display_errors", true);
|
||||
error_reporting(-1);
|
||||
error_reporting(E_ALL & ~E_DEPRECATED);
|
||||
|
||||
// Jump through some hoops to satisfy the way that we check for the site_domain in
|
||||
// config.php. We structure this such that the code in config will leave us with a
|
||||
|
||||
Reference in New Issue
Block a user