Skip to content

Instantly share code, notes, and snippets.

View steviebiddles's full-sized avatar

Stephen McAuley steviebiddles

  • Belfast, UK
View GitHub Profile

Keybase proof

I hereby claim:

  • I am steviebiddles on github.
  • I am steviebiddles (https://keybase.io/steviebiddles) on keybase.
  • I have a public key ASC71ueE40eZ9Nc_EXe4X4tKae-JlJJ7oae0tS5fUj4N7go

To claim this, I am signing this object:

@steviebiddles
steviebiddles / xdebug-symfony-command
Last active January 2, 2018 15:13
xDebug Symfony Command
php -dxdebug.remote_autostart=On -dxdebug.remote_port=9000 app/console my:command
@steviebiddles
steviebiddles / svn-switch.txt
Last active October 17, 2017 09:27
zsh function to quickly switch svn branch and run composer install
function switch() {
if [ "$1" != "" ]
then
svn switch "$1"
composer install -n
else
echo " $fg[red]Provide the svn branch name$reset_color"
fi
}
<?php
require_once dirname(__DIR__).'/../../../../app/AppKernel.php';
/**
* Test case class helpful with Entity tests requiring the database interaction.
* For regular entity tests it's better to extend standard \PHPUnit_Framework_TestCase instead.
*/
abstract class KernelAwareTest extends \PHPUnit_Framework_TestCase
{