From 8435fd5437a14bc65aa6dfc473480a11ef1127b6 Mon Sep 17 00:00:00 2001 From: mgp25 Date: Fri, 13 Apr 2018 16:08:06 +0000 Subject: [PATCH] Apply fixes from StyleCI --- devtools/checkStyle.php | 2 +- examples/GetDefinition.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devtools/checkStyle.php b/devtools/checkStyle.php index 2fc5ab8..ffa3dcb 100644 --- a/devtools/checkStyle.php +++ b/devtools/checkStyle.php @@ -115,7 +115,7 @@ private function _processFile( $params = explode(', ', $params); $outputLines[] = $funcstart.'('.PHP_EOL; - for ($i = 0, $len = count($params); $i < $len; ++$i) { + for ($i = 0, $len = count($params); $i < $len; $i++) { $newline = ' '.$params[$i]; if ($i == ($len - 1)) { $newline .= ')'.PHP_EOL; diff --git a/examples/GetDefinition.php b/examples/GetDefinition.php index 02ac626..7744b58 100644 --- a/examples/GetDefinition.php +++ b/examples/GetDefinition.php @@ -16,5 +16,5 @@ foreach ($defintions as $definition) { echo $i.'. Tipo: '.$definition->getType()."\n"; echo ' DefiniciĆ³n: '.$definition->getDefinition()."\n\n"; - ++$i; + $i++; }