Skip to content

Instantly share code, notes, and snippets.

Clark Tomlinson th3fallen

View GitHub Profile
@mnapoli
mnapoli / .phpstorm.meta.php
Created Jul 1, 2016
PHPUnit autocompletion with PhpStorm's latest EAP
View .phpstorm.meta.php
<?php
namespace PHPSTORM_META {
$STATIC_METHOD_TYPES = [
\PHPUnit_Framework_TestCase::createMock('') => [
"" == "@|PHPUnit_Framework_MockObject_MockObject",
],
\PHPUnit_Framework_TestCase::getMock('') => [
"" == "@|PHPUnit_Framework_MockObject_MockObject",
],
@lyrixx
lyrixx / post-checkout
Created Jun 26, 2013
Git post checkout
View post-checkout
#!/bin/bash
# Put this file at: .git/hooks/post-checkout
# and make it executable
# You can install it system wide too, see http://stackoverflow.com/a/2293578/685587
PREV_COMMIT=$1
POST_COMMIT=$2
NOCOLOR='\e[0m'
You can’t perform that action at this time.