Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion core/quality/runner/src/real/scripting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,13 @@ fn phpstan(backend: &RealBackend, call: &CheckCall) -> Result<Vec<FileFinding>,
)
.map_err(|err| execution(tool_id, format!("write phpstan config: {err}")))?;
let path_refs: Vec<&Path> = owned.iter().map(|(real, _)| real.as_path()).collect();
let invocation = commands::phpstan_check(&tool.binary, &neon, None, &path_refs);
let autoload = tool
.tool_files
.iter()
.any(|(rel, _)| rel == "dx-phpstan/ext/autoload.php")
.then(|| root.join("dx-phpstan/ext/autoload.php"));
let invocation =
commands::phpstan_check(&tool.binary, &neon, autoload.as_deref(), &path_refs);
let out = backend.run(tool_id, tool, &invocation, scratch)?;
let real_names: Vec<String> = owned
.iter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ stage fortitude classes=fortran sources=matrix/fortran_profile_strict.f90
completed_rounds 1
convergence STABLE
initial 1
initial ERROR fortitude S221 matrix/fortran_profile_strict.f90 89 116 fixable=false "Function missing result() specifier"
initial WARNING fortitude S221 matrix/fortran_profile_strict.f90 89 116 fixable=false "Function missing result() specifier"
terminal 1
terminal ERROR fortitude S221 matrix/fortran_profile_strict.f90 89 116 fixable=false "Function missing result() specifier"
terminal WARNING fortitude S221 matrix/fortran_profile_strict.f90 89 116 fixable=false "Function missing result() specifier"
replacements 0
2 changes: 1 addition & 1 deletion core/quality/testdata/runner_matrix_tests.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def _runner_matrix_test_impl(ctx):
})

launcher_env = []
for launcher in ["pydoclint", "psscriptanalyzer"]:
for launcher in ["julia_format", "pydoclint", "psscriptanalyzer"]:
if launcher in tools:
launcher_env.append({"key": "RUNFILES_DIR", "tool": launcher, "value": "$TEST_SRCDIR"})
for launcher in ["eslint", "gplint", "graphql_eslint", "prettier", "redocly", "remark", "stylelint"]:
Expand Down
2 changes: 1 addition & 1 deletion core/quality/tiers/fortitude/strict.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ select = [
"MOD021",
"MOD041",
"MOD051",
"OB001",
"OB011",
"OB012",
"OB013",
Expand Down Expand Up @@ -61,6 +60,7 @@ select = [
"S081",
"S091",
"S101",
"S221",
"S231",
"S232",
"S233",
Expand Down
3 changes: 0 additions & 3 deletions dx.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,3 @@ tier = "standard"
[families.go]
tier = "standard"

# The strict fortitude tier selects OB001, which the pinned fortitude removed.
[families.fortran]
tier = "standard"
Loading