nette / php-generator

🐘 Generates neat PHP code for you. Supports new PHP 8.3 features.
https://doc.nette.org/php-generator
Other
2.11k stars 138 forks source link

Enable php syntax highlighting for non standard extension php files #65

Closed adaamz closed 3 years ago

adaamz commented 4 years ago

In this repository are php files with non-standard php extension, so Github UI cannot highlight them with php syntax highlighter. With this change Github UI is able to highlight them. Some short info about this: https://github.com/github/linguist#using-gitattributes

adaamz commented 4 years ago

Looks like we cannot highlight .expect with php highlighter, because it doesnt contain <?php 😞

adaamz commented 4 years ago

Looks weird, should I rebase onto master now? @dg

adaamz commented 4 years ago

ping @dg

dg commented 3 years ago

done