Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
/.php-cs-fixer.cache
/coverage/
/coverage.xml
/clover.xml
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading