Skip to content

Commit

Permalink
Merge branch '2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Sep 30, 2013
2 parents 082449a + 9f00671 commit 8a746b6
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/tests export-ignore
/.coveralls.yml export-ignore
/.gitignore export-ignore
/.scrutinizer.yml export-ignore
/.travis.yml export-ignore
/Guardfile export-ignore
/LICENSE.md export-ignore
Expand Down
28 changes: 28 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
before_commands:
- 'composer install --prefer-source --no-interaction --dev'
filter:
paths:
- 'src/*'
excluded_paths:
- 'build/*'
- 'vendor/*'
- 'tests/*'
tools:
php_mess_detector: true
php_code_sniffer:
config:
standard: PSR1
php_code_coverage:
config_path: phpunit.xml
php_cpd:
excluded_dirs:
- vendor
- tests
php_loc:
excluded_dirs:
- vendor
- tests
php_pdepend:
excluded_dirs:
- vendor
- tests
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ php:
- 5.5

before_script:
- composer install --prefer-source --no-interaction --dev
- composer self-update
- composer require satooshi/php-coveralls:~0.6 --prefer-source --no-interaction --dev

script: phpunit -c phpunit.xml --coverage-text

Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"php": ">=5.3.3",
"laravel/framework": "4.1.*"
},
"require-dev": {
"satooshi/php-coveralls": "~0.6"
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"
Expand Down
4 changes: 2 additions & 2 deletions src/Orchestra/Testbench/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ public function createApplication()
{
$app = new Application;

$env = $app->detectEnvironment(array(
$app->detectEnvironment(array(
'local' => array('your-machine-name'),
));

$app->bindInstallPaths($paths = $this->getApplicationPaths());
$app->bindInstallPaths($this->getApplicationPaths());

$app['env'] = 'testing';

Expand Down

0 comments on commit 8a746b6

Please sign in to comment.