1111
1212namespace Symfony \Component \Console \Helper ;
1313
14+ use Symfony \Component \Console \Exception \InvalidArgumentException ;
15+ use Symfony \Component \Console \Exception \LogicException ;
1416use Symfony \Component \Console \Output \OutputInterface ;
1517
1618/**
@@ -53,7 +55,7 @@ public function __construct(OutputInterface $output, $format = null, $indicatorC
5355 $ indicatorValues = array_values ($ indicatorValues );
5456
5557 if (2 > count ($ indicatorValues )) {
56- throw new \ InvalidArgumentException ('Must have at least 2 indicator value characters. ' );
58+ throw new InvalidArgumentException ('Must have at least 2 indicator value characters. ' );
5759 }
5860
5961 $ this ->format = self ::getFormatDefinition ($ format );
@@ -118,7 +120,7 @@ public function getCurrentValue()
118120 public function start ($ message )
119121 {
120122 if ($ this ->started ) {
121- throw new \ LogicException ('Progress indicator already started. ' );
123+ throw new LogicException ('Progress indicator already started. ' );
122124 }
123125
124126 $ this ->message = $ message ;
@@ -137,7 +139,7 @@ public function start($message)
137139 public function advance ()
138140 {
139141 if (!$ this ->started ) {
140- throw new \ LogicException ('Progress indicator has not yet been started. ' );
142+ throw new LogicException ('Progress indicator has not yet been started. ' );
141143 }
142144
143145 if (!$ this ->output ->isDecorated ()) {
@@ -164,7 +166,7 @@ public function advance()
164166 public function finish ($ message )
165167 {
166168 if (!$ this ->started ) {
167- throw new \ LogicException ('Progress indicator has not yet been started. ' );
169+ throw new LogicException ('Progress indicator has not yet been started. ' );
168170 }
169171
170172 $ this ->message = $ message ;
0 commit comments