mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-17 22:05:35 +08:00
Use zig toolchain by default, lint files
This commit is contained in:
@@ -56,7 +56,7 @@ class LintConfigCommand extends BaseCommand
|
||||
public function packageSortKey(string $a, string $b): int
|
||||
{
|
||||
// sort by predefined order, other not matching keys go to the end alphabetically
|
||||
$order = ['type', 'artifact'];
|
||||
$order = ['type', 'artifact', 'depends', 'suggests', 'frameworks'];
|
||||
|
||||
// Handle suffix patterns (e.g., 'depends@unix', 'static-libs@windows')
|
||||
$base_a = preg_replace('/@(unix|windows|macos|linux|freebsd|bsd)$/', '', $a);
|
||||
|
||||
Reference in New Issue
Block a user