[TASK] Use stricter types in JsonView and its test 00/56500/6
authorOliver Klee <typo3-coding@oliverklee.de>
Sat, 31 Mar 2018 18:56:06 +0000 (20:56 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 19 Apr 2018 06:59:28 +0000 (08:59 +0200)
commit85c96a9bd8300ed8e586fc0217c54d656d916936
tree5fff4b4eed7b8ad8338f5a44188da6f31b958be4
parent048181643dc5a9a5a3c7a306db13d1da2e64e50b
[TASK] Use stricter types in JsonView and its test

Also clean up the code a bit, use more imports, and use
assertSame to do type-safe checks.

Resolves: #84571

Releases: master
Change-Id: I933a8354b0cd866ffcb2178664899c94821219a4
Reviewed-on: https://review.typo3.org/56500
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Thomas Maroschik <tmaroschik@dfau.de>
Tested-by: Thomas Maroschik <tmaroschik@dfau.de>
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/extbase/Classes/Mvc/View/JsonView.php
typo3/sysext/extbase/Tests/Unit/Mvc/View/JsonViewTest.php