mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
@@ -8,13 +8,13 @@ dist: trusty
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- php: 5.3
|
- php: 5.3
|
||||||
dist: precise
|
|
||||||
- php: 5.4
|
- php: 5.4
|
||||||
- php: 5.5
|
- php: 5.5
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
|
- php: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
BIN
libs/libs - Verknüpfung.lnk
Normal file
BIN
libs/libs - Verknüpfung.lnk
Normal file
Binary file not shown.
30
utilities/BuildExpectedFiles.php
Normal file
30
utilities/BuildExpectedFiles.php
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Created by PhpStorm.
|
||||||
|
* User: Uwe Tews
|
||||||
|
* Date: 25.10.2015
|
||||||
|
* Time: 23:58
|
||||||
|
*/
|
||||||
|
$sysplugins = array();
|
||||||
|
$iterator = new DirectoryIterator(__DIR__ . '/../libs/sysplugins');
|
||||||
|
foreach ($iterator as $file) {
|
||||||
|
if (!$file->isDot() && 'php' == $file->getExtension()) {
|
||||||
|
$filename = $file->getBasename();
|
||||||
|
$sysplugins[ $filename ] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$plugins = array();
|
||||||
|
$iterator = new DirectoryIterator(__DIR__ . '/../libs/plugins');
|
||||||
|
foreach ($iterator as $file) {
|
||||||
|
if (!$file->isDot() && 'php' == $file->getExtension()) {
|
||||||
|
$filename = $file->getBasename();
|
||||||
|
$plugins[ $filename ] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$code = file_get_contents(__DIR__ . '/../libs/sysplugins/smarty_internal_testinstall.php');
|
||||||
|
$expectedPlugins = '$expectedPlugins = ' . var_export($plugins, true);
|
||||||
|
$code = preg_replace('#\$expectedPlugins =[^;]+#', $expectedPlugins, $code);
|
||||||
|
$expectedSysplugins = '$expectedSysplugins = ' . var_export($sysplugins, true);
|
||||||
|
$code = preg_replace('#\$expectedSysplugins =[^;]+#', $expectedSysplugins, $code);
|
||||||
|
file_put_contents(__DIR__ . '/../libs/sysplugins/smarty_internal_testinstall.php', $code);
|
||||||
|
|
Reference in New Issue
Block a user