These are the default files that I will usually start with when setting up a symfony2 project to use vagrant and puppet. I'm putting this readme file here for future updates.
Make sure the files that end in .sh
are executable.
#!/bin/sh | |
### | |
# | |
# Runs phpcs to check for violations | |
# | |
PHPCS_BIN=$(command -v phpcs) | |
if [ ! $PHPCS_BIN ]; then | |
exit 0 | |
fi |
export SYMFONY__SECRET=ReplaceWithToken | |
export SYMFONY__LOCALE=en | |
export SYMFONY__ASSETIC__CONTROLLER=true | |
export SYMFONY__DATABASE__DRIVER=pdo_sqlite | |
export SYMFONY__DATABASE__HOST=127.0.0.1 | |
export SYMFONY__DATABASE__NAME=symfony | |
export SYMFONY__DATABASE__PASSWORD=root | |
export SYMFONY__DATABASE__PORT=3667 | |
export SYMFONY__DATABASE__USER=root | |
export SYMFONY__MAILER__TRANSPORT=smtp |
http --auth USERNAME:PASSWORD http://127.0.0.1:18332 method=getaccountaddress params:='[""]' |
<?php | |
class BitPayClient | |
{ | |
private $_client; | |
private $_network; | |
private $_adapter; | |
private $_storageEngine; | |
public function __construct($setup = false) |
I hereby claim:
To claim this, I am signing this object:
git archive --format=tar HEAD | ssh username@server tar xf - -C /path/to/folder |
<?php | |
class sfAuthTestFunctional extends sfTestFunctional | |
{ | |
/** | |
* @param string $username | |
* @param string $password | |
* @return sfAuthTestFunctional | |
*/ |