Skip to content

Commit

Permalink
reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhquochan committed Feb 28, 2020
1 parent 864092f commit 35b1112
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"require-dev": {
"laravel/framework": "^6",
"mockery/mockery": "^1.0",
"phpunit/phpunit": "^8.0"
"mockery/mockery": "^1.3.1",
"phpunit/phpunit": "^8.4|^9.0"
},
"autoload": {
"psr-4": {
Expand Down
7 changes: 0 additions & 7 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,4 @@
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
4 changes: 1 addition & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ abstract class TestCase extends BaseTestCase

protected function setUp(): void
{
parent::setUp();

$this->twigLoader = $this->getTwigLoader();
$this->twigEnvironment = $this->getTwigEnvironment();
}
Expand Down Expand Up @@ -56,7 +54,7 @@ protected function getTwigLoader()

protected function getApplication(array $customConfig = [])
{
return tap(new Application, function (Application $app) {
return tap(new Application(), function (Application $app) {
$app->instance('path', __DIR__);

// Default.
Expand Down

0 comments on commit 35b1112

Please sign in to comment.