Install PHPUnit at a specific version via composer:
mkdir ~/phpunit-3.7.x-composer
cd ~/phpunit-3.7.x-composer
composer require phpunit/phpunit:3.7.*
composer install
Then use it as:
~/phpunit-3.7.x-composer/vendor/bin/phpunit
<?php | |
echo "Hello World."; |
form.fields['some_field'].widget.attrs['rows'] = 8 |
imports: | |
- sculpin_site.yml | |
url: http://localhost.local/srcmvn.com/output_dev |
<?php | |
function spiral_sort($input) | |
{ | |
// hack to ensure $output has proper indexes. otherwise | |
// resulting array has proper idx => value but may | |
// actually be accessed incorrectly. | |
$output = $input; | |
$fromFront = 0; |
Install PHPUnit at a specific version via composer:
mkdir ~/phpunit-3.7.x-composer
cd ~/phpunit-3.7.x-composer
composer require phpunit/phpunit:3.7.*
composer install
Then use it as:
~/phpunit-3.7.x-composer/vendor/bin/phpunit
<?php | |
// https://github.com/dflydev/dflydev-identity-generator | |
// https://github.com/dflydev/dflydev-identity-generator-dbal | |
use Dflydev\IdentityGenerator\DataStore\Dbal\DataStore; | |
use Dflydev\IdentityGenerator\Generator\RandomStringGenerator; | |
use Dflydev\IdentityGenerator\IdentityGenerator; | |
$maxLength = 10; |
<?php | |
namespace Dflydev\ClasspathResourceLocator\Composer\Scripts; | |
use Composer\Script\Event; | |
use Composer\Autoload\AutoloadGenerator; | |
use Composer\Repository\CompositeRepository; | |
class RefreshClasspath | |
{ |
<?php | |
echo 'Hello World!' |
{ | |
"name": "phing/phing", | |
"description": "PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant.", | |
"keywords": ["build", "tool", "task"], | |
"homepage": "http://www.phing.info/", | |
"license": "LGPL3", | |
"authors": [ | |
{ | |
"name": "Michiel Rook", | |
"email": "[email protected]" |