Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed May 9, 2020
1 parent 90c9cca commit 9da8c80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before_install:
install:
- if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
- if [[ $SETUP = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
- if [[ $SETUP = 'lint' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; travis_retry composer lint; fi
- if [[ $SETUP = 'lint' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; composer lint; fi

script:
- if [[ $SETUP = 'lint' ]]; then exit 0; fi; composer test-ci;
2 changes: 1 addition & 1 deletion src/Extracting/ParamHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protected function generateDummyValue(string $type)
'object' => function () {
return new stdClass();
},
'file' => function () use ($faker) {
'file' => function () {
$file = UploadedFile::fake()->create('test.jpg')->size(10);
return $file;
},
Expand Down

0 comments on commit 9da8c80

Please sign in to comment.