Skip to content

Commit 2cc697e

Browse files
committed
Fixed build
1 parent 33b890d commit 2cc697e

File tree

5 files changed

+4
-21
lines changed

5 files changed

+4
-21
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"require-dev": {
2424
"phing/phing": "2.17.2",
2525
"php-parallel-lint/php-parallel-lint": "1.3.2",
26-
"phpstan/phpstan": "1.5.0",
26+
"phpstan/phpstan": "1.4.10|1.5.0",
2727
"phpstan/phpstan-deprecation-rules": "1.0.0",
2828
"phpstan/phpstan-phpunit": "1.0.0",
2929
"phpstan/phpstan-strict-rules": "1.1.0",

tests/Sniffs/Classes/data/parentCallSpacingNoErrors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php // lint >= 7.4
22

33
class X extends Whatever
44
{

tests/Sniffs/Functions/RequireTrailingCommaInCallSniffTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function testErrors(): void
2121
'enable' => true,
2222
]);
2323

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

2626
self::assertSniffError($report, 5, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
2727
self::assertSniffError($report, 12, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
@@ -38,8 +38,7 @@ public function testErrors(): void
3838
self::assertSniffError($report, 83, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
3939
self::assertSniffError($report, 91, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
4040
self::assertSniffError($report, 99, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
41-
self::assertSniffError($report, 107, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
42-
self::assertSniffError($report, 114, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
41+
self::assertSniffError($report, 106, RequireTrailingCommaInCallSniff::CODE_MISSING_TRAILING_COMMA);
4342

4443
self::assertAllFixedInFile($report);
4544
}

tests/Sniffs/Functions/data/requireTrailingCommaInCallErrors.fixed.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@ function () {
9999
},
100100
);
101101

102-
call(<<<EOM
103-
This command will execute 'npm run' with a specified task.
104-
105-
Example:
106-
- code:npm --build-all will build the client resources for the core, the project zed and the project yves code
107-
EOM,
108-
);
109-
110102
call(
111103
OPTION_TASK_BUILD_YVES,
112104
OPTION_TASK_BUILD_YVES_SHORT,

tests/Sniffs/Functions/data/requireTrailingCommaInCallErrors.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,6 @@ function () {
9999
}
100100
);
101101

102-
call(<<<EOM
103-
This command will execute 'npm run' with a specified task.
104-
105-
Example:
106-
- code:npm --build-all will build the client resources for the core, the project zed and the project yves code
107-
EOM
108-
);
109-
110102
call(
111103
OPTION_TASK_BUILD_YVES,
112104
OPTION_TASK_BUILD_YVES_SHORT,

0 commit comments

Comments
 (0)