Created
August 30, 2017 17:05
-
-
Save lferro9000/08a81d2e681b41f2601ee8dbe4288066 to your computer and use it in GitHub Desktop.
PHP Template for Intellij IDEA and PHPStorm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#parse("PHP File Header.php") | |
#if (${NAMESPACE}) | |
namespace ${NAMESPACE}; | |
#end | |
use PHPUnit\Framework\TestCase; | |
use PHPUnit\Framework\Assert; | |
#if (${NAMESPACE} && !${TESTED_NAMESPACE}) | |
use ${TESTED_NAME}; | |
#elseif (${TESTED_NAMESPACE} && ${NAMESPACE} != ${TESTED_NAMESPACE}) | |
use ${TESTED_NAMESPACE}\\${TESTED_NAME}; | |
#end | |
class ${NAME} extends#if(${NAMESPACE}) TestCase #else TestCase #end{ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment