| 1 | <?php |
||
| 8 | class MySQLTest extends \PHPUnit_Framework_TestCase { |
||
| 9 | |||
| 10 | public function testPdoIsNullOnErrorConnection() { |
||
| 22 | |||
| 23 | public function testRedirectToPage500() { |
||
| 38 | |||
| 39 | public function testConnectionWithSuccess() { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return \PDO |
||
| 46 | */ |
||
| 47 | static function startMySQLConnection() { |
||
| 53 | |||
| 54 | } |
||
| 55 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.