|  | 
| 42 | 42 |   }, | 
| 43 | 43 |   "require-dev": { | 
| 44 | 44 |     "lox/xhprof": "dev-master", | 
| 45 |  | -    "phpunit/phpunit": "^4.8.36" | 
|  | 45 | +    "phpunit/phpunit": "^4.8.36", | 
|  | 46 | +    "vlucas/phpdotenv": "^2.4" | 
| 46 | 47 |   }, | 
| 47 | 48 |   "autoload": { | 
| 48 | 49 |     "psr-4": { | 
|  | 
| 54 | 55 |   "autoload-dev": { | 
| 55 | 56 |     "psr-4": { | 
| 56 | 57 |       "Drush\\": "isolation/src/" | 
| 57 |  | -    } | 
|  | 58 | +    }, | 
|  | 59 | +    "files": ["tests/load.environment.php"] | 
| 58 | 60 |   }, | 
| 59 | 61 |   "config": { | 
| 60 | 62 |     "optimize-autoloader": true, | 
|  | 
| 67 | 69 |     "vendor-dir": "../../vendor" | 
| 68 | 70 |   }, | 
| 69 | 71 |   "scripts": { | 
| 70 |  | -    "cs": "phpcs -n --standard=PSR2 src tests examples", | 
| 71 |  | -    "cbf": "phpcbf -n --standard=PSR2 src tests examples", | 
|  | 72 | +    "cs": "phpcs", | 
|  | 73 | +    "cbf": "phpcbf", | 
| 72 | 74 |     "lint": [ | 
| 73 | 75 |       "find includes -name '*.inc' -print0 | xargs -0 -n1 php -l", | 
| 74 | 76 |       "find src -name '*.php' -print0 | xargs -0 -n1 php -l", | 
|  | 
| 83 | 85 |     "api": "PATH=$HOME/bin:$PATH sami.phar --ansi update sami-config.php", | 
| 84 | 86 |     "sami-install": "mkdir -p $HOME/bin && curl --output $HOME/bin/sami.phar http://get.sensiolabs.org/sami.phar && chmod +x $HOME/bin/sami.phar", | 
| 85 | 87 |     "scenario": "scenarios/install", | 
|  | 88 | +    "sut": "./drush --uri=dev", | 
|  | 89 | +    "sut:si": "./drush site:install testing --uri=dev --sites-subdir=dev --db-url=mysql://root:password@mariadb/unish_dev -v", | 
| 86 | 90 |     "unit": "phpunit --colors=always", | 
| 87 | 91 |     "functional": "phpunit --colors=always --configuration tests", | 
| 88 | 92 |     "post-update-cmd": [ | 
| 89 |  | -        "create-scenario isolation --autoload-dir isolation --autoload-dir internal-copy --keep '\\(psr/log\\|consolidation/config\\|site-alias\\|var-dumper\\|symfony/finder\\|drupal-finder\\|path-util\\|sebastian/version\\|xhprof\\)' 'phpunit/phpunit:^5.5.4'", | 
|  | 93 | +        "create-scenario isolation --autoload-dir isolation --autoload-dir internal-copy --keep '\\(psr/log\\|consolidation/config\\|site-alias\\|var-dumper\\|symfony/finder\\|drupal-finder\\|path-util\\|vlucas/phpdotenv\\|xhprof\\)' 'phpunit/phpunit:^5.5.4'", | 
| 90 | 94 |         "create-scenario isolation-phpunit4 --base isolation --autoload-dir isolation --autoload-dir internal-copy 'phpunit/phpunit:^4.8.36'" | 
| 91 | 95 |     ] | 
| 92 | 96 |   }, | 
|  | 
0 commit comments