Overview
Comment: | Ajout méthodes supprimées |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
eb125371dd28a082af21ebe5748704c8 |
User & Date: | bohwaz on 2017-09-08 06:29:37 |
Other Links: | branch diff | manifest | tags |
Context
2017-09-20
| ||
00:35 | Inversion de l'ordre des comptes dans la saisie de virement pour coller à la logique de compta "simple" check-in: 384650522b user: bohwaz tags: dev | |
2017-09-08
| ||
06:29 | Ajout méthodes supprimées check-in: eb125371dd user: bohwaz tags: dev | |
04:55 | Pas déprécié mais supprimé check-in: a63fb498e4 user: bohwaz tags: dev | |
Changes
Modified tools/plugin_check_0.8.php from [5043437781] to [df13be68be].
︙ | ︙ | |||
13 14 15 16 17 18 19 | assert(is_readable($dir), 'Le répertoire du plugin n\'est pas lisible'); assert(is_dir($dir), sprintf('%s n\'est pas un répertoire', $dir)); assert(file_exists($dir . 'garradin_plugin.ini'), sprintf('%s n\'est pas un répertoire de plugin Garradin', $dir)); $dir_iterator = new RecursiveDirectoryIterator(substr($dir, 0, -1), FilesystemIterator::SKIP_DOTS); $iterator = new RecursiveIteratorIterator($dir_iterator, RecursiveIteratorIterator::SELF_FIRST); | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | assert(is_readable($dir), 'Le répertoire du plugin n\'est pas lisible'); assert(is_dir($dir), sprintf('%s n\'est pas un répertoire', $dir)); assert(file_exists($dir . 'garradin_plugin.ini'), sprintf('%s n\'est pas un répertoire de plugin Garradin', $dir)); $dir_iterator = new RecursiveDirectoryIterator(substr($dir, 0, -1), FilesystemIterator::SKIP_DOTS); $iterator = new RecursiveIteratorIterator($dir_iterator, RecursiveIteratorIterator::SELF_FIRST); https://fossil.kd2.org/garradin-plugins/timeline $base = realpath($dir); foreach ($iterator as $file) { if ($file->isDir()) { // Skip directories |
︙ | ︙ | |||
51 52 53 54 55 56 57 58 59 60 61 62 63 64 | '->simpleStatementFetchAssoc', '->simpleStatementFetch', '->simpleStatement', '->escapeString', '->simpleExec', '->simpleUpdate', '->simpleInsert', ]; $content = file_get_contents($file); foreach ($deprecated_php_functions as $func) { if (stripos($content, $func) !== false) | > > > | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | '->simpleStatementFetchAssoc', '->simpleStatementFetch', '->simpleStatement', '->escapeString', '->simpleExec', '->simpleUpdate', '->simpleInsert', 'utils::get(', 'utils::post(', 'utils::CRSF', ]; $content = file_get_contents($file); foreach ($deprecated_php_functions as $func) { if (stripos($content, $func) !== false) |
︙ | ︙ |