merged branch Olden/issue_7639 (PR #7694)
This PR was merged into the master branch.
Discussion
----------
[Stopwatch] Fix array definition from 5.4
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #7639, #7653
| License | MIT
I was break tests for 5.3 with my prev. PR #7691
Commits
-------
35a3c65
[Stopwatch] Fix array definition from 5.4
This commit is contained in:
commit
7671edeb6b
@ -59,7 +59,7 @@ class StopwatchTest extends \PHPUnit_Framework_TestCase
|
|||||||
array(
|
array(
|
||||||
'foo' =>
|
'foo' =>
|
||||||
$this->getMockBuilder('Symfony\Component\Stopwatch\StopwatchEvent')
|
$this->getMockBuilder('Symfony\Component\Stopwatch\StopwatchEvent')
|
||||||
->setConstructorArgs([microtime(true) * 1000])
|
->setConstructorArgs(array(microtime(true) * 1000))
|
||||||
->getMock())
|
->getMock())
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user