summaryrefslogtreecommitdiff
path: root/convertsyntax.php
diff options
context:
space:
mode:
authorUrban Müller2018-06-21 16:12:20 +0200
committerUrban Müller2018-06-21 16:12:20 +0200
commit05e7ceefa1f0a29c665381b54ac882f260ae6c22 (patch)
treed9107f13ce76a21d77e8be2670f0b2e8d96f19e7 /convertsyntax.php
parentc8319c784267f81e2884a076365b8ca36f4ce0b2 (diff)
downloaditools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.gz
itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.tar.bz2
itools-05e7ceefa1f0a29c665381b54ac882f260ae6c22.zip
use safer it:: variants of file funcs
Diffstat (limited to 'convertsyntax.php')
-rwxr-xr-xconvertsyntax.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/convertsyntax.php b/convertsyntax.php
index ef91c93..b8ea34b 100755
--- a/convertsyntax.php
+++ b/convertsyntax.php
@@ -20,7 +20,7 @@ $result = 0;
foreach ($files as $file)
{
- $converter = new it_syntaxconverter(file_get_contents($file), $mode);
+ $converter = new it_syntaxconverter(it::file_get_contents($file), $mode);
if ($mode == 'test')
{
@@ -37,7 +37,7 @@ foreach ($files as $file)
echo $converter->output;
if ($opts['verbose'] && $converter->changes)
- fputs(fopen("php://stderr", "w"), "$converter->changes changes made to $file\n");
+ fputs(it::fopen("php://stderr", "w"), "$converter->changes changes made to $file\n");
}
}