From c7d6bbbacc3bb7d59f42581fff38be7c254a2c93 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 11 Jun 2014 09:56:44 +0200 Subject: [PATCH] [Process] Minor README update --- src/Symfony/Component/Process/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Process/README.md b/src/Symfony/Component/Process/README.md index 9bcc656b7d..c7e21386da 100644 --- a/src/Symfony/Component/Process/README.md +++ b/src/Symfony/Component/Process/README.md @@ -27,7 +27,7 @@ as it becomes available: $process = new Process('ls -lsa'); $process->run(function ($type, $buffer) { - if ('err' === $type) { + if (Process::ERR === $type) { echo 'ERR > '.$buffer; } else { echo 'OUT > '.$buffer; @@ -42,6 +42,6 @@ Resources You can run the unit tests with the following command: - $ cd path/to/Symfony/Component/XXX/ + $ cd path/to/Symfony/Component/Process/ $ composer.phar install $ phpunit