Test Failed
Push — master ( d44d33...3834a0 )
by Joe
03:10
created
src/Loader.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@
 block discarded – undo
33 33
 	 * @param bool $include_admin
34 34
 	 * @return array of routes
35 35
 	 */
36
-	public function get_routes($include_admin = FALSE) {
36
+	public function get_routes($include_admin = false) {
37 37
 		//if ($include_admin === FALSE && $GLOBALS['tf']->ima === 'admin')
38 38
 			//$include_admin = TRUE;
39 39
 		$routes = array_merge($this->public_routes, $this->routes);
40
-		if ($include_admin === TRUE)
40
+		if ($include_admin === true)
41 41
 			$routes = array_merge($this->admin_routes, $routes);
42 42
 		uksort($routes, function($a, $b) {
43 43
 			if (strlen($a) == strlen($b)) {
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
 			mkdir($path, 0777, true);
256 256
 			if (!is_dir($path))
257 257
 				throw new \Exception('Path Not Found: '.$path);
258
-			if ($event->getIO()->isVerbose() === TRUE)
258
+			if ($event->getIO()->isVerbose() === true)
259 259
 				$event->getIO()->write(sprintf('Created Directory <info>%s</info>', $path));
260 260
 		}
261 261
 	}
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
 			touch($path);
274 274
 			if (!file_exists($path))
275 275
 				throw new \Exception('File Not Found: '.$path);
276
-			if ($event->getIO()->isVerbose() === TRUE)
276
+			if ($event->getIO()->isVerbose() === true)
277 277
 				$event->getIO()->write(sprintf('Created File <info>%s</info>', $path));
278 278
 		}
279 279
 	}
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	 * @throws \Exception
288 288
 	 */
289 289
 	public static function runProcess(Event $event, $commandline) {
290
-		if ($event->getIO()->isVerbose() === TRUE)
290
+		if ($event->getIO()->isVerbose() === true)
291 291
 			$event->getIO()->write(sprintf('Running <info>%s</info>', $commandline));
292 292
 		exec($commandline, $output, $return);
293 293
 		if ($return != 0)
Please login to merge, or discard this patch.
src/Installer.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 * @param Filesystem      $filesystem
51 51
 	 * @param BinaryInstaller $binaryInstaller
52 52
 	 */
53
-	public function __construct(IOInterface $io, Composer $composer, $type = 'library', Filesystem $filesystem = NULL, BinaryInstaller $binaryInstaller = NULL) {
53
+	public function __construct(IOInterface $io, Composer $composer, $type = 'library', Filesystem $filesystem = null, BinaryInstaller $binaryInstaller = null) {
54 54
 		$this->composer = $composer;
55 55
 		$this->downloadManager = $composer->getDownloadManager();
56 56
 		$this->io = $io;
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 	 * @param PackageInterface $package Package instance
159 159
 	 */
160 160
 	public function ensureBinariesPresence(PackageInterface $package) {
161
-		$this->binaryInstaller->installBinaries($package, $this->getInstallPath($package), FALSE);
161
+		$this->binaryInstaller->installBinaries($package, $this->getInstallPath($package), false);
162 162
 	}
163 163
 
164 164
 	/**
Please login to merge, or discard this patch.