php-cs-fixer : configuration et formatage initial

Installe friendsofphp/php-cs-fixer en require-dev, configure le style
PSR-12 avec guillemets simples et alignement des =>, et formate les
fichiers PHP existants. Ajoute la config VS Codium pour le format on save.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
isUnknown 2026-06-11 08:15:16 +02:00
parent 310af2325d
commit e7ff6b6518
14 changed files with 2414 additions and 72 deletions

View file

@ -23,7 +23,7 @@
<h1><?= e($page->isHomePage(), 'Compagnie de théâtre', $page->title()) ?></h1>
<nav>
<ul>
<?php foreach($site->children()->listed()->without($page) as $navItem): ?>
<?php foreach ($site->children()->listed()->without($page) as $navItem): ?>
<li><a href="<?= $navItem->url() ?>"><?= $navItem->title() ?></a><hr></li>
<?php endforeach ?>
</ul>