Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Mar 25, 2022
1 parent e9dc93e commit cbfadfe
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 21 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"require-dev": {
"phing/phing": "2.17.2",
"php-parallel-lint/php-parallel-lint": "1.3.2",
"phpstan/phpstan": "1.5.0",
"phpstan/phpstan": "1.4.10|1.5.0",
"phpstan/phpstan-deprecation-rules": "1.0.0",
"phpstan/phpstan-phpunit": "1.0.0",
"phpstan/phpstan-strict-rules": "1.1.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/Sniffs/Classes/data/parentCallSpacingNoErrors.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php // lint >= 7.4

class X extends Whatever
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function testErrors(): void
'enable' => true,
]);

self::assertSame(17, $report->getErrorCount());
self::assertSame(16, $report->getErrorCount());

self::assertSniffError($report, 5, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
self::assertSniffError($report, 12, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
Expand All @@ -38,8 +38,7 @@ public function testErrors(): void
self::assertSniffError($report, 83, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
self::assertSniffError($report, 91, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
self::assertSniffError($report, 99, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
self::assertSniffError($report, 107, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
self::assertSniffError($report, 114, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
self::assertSniffError($report, 106, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);

self::assertAllFixedInFile($report);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ function () {
},
);

call(<<<EOM
This command will execute 'npm run' with a specified task.
Example:
- code:npm --build-all will build the client resources for the core, the project zed and the project yves code
EOM,
);

call(
OPTION_TASK_BUILD_YVES,
OPTION_TASK_BUILD_YVES_SHORT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ function () {
}
);

call(<<<EOM
This command will execute 'npm run' with a specified task.
Example:
- code:npm --build-all will build the client resources for the core, the project zed and the project yves code
EOM
);

call(
OPTION_TASK_BUILD_YVES,
OPTION_TASK_BUILD_YVES_SHORT,
Expand Down

0 comments on commit cbfadfe

Please sign in to comment.