Mercurial > hg > isophonics-drupal-site
comparison vendor/psy/psysh/test/Psy/Test/CodeCleaner/PassableByReferencePassTest.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
47 */ | 47 */ |
48 public function testProcessStatementPasses($code) | 48 public function testProcessStatementPasses($code) |
49 { | 49 { |
50 $stmts = $this->parse($code); | 50 $stmts = $this->parse($code); |
51 $this->traverser->traverse($stmts); | 51 $this->traverser->traverse($stmts); |
52 | |
53 // @todo a better thing to assert here? | |
54 $this->assertTrue(true); | |
52 } | 55 } |
53 | 56 |
54 public function validStatements() | 57 public function validStatements() |
55 { | 58 { |
56 return array( | 59 return array( |
67 */ | 70 */ |
68 public function testArrayMultisort($code) | 71 public function testArrayMultisort($code) |
69 { | 72 { |
70 $stmts = $this->parse($code); | 73 $stmts = $this->parse($code); |
71 $this->traverser->traverse($stmts); | 74 $this->traverser->traverse($stmts); |
75 | |
76 // @todo a better thing to assert here? | |
77 $this->assertTrue(true); | |
72 } | 78 } |
73 | 79 |
74 public function validArrayMultisort() | 80 public function validArrayMultisort() |
75 { | 81 { |
76 return array( | 82 return array( |