diff --git a/src/Composer/Downloader/SvnDownloader.php b/src/Composer/Downloader/SvnDownloader.php index 045bf6a81..6ded2e93f 100644 --- a/src/Composer/Downloader/SvnDownloader.php +++ b/src/Composer/Downloader/SvnDownloader.php @@ -85,7 +85,7 @@ class SvnDownloader extends VcsDownloader protected function execute($command, SvnUtil $util) { $status = $this->process->execute($command, $output); - if ($status == 0) { + if (0 === $status) { return $output; } diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index b9ce93ccc..74c188da7 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/src/Composer/Repository/Vcs/SvnDriver.php @@ -82,7 +82,7 @@ class SvnDriver extends VcsDriver $output ); - if ($status == 0) { + if (0 === $status) { return $output; }