mdsf/tools/
mago_lint_fix_unsafe.rs

1//!
2//! THIS FILE IS GENERATED USING CODE - DO NOT EDIT MANUALLY
3//!
4
5use crate::runners::CommandType;
6
7#[inline]
8pub fn set_args(
9    mut cmd: std::process::Command,
10    file_path: &std::path::Path,
11) -> std::process::Command {
12    cmd.arg("lint");
13    cmd.arg("--fix");
14    cmd.arg("--potentially-unsafe");
15    cmd.arg("--unsafe");
16    cmd.arg(file_path);
17    cmd
18}
19
20pub const COMMANDS: [CommandType; 2] =
21    [CommandType::PhpVendor("mago"), CommandType::Direct("mago")];
22
23pub const IS_STDIN: bool = false;