Skip to content

Commit b416374

Browse files
committed
bump dev deps
1 parent 61f7bb1 commit b416374

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/qa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
uses: shivammathur/setup-php@v2
1414
with:
1515
php-version: "8.4"
16-
tools: phpcs:3.12, php-cs-fixer:3.75, phpstan:2.1.11
16+
tools: phpcs:3.13, php-cs-fixer:3.75, phpstan:2.1.17
1717
coverage: none
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
"@open-cover",
7171
"@start"
7272
],
73-
"open-cover": "start chrome file:///D:/Coding/PHP/advent-of-code-solutions/.tools/phpunit-coverage/index.html",
74-
"open-doc": "start chrome file:///D:/Coding/PHP/advent-of-code-solutions/docs/index.html",
75-
"open-metrics": "start chrome file:///D:/Coding/PHP/advent-of-code-solutions/.tools/phpmetrics/index.html",
73+
"open-cover": "start chrome file:///E:/Coding/PHP/advent-of-code-solutions/.tools/phpunit-coverage/index.html",
74+
"open-doc": "start chrome file:///E:/Coding/PHP/advent-of-code-solutions/docs/index.html",
75+
"open-metrics": "start chrome file:///E:/Coding/PHP/advent-of-code-solutions/.tools/phpmetrics/index.html",
7676
"clean": [
7777
"if exist .tools\\.phpcs.cache del .tools\\.phpcs.cache",
7878
"if exist .tools\\.php-cs-fixer.cache del .tools\\.php-cs-fixer.cache",

phpcs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
phpcs configuration file.
44
5-
minimum version: ^3.12
5+
minimum version: ^3.13
66
77
@see https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset
88
-->

phpstan.dist.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PHPStan configuration file.
22
#
3-
# minimum version: ^2.1.11
3+
# minimum version: ^2.1.17
44
#
55
# @see https://phpstan.org/config-reference
66
parameters:

src/Aoc2021/Aoc2021Day04.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function mark(int $number): void
142142
if (($this->board[$number] ?? -1) == -1) {
143143
return;
144144
}
145-
$this->markedMask |= (1 << ($this->board[$number] ?? 0));
145+
$this->markedMask |= (1 << $this->board[$number]);
146146
foreach (self::WIN_MASKS as $mask) {
147147
if (($this->markedMask & $mask) == $mask) {
148148
$this->isWon = true;

src/Aoc2023/Aoc2023Day20.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public static function fromString(string $s): static
8383
if (count($a) != 2) {
8484
throw new \Exception('Invalid input');
8585
}
86-
// @phpstan-ignore new.static
86+
// @phpstan-ignore-next-line new.staticInAbstractClassStaticMethod
8787
$m = new static();
8888
$m->name = $a[0];
8989
$m->outputs = explode(', ', $a[1]);

0 commit comments

Comments
 (0)