justfile: standardise test recipes to lint-php/lint-css/lint-js/test + add fix recipe

- Removed ambiguous aliases: phpstan, cs-check, syntax
- Split lint-biome into lint-css and lint-js with correct paths
- Added lint meta-recipe and fix recipe (biome --unsafe + php-cs-fixer)
- Fixed FormBootstrap dead null check, CSS shorthand override bug
- Updated phpstan baseline, suppressed noDescendingSpecificity/noInnerDeclarations
- Applied ~74 biome auto-fixes across CSS/JS
This commit is contained in:
Pontoporeia
2026-07-05 11:07:41 +02:00
parent 34b5d3e585
commit 3e93150c76
59 changed files with 5459 additions and 5196 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env node
/**
* Build CSS bundles with Lightning CSS.
*
@@ -13,10 +14,10 @@
* Output: app/public/assets/dist/
*/
import { bundleAsync } from "lightningcss";
import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
import { resolve, dirname, basename } from "node:path";
import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { bundleAsync } from "lightningcss";
const __dirname = dirname(fileURLToPath(import.meta.url));
const root = resolve(__dirname, "..");
+4 -3
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env node
/**
* Build JS bundles: one self-contained file per entry point.
*
@@ -6,10 +7,10 @@
* Output: app/public/assets/dist/{admin,public,form,partage}.min.js
*/
import { rolldown } from "rolldown";
import { resolve, dirname } from "node:path";
import { mkdirSync, writeFileSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { writeFileSync, mkdirSync } from "node:fs";
import { rolldown } from "rolldown";
const __dirname = dirname(fileURLToPath(import.meta.url));
const root = resolve(__dirname, "..");
+1 -1
View File
@@ -12,7 +12,7 @@
import { execSync } from "node:child_process";
import { existsSync } from "node:fs";
import { resolve, dirname } from "node:path";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = dirname(fileURLToPath(import.meta.url));
+2 -2
View File
@@ -6,8 +6,8 @@
* Staleness: any source file newer than the oldest dist file.
*/
import { statSync, existsSync, readdirSync } from "node:fs";
import { resolve, dirname } from "node:path";
import { existsSync, readdirSync, statSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
const __dirname = dirname(fileURLToPath(import.meta.url));