File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 88 <file >.</file >
99 <exclude-pattern >*/vendor/*</exclude-pattern >
1010 <exclude-pattern >*/build/*</exclude-pattern >
11- <rule ref =" Wdes" ></rule >
11+ <rule ref =" Wdes" >
12+ <exclude name =" PSR12.Classes.OpeningBraceSpace.Found" />
13+ </rule >
1214</ruleset >
Original file line number Diff line number Diff line change 2525 */
2626class Database
2727{
28-
2928 /**
3029 * @var array<string,string|int>
3130 *
@@ -111,7 +110,9 @@ public function __destruct()
111110 public function connect (): void
112111 {
113112 if ($ this ->dbConfig === null ) {
114- throw new LogicException ('You need to pass the config when creating the Database instance to use the connect method. ' );
113+ throw new LogicException (
114+ 'You need to pass the config when creating the Database instance to use the connect method. '
115+ );
115116 }
116117
117118 $ dsn = sprintf (
You can’t perform that action at this time.
0 commit comments