Skip to content

Commit 8f8d2e7

Browse files
committed
lint
1 parent 1b06e0a commit 8f8d2e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Plugin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function handleOriginalArguments(array $arguments): void
116116
$outputPath = explode('=', $argument)[1] ?? null;
117117

118118
if (empty($outputPath)) {
119-
Output::errorMessage("No output path provided for [--profanity-json].");
119+
Output::errorMessage('No output path provided for [--profanity-json].');
120120
$this->exit(1);
121121
}
122122

@@ -146,7 +146,7 @@ public function handleOriginalArguments(array $arguments): void
146146
$source = ConfigurationSourceDetector::detect();
147147

148148
if ($source === []) {
149-
Output::errorMessage("No source section found. Did you forget to add a `source` section to your `phpunit.xml` file?");
149+
Output::errorMessage('No source section found. Did you forget to add a `source` section to your `phpunit.xml` file?');
150150

151151
$this->exit(1);
152152
}
@@ -207,7 +207,7 @@ function (Result $result) use (&$filesWithProfanity, &$totalProfanities): void {
207207
if ($exitCode === 1) {
208208
Output::errorMessage("Found $totalProfanities instances of profanity in $filesWithProfanityCount files");
209209
} else {
210-
Output::successMessage("No profanity found in your application!");
210+
Output::successMessage('No profanity found in your application!');
211211
}
212212

213213
$this->output->writeln(['']);

0 commit comments

Comments
 (0)