@@ -55,15 +55,15 @@ public function handle()
5555 $ sourceDirectory = realpath ($ this ->argument ('source-directory ' ));
5656
5757 if (!$ validator ->isValidSourceDirectory ($ sourceDirectory )) {
58- $ this ->error ("{$ sourceDirectory } not found " );
58+ $ this ->error ("PHP-Prefixer: {$ sourceDirectory } not found " );
5959
6060 return 1 ;
6161 }
6262
6363 $ targetDirectory = $ this ->argument ('target-directory ' );
6464
6565 if (!$ validator ->isValidTargetDirectory ($ targetDirectory )) {
66- $ this ->error ("{$ targetDirectory } not found " );
66+ $ this ->error ("PHP-Prefixer: {$ targetDirectory } not found " );
6767
6868 return 1 ;
6969 }
@@ -72,7 +72,7 @@ public function handle()
7272
7373 if (!$ validator ->isPersonalAccessToken ($ personalAccessToken )) {
7474 $ this ->error (
75- 'The Personal Access Token is invalid. Please, generate a new token on https://php-prefixer.com. '
75+ 'PHP-Prefixer: the Personal Access Token is invalid. Please, generate a new token on https://php-prefixer.com. '
7676 );
7777
7878 return 1 ;
@@ -82,7 +82,7 @@ public function handle()
8282
8383 if (!$ validator ->isValidProjectId ($ personalAccessToken , $ projectId )) {
8484 $ this ->error (
85- 'The Project ID is invalid '
85+ 'PHP-Prefixer: the Project ID is invalid '
8686 );
8787
8888 return 1 ;
@@ -92,7 +92,7 @@ public function handle()
9292
9393 if ($ githubAccessToken && !$ validator ->isValidGithubAccessToken ($ githubAccessToken )) {
9494 $ this ->error (
95- 'The Github Access Token is invalid '
95+ 'PHP-Prefixer: the Github Access Token is invalid '
9696 );
9797
9898 return 1 ;
@@ -145,23 +145,23 @@ private function renderOutput($state, $start)
145145
146146 switch ($ state ) {
147147 case 'success ' :
148- $ this ->info ('Project prefixed successfully. ' );
148+ $ this ->info ('PHP-Prefixer: project prefixed successfully ' );
149149 $ this ->info ($ formattedProcessingTime );
150150
151151 return 0 ;
152152 case 'cancelled ' :
153- $ this ->error ('Project prefixing cancelled. ' );
153+ $ this ->error ('PHP-Prefixer: project prefixing cancelled ' );
154154 $ this ->info ($ formattedProcessingTime );
155155
156156 return 1 ;
157157 case 'failed ' :
158- $ this ->error ('Project prefixing failed. ' );
158+ $ this ->error ('PHP-Prefixer: Project prefixing failed ' );
159159 $ this ->info ($ formattedProcessingTime );
160160
161161 return 1 ;
162162 }
163163
164- $ this ->error ('Project prefixing error. ( ' .$ state .') ' );
164+ $ this ->error ('PHP-Prefixer: project prefixing error ( ' .$ state .') ' );
165165 $ this ->info ($ formattedProcessingTime );
166166
167167 return 1 ;
0 commit comments