Skip to content

Commit 7b33342

Browse files
Merge pull request #4 from spatie/code-review
Code review
2 parents 0b47832 + 42124e5 commit 7b33342

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed

CHANGELOG.md

100755100644
File mode changed.

CONTRIBUTING.md

100755100644
File mode changed.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/phpunit-snapshot-assertions.svg?style=flat-square)](https://packagist.org/packages/spatie/phpunit-snapshot-assertions)
44
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md)
55
[![Build Status](https://img.shields.io/travis/spatie/phpunit-snapshot-assertions/master.svg?style=flat-square)](https://travis-ci.org/spatie/phpunit-snapshot-assertions)
6-
[![SensioLabsInsight](https://img.shields.io/sensiolabs/i/xxxxxxxxx.svg?style=flat-square)](https://insight.sensiolabs.com/projects/xxxxxxxxx)
76
[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/phpunit-snapshot-assertions.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/phpunit-snapshot-assertions)
7+
[![StyleCI](https://styleci.io/repos/75926188/shield?branch=master)](https://styleci.io/repos/75926188)
88
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/phpunit-snapshot-assertions.svg?style=flat-square)](https://packagist.org/packages/spatie/phpunit-snapshot-assertions)
99

1010
**Work in progress!**

composer.json

-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323
"php": "^7.0",
2424
"phpunit/phpunit": "^6.0"
2525
},
26-
"require-dev": {
27-
"phpunit/phpunit": "^6.0"
28-
},
2926
"autoload": {
3027
"psr-4": {
3128
"Spatie\\Snapshots\\": "src"

src/Driver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function load(string $path);
3636
* `ExpectationFailedException` if it doesn't match. This happens by
3737
* default if you're using PHPUnit's `Assert` class for the match.
3838
*
39-
* @param \Spatie\Snapshots\Snapshot $snapshot
39+
* @param mixed $expected
4040
* @param mixed $actual
4141
*
4242
* @throws \PHPUnit\Framework\ExpectationFailedException

0 commit comments

Comments
 (0)