Passed
Push — dev ( 253515...9e3f3f )
by Darko
10:02
created
nntmux/NameFixer.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1795,7 +1795,7 @@  discard block
 block discarded – undo
1795 1795
 			);
1796 1796
 
1797 1797
 			if ($result instanceof \Traversable) {
1798
-				foreach ($result AS $res) {
1798
+				foreach ($result as $res) {
1799 1799
 					$floor = round(($res['relsize'] - $release['relsize']) / $res['relsize'] * 100, 1);
1800 1800
 					if ($floor >= -5 && $floor <= 5) {
1801 1801
 						$this->updateRelease(
@@ -1845,7 +1845,7 @@  discard block
 block discarded – undo
1845 1845
 			);
1846 1846
 
1847 1847
 			if ($result instanceof \Traversable) {
1848
-				foreach ($result AS $res) {
1848
+				foreach ($result as $res) {
1849 1849
 					if (preg_match('/^.+?SDPORN/i', $res["textstring"], $match)) {
1850 1850
 						$this->updateRelease(
1851 1851
 							$release,
@@ -1893,7 +1893,7 @@  discard block
 block discarded – undo
1893 1893
 			);
1894 1894
 
1895 1895
 			if ($result instanceof \Traversable) {
1896
-				foreach ($result AS $res) {
1896
+				foreach ($result as $res) {
1897 1897
 					if (preg_match('/^(.+?)\.srr/i', $res["textstring"], $match)) {
1898 1898
 						$this->updateRelease(
1899 1899
 							$release,
Please login to merge, or discard this patch.