Skip to content

Commit f64fbbd

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions/github-script-9.0.0
2 parents b17d2cb + 8f7b03f commit f64fbbd

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ updates:
88
commit-message:
99
prefix: "deps"
1010
include: "scope"
11+
ignore:
12+
# PHP 8.1 サポート維持のため phpunit はメジャー更新しない
13+
# (phpunit 11=PHP8.2, 12=8.3, 13=8.4 を要求するため)
14+
- dependency-name: "phpunit/phpunit"
15+
update-types: ["version-update:semver-major"]
1116

1217
- package-ecosystem: "github-actions"
1318
directory: "/"

.github/workflows/claude-code-review.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ on:
1212

1313
jobs:
1414
claude-review:
15+
# Skip on Dependabot PRs: such PRs may modify this workflow file (e.g. bumping
16+
# the actions/checkout SHA), which makes claude-code-action's OIDC token exchange
17+
# fail with "Workflow validation failed" because the workflow no longer matches the
18+
# version on the default branch. Skipping avoids that expected, unavoidable failure.
19+
if: github.actor != 'dependabot[bot]'
20+
1521
# Optional: Filter by PR author
1622
# if: |
1723
# github.event.pull_request.user.login == 'external-contributor' ||

tests/BCMathTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2025,8 +2025,10 @@ public function testRoundingModeEnvironmentDetection(): void
20252025
];
20262026

20272027
foreach ($expectedCases as $caseName) {
2028+
// enum_exists('RoundingMode') は冒頭の markTestSkipped ガードで true 確定済みのため、
2029+
// ここでは defined() のみ検証する(PHPStan の booleanAnd.leftAlwaysTrue 回避)。
20282030
$this->assertTrue(
2029-
enum_exists('RoundingMode') && defined("RoundingMode::{$caseName}"),
2031+
defined("RoundingMode::{$caseName}"),
20302032
"RoundingMode::{$caseName} should be available"
20312033
);
20322034
}

0 commit comments

Comments
 (0)