From 6262d3bc7d580b723af507fdc0596e3342004607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Sun, 20 Sep 2026 17:48:08 +0200 Subject: [PATCH] Normalize repository files --- .gitattributes | 10 +++++++--- .gitignore | 1 - README.md | 17 ++++++++++------- 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/.gitattributes b/.gitattributes index ac7f4be..ac184d0 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,14 +4,18 @@ /.github export-ignore /.gitignore export-ignore /.php-cs-fixer.dist.php export-ignore -/bin export-ignore +/composer.lock export-ignore /docs export-ignore -/examples export-ignore /phpstan.neon.dist export-ignore /phpunit.xml.dist export-ignore /tests export-ignore -/tools export-ignore /docs/** linguist-documentation +/tests/Fixtures/** -linguist-detectable +/tests/fixtures/** -linguist-detectable + +/bin export-ignore +/examples export-ignore +/tools export-ignore /examples/** linguist-documentation /tests/Language/** -linguist-detectable diff --git a/.gitignore b/.gitignore index 8346dbb..d6c64c9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ /.php-cs-fixer.cache /coverage/ /coverage.xml -/clover.xml diff --git a/README.md b/README.md index 6d72fd7..1ad097b 100644 --- a/README.md +++ b/README.md @@ -174,18 +174,21 @@ Before submitting code, run: composer qa ``` -Language parsers use fixtures under `tests/Language/`. Public showcase examples -live separately under `examples/languages/`; they are short documentation -samples rather than exhaustive parser tests. +Changes to public behavior should include tests and documentation. + +Language parser fixtures live under `tests/Language/`. Public showcase +examples under `examples/languages/` are documentation samples rather than +exhaustive parser tests. ## Support -ALTO Code Highlight is open source. You can support its continued development through +ALTO Code Highlight is open source and independently maintained by +[Simon André](https://smnandre.dev). If it is useful to your work, you can +support its continued development through [GitHub Sponsors](https://github.com/sponsors/smnandre). -Sharing this package with others or -[starring it on GitHub](https://github.com/altophp/code-highlight) is also much -appreciated. +Sharing the package or +[starring it on GitHub](https://github.com/altophp/code-highlight) also helps. ## License