Disable "...application downloaded from the Internet. Are you sure you want to open it?" on certain file types?
If you download files from the internet into the ~/Downloads folder, you could assign a folder action to ~/Downloads via Automator:

Open Automator
Create a new Folder Action

As the action, drag over "Run Shell Script"

Assign the following shell script:

    for f in "$@"
    do
        test "$f" == *\.php &amp;&amp; xattr -d -r com.apple.quarantine $f
    done