mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-02 09:24:28 +02:00
fix php7.4 deprecation and remove php7.4 from travis allow_failures since php7.4 is current stable
This commit is contained in:
@@ -11,11 +11,10 @@ matrix:
|
|||||||
- php: 7.1
|
- php: 7.1
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
- php: 7.3
|
- php: 7.3
|
||||||
- php: 7.4snapshot
|
- php: 7.4
|
||||||
- php: nightly
|
- php: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: 7.4snapshot
|
|
||||||
- php: nightly
|
- php: nightly
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
@@ -28,7 +28,7 @@ class IncludePathTest extends PHPUnit_Smarty
|
|||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
restore_include_path();
|
ini_restore('include_path');
|
||||||
$this->smarty->disableSecurity();
|
$this->smarty->disableSecurity();
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
|
@@ -28,7 +28,7 @@ class FileIncludePathTest extends PHPUnit_Smarty
|
|||||||
*/
|
*/
|
||||||
protected function tearDown()
|
protected function tearDown()
|
||||||
{
|
{
|
||||||
restore_include_path();
|
ini_restore('include_path');
|
||||||
$this->smarty->disableSecurity();
|
$this->smarty->disableSecurity();
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user