11<?php
22
33/*
4- * This file is part of https://github.com/josantonius/php-error-handler repository.
5- *
6- * (c) Josantonius <hello@josantonius.dev>
7- *
8- * For the full copyright and license information, please view the LICENSE
9- * file that was distributed with this source code.
10- */
4+ * This file is part of https://github.com/josantonius/php-error-handler repository.
5+ *
6+ * (c) Josantonius <hello@josantonius.dev>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ *
11+ * @phpcs:disable PSR1.Methods.CamelCapsMethodName.NotCamelCaps
12+ */
1113
1214namespace Josantonius \ErrorHandler \Tests \ErrorHandler ;
1315
@@ -34,27 +36,27 @@ public function setUp(): void
3436 $ this ->errorException = new ErrorException ($ errorHandled );
3537 }
3638
37- public function testShouldGetFile (): void
39+ public function test_should_get_file (): void
3840 {
3941 $ this ->assertEquals ('Error.php ' , $ this ->errorException ->getFile ());
4042 }
4143
42- public function testShouldGetMessage (): void
44+ public function test_should_get_message (): void
4345 {
4446 $ this ->assertEquals ('Error message ' , $ this ->errorException ->getMessage ());
4547 }
4648
47- public function testShouldGetLevel (): void
49+ public function test_should_get_level (): void
4850 {
4951 $ this ->assertEquals (E_ERROR , $ this ->errorException ->getLevel ());
5052 }
5153
52- public function testShouldGetLine (): void
54+ public function test_should_get_line (): void
5355 {
5456 $ this ->assertEquals (8 , $ this ->errorException ->getLine ());
5557 }
5658
57- public function testShouldGetName (): void
59+ public function test_should_get_name (): void
5860 {
5961 $ this ->assertEquals ('Error ' , $ this ->errorException ->getName ());
6062 }
0 commit comments