[ecrire ↪ fix_chemin_import_js] 12 commits

spip/ecrire | 12 commits

Par placido, le 18 novembre 2025 à 14h18min :

fix(chemin_import_js): pouvoir définir un chemin explicite depuis le dossier lib/

Un module JS fournit par une lib se trouve rarement à la racine.
On gère donc le cas où $fichier est un chemin de la forme lib/ModuleX/dist/module.js

Modifié
inc/importmap.php

Détails : fix(chemin_import_js): pouvoir définir un chemin explicite depuis le dossier `lib/` (546fe2d4) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 18 novembre 2025 à 13h54min :

test(pipeline): unit test pipeline()

Ajouté
tests/unit/Bootstrap/Pipeline/PipelineTest.php
Modifié
bootstrap/inc/initialization.php
bootstrap/inc/pipeline.php

Détails : test(pipeline): unit test pipeline() (bbc863a0) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 18 novembre 2025 à 13h54min :

test(pipeline): unit test minipipe()

Ajouté
tests/Stub/ClassStub.php
tests/fixtures/execute_pipeline_exists.php
tests/unit/Bootstrap/Pipeline/MinipipeTest.php
Modifié
.gitignore
bootstrap/inc/pipeline.php
composer.json
inc/rechercher.php
iterateur/data.php
phpstan.neon.dist
tests/unit/Bootstrap/Path/SpipPathsLoaderTest.php

Détails : test(pipeline): unit test minipipe() (30652292) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 18 novembre 2025 à 13h37min :

chore: update dependencies

Modifié
composer.json

Détails : chore: update dependencies (6b2c124c) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 5 novembre 2025 à 10h43min :

fix(path): rétablir la mémoization de $dossier_squelettes

Modifié
bootstrap/inc/path.php

Détails : fix(path): rétablir la mémoization de $dossier_squelettes (861b8e99) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 19h29min :

docs(path): PHPDoc param $reset

Modifié
bootstrap/inc/path.php

Détails : docs(path): PHPDoc param $reset (1b2c9870) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 17h02min :

test(path): unit test find_in_path()

Ajouté
tests/unit/Bootstrap/Path/FindInPathTest.php
Modifié
bootstrap/inc/path.php
tests/unit/TestCase.php

Détails : test(path): unit test find_in_path() (c6f9807d) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 16h08min :

test(path): unit test spip_paths_loader()

Ajouté
tests/unit/Bootstrap/Path/SpipPathsLoaderTest.php
Modifié
.gitignore
bootstrap/inc/path.php
tests/unit/TestCase.php

Détails : test(path): unit test spip_paths_loader() (fad1c282) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 14h18min :

test(path): unit test spip_paths()

Ajouté
tests/unit/Bootstrap/Path/SpipPathsTest.php
Modifié
bootstrap/inc/path.php
tests/unit/TestCase.php

Détails : test(path): unit test spip_paths() (ab2843a4) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 13h28min :

test(unit): TestCase

Ajouté
tests/fixtures/config/spip/dirs.php
tests/fixtures/config/spip/routes.php
tests/fixtures/spip.php
tests/unit/TestCase.php
Modifié
phpunit.xml.dist

Détails : test(unit): TestCase (90d1dee8) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 12h25min :

fix(path): useless static $last_dossier_squelettes

Modifié
bootstrap/inc/path.php

Détails : fix(path): useless static $last_dossier_squelettes (d915e234) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 12h23min :

feat: use path contracts interfaces

Modifié
bootstrap/inc/path.php
composer.json

Détails : feat: use path contracts interfaces (6d559f6d) · Validations · spip / ecrire · GitLab