From 249d97f7cbc4cd26588667236cc937246631171e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Thu, 25 Feb 2016 21:01:51 +0000 Subject: [PATCH] Fix undefined var --- src/Composer/Command/StatusCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/StatusCommand.php b/src/Composer/Command/StatusCommand.php index eaf127feb..b16b3f394 100644 --- a/src/Composer/Command/StatusCommand.php +++ b/src/Composer/Command/StatusCommand.php @@ -89,7 +89,7 @@ EOT } // output errors/warnings - if (!$errors && !$unpushed) { + if (!$errors && !$unpushedChanges) { $io->writeError('No local changes'); } elseif ($errors) { $io->writeError('You have changes in the following dependencies:');