fix: remove shebang from RecoverySuggestion.php (PSR-12) #332

Merged
jmiller merged 2 commits from hotfix/recovery-suggestion-shebang into main 2026-07-04 20:40:59 +00:00
Owner

Gate 1 (Code Quality / PHPCS PSR-12) reported 1 error in lib/Enterprise/RecoverySuggestion.php. The file is a library class but opened with a #!/usr/bin/env php shebang before <?php, which trips the PSR-12 file-header rule. Removed the shebang so <?php is the first line. No behavior change.

Gate 1 (Code Quality / PHPCS PSR-12) reported 1 error in `lib/Enterprise/RecoverySuggestion.php`. The file is a library class but opened with a `#!/usr/bin/env php` shebang before `<?php`, which trips the PSR-12 file-header rule. Removed the shebang so `<?php` is the first line. No behavior change.
jmiller added 1 commit 2026-07-04 20:28:13 +00:00
fix: remove shebang from RecoverySuggestion.php (PSR-12)
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Universal: PR Check / Secret Scan (pull_request) Successful in 13s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 13s
Universal: PR Check / Validate PR (pull_request) Failing after 7s
Generic: Repo Health / Access control (pull_request) Successful in 1s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Universal: Build & Release / Promote to RC (pull_request) Failing after 11s
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Successful in 42s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 1m0s
Generic: Project CI / Tests (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: mokocli CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
3972e4fb84
A library class file must open with <?php as the first line; the
#!/usr/bin/env php shebang tripped the PSR-12 file-header check (Gate 1
Code Quality). Remove it.
jmiller added 1 commit 2026-07-04 20:35:52 +00:00
fix: wrap over-length line in RecoverySuggestion.php (PSR-12)
Universal: PR Check / Branch Policy (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
Generic: Repo Health / Access control (pull_request) Successful in 2s
Universal: PR Check / Validate PR (pull_request) Failing after 9s
Universal: PR Check / Secret Scan (pull_request) Successful in 12s
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 19s
Generic: Project CI / Lint & Validate (pull_request) Successful in 1m18s
Platform: mokocli CI / Gate 1: Code Quality (pull_request) Failing after 2m52s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 3s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 39s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Successful in 8m21s
Generic: Project CI / Tests (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.1) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.2) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 2: Unit Tests (8.3) (pull_request) Has been cancelled
Platform: mokocli CI / Gate 3: Self-Health Check (pull_request) Has been cancelled
Platform: mokocli CI / Gate 4: Governance (pull_request) Has been cancelled
Platform: mokocli CI / Gate 5: Template Integrity (pull_request) Has been cancelled
Platform: mokocli CI / CI Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
8d772df3e7
The forMissingHeader() return was 177 chars, exceeding the 150-char
limit (Generic.Files.LineLength) that Gate 1 enforces as an error.
Split it across concatenated lines; output is unchanged. (Also keeps
the earlier shebang removal.)
jmiller merged commit 2100a3bec7 into main 2026-07-04 20:40:59 +00:00
jmiller deleted branch hotfix/recovery-suggestion-shebang 2026-07-04 20:41:04 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#332