1 | <?php |
||
9 | class PulseNoteTestCase extends PulseUnitTestCase |
||
10 | { |
||
11 | static $title = "Violently Making Toast"; |
||
|
|||
12 | static $content = "By adding the word 'violently' in front a phrase, it makes the phrase more amusing"; |
||
13 | |||
14 | /** |
||
15 | * @var Pulse |
||
16 | */ |
||
17 | private $pulse; |
||
18 | |||
19 | public function setUp () |
||
25 | |||
26 | public function testCreateNoteWithUpdateButWithoutUser () |
||
32 | |||
33 | public function testCreateNote () |
||
46 | |||
47 | /** |
||
48 | * @depends testCreateNote |
||
49 | * @param PulseNote $note |
||
50 | * @return PulseNote |
||
51 | */ |
||
52 | public function testEditNote ($note) |
||
66 | |||
67 | /** |
||
68 | * @depends testEditNote |
||
69 | * @param PulseNote $note |
||
70 | */ |
||
71 | public function testDeletingNote ($note) |
||
78 | } |
||
79 |
The PSR-2 coding standard requires that all properties in a class have their visibility explicitly declared. If you declare a property using
the property is implicitly global.
To learn more about the PSR-2, please see the PHP-FIG site on the PSR-2.