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
+3 -2
View File
@@ -1,4 +1,3 @@
#!/usr/bin/env php
<?php
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
@@ -76,7 +75,9 @@ class RecoverySuggestion
*/
public static function forMissingHeader(string $file): string
{
return "Add SPDX license header to {$file}:\n /* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>\n * SPDX-License-Identifier: GPL-3.0-or-later */";
return "Add SPDX license header to {$file}:\n"
. " /* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>\n"
. " * SPDX-License-Identifier: GPL-3.0-or-later */";
}
/**