1 | <?php |
||
11 | class AssertJsonResponseForOldVersionAndBrowserKitTest extends PHPUnit_Framework_TestCase |
||
12 | { |
||
13 | use AssertJsonResponse, MakesHttpRequests; |
||
14 | |||
15 | public function setUp() |
||
20 | |||
21 | public function testSeeJsonStructureEquals() |
||
25 | |||
26 | public function testJsonResponse() |
||
34 | |||
35 | public function testSeeJsonTypedStructure() |
||
39 | } |
||
40 |
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: