30
I'm using the following magic file now for my unit tests:
0 search/1/c =<?php PHP script text
!:mime text/x-unittest
With it, every php file (beginning with <?php) will get the MIME type text/x-unittest.