Commit 55b292f
committed
minor symfony#9046 Use stricter syntax when testing (matt9mg)
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes symfony#9046).
Discussion
----------
Use stricter syntax when testing
e.g.
```php
$mailCollector->getMessageCount();
```
returns an int so its better to use
```php
$this->assertSame($expected, $actual);
````
will also meaning faster testing and better testing within the given example.
Commits
-------
3d8ee63 Use stricter syntax when testing1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments