Skip to content

Commit

Permalink
Use #[Before] instead of #[BeforeClass]
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Nov 19, 2023
1 parent 601ec20 commit 4276199
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?php namespace rdbms\unittest\integration;

use rdbms\SQLStatementFailedException;
use unittest\Assert;
use unittest\{BeforeClass, Expect, Ignore, Test};
use unittest\{Assert, Before, Expect, Ignore, Test};
use util\Date;

/**
Expand All @@ -21,7 +20,7 @@ class MsSQLIntegrationTest extends RdbmsIntegrationTest {
*
* @return void
*/
#[BeforeClass]
#[Before]
public static function setMinimumServerSeverity() {
if (function_exists('mssql_min_message_severity')) {
mssql_min_message_severity(12);
Expand Down

0 comments on commit 4276199

Please sign in to comment.