Skip to content

Commit d398e69

Browse files
author
Oleksii Korshenko
committed
MAGETWO-66227: [GitHub][PR] Upgrade PHP CS Fixer to v2 #8822
1 parent 1c898f0 commit d398e69

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dev/tools/Magento/Tools/StaticReview/pre-commit

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* For the full copyright and license information, please view the LICENSE
99
* file that was distributed with this source code.
1010
*
11-
* @see http://github.com/sjparkinson/static-review/blob/master/LICENSE.md
11+
* @see https://github.com/sjparkinson/static-review/blob/master/LICENSE
1212
*/
1313
$included = include __DIR__ . '/../../../../../vendor/autoload.php';
1414
if (!$included) {
@@ -30,7 +30,6 @@ use StaticReview\Review\General\LineEndingsReview;
3030
use StaticReview\Review\General\NoCommitTagReview;
3131
use StaticReview\Review\PHP\PhpLeadingLineReview;
3232
use StaticReview\Review\PHP\PhpLintReview;
33-
use StaticReview\Review\PHP\PhpCodeSnifferReview;
3433
use Magento\Tools\StaticReview\PhpCsFixerReview;
3534
use StaticReview\StaticReview;
3635
use StaticReview\VersionControl\GitVersionControl;
@@ -62,11 +61,11 @@ if ($reporter->hasIssues()) {
6261
$climate->red($issue);
6362
}
6463

65-
$climate->out('')->red('✘ Please fix the errors above.');
64+
$climate->out('')->red(' Please fix the errors above.');
6665

6766
exit(1);
6867
} else {
69-
$climate->out('')->green('вњ” Looking good.')->white('Have you tested everything?');
68+
$climate->out('')->green(' Looking good.')->white('Have you tested everything?');
7069

7170
exit(0);
7271
}

0 commit comments

Comments
 (0)