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:
Fabien Potencier 2013-04-17 09:33:58 +02:00
commit 7671edeb6b
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class StopwatchTest extends \PHPUnit_Framework_TestCase
array(
'foo' =>
$this->getMockBuilder('Symfony\Component\Stopwatch\StopwatchEvent')
->setConstructorArgs([microtime(true) * 1000])
->setConstructorArgs(array(microtime(true) * 1000))
->getMock())
);