17
17
/**
18
18
* @group sqlite
19
19
*
20
+ * @psalm-suppress MixedMethodCall
20
21
* @psalm-suppress PropertyNotSetInConstructor
21
22
*/
22
23
final class CommandTest extends CommonCommandTest
@@ -83,9 +84,6 @@ public function testAddDefaultValue(): void
83
84
84
85
/**
85
86
* @dataProvider \Yiisoft\Db\Tests\Provider\CommandProvider::addForeignKey()
86
- *
87
- * @throws Exception
88
- * @throws Throwable
89
87
*/
90
88
public function testAddForeignKey (
91
89
string $ name ,
@@ -102,9 +100,6 @@ public function testAddForeignKey(
102
100
103
101
/**
104
102
* @dataProvider \Yiisoft\Db\Tests\Provider\CommandProvider::addPrimaryKey()
105
- *
106
- * @throws Exception
107
- * @throws Throwable
108
103
*/
109
104
public function testAddPrimaryKey (string $ name , string $ tableName , array |string $ column ): void
110
105
{
@@ -116,9 +111,6 @@ public function testAddPrimaryKey(string $name, string $tableName, array|string
116
111
117
112
/**
118
113
* @dataProvider \Yiisoft\Db\Tests\Provider\CommandProvider::addUnique()
119
- *
120
- * @throws Exception
121
- * @throws Throwable
122
114
*/
123
115
public function testAddUnique (string $ name , string $ tableName , array |string $ column ): void
124
116
{
@@ -147,9 +139,6 @@ public function testAlterColumn(): void
147
139
148
140
/**
149
141
* @dataProvider \Yiisoft\Db\Sqlite\Tests\Provider\CommandProvider::batchInsert()
150
- *
151
- * @throws Exception
152
- * @throws Throwable
153
142
*/
154
143
public function testBatchInsert (
155
144
string $ table ,
@@ -454,9 +443,6 @@ public function testTruncateTable(): void
454
443
455
444
/**
456
445
* @dataProvider \Yiisoft\Db\Sqlite\Tests\Provider\CommandProvider::update()
457
- *
458
- * @throws Exception
459
- * @throws Throwable
460
446
*/
461
447
public function testUpdate (
462
448
string $ table ,
@@ -472,7 +458,7 @@ public function testUpdate(
472
458
* @dataProvider \Yiisoft\Db\Sqlite\Tests\Provider\CommandProvider::upsert()
473
459
*
474
460
* @throws Exception
475
- * @throws Throwable
461
+ * @throws InvalidConfigException
476
462
*/
477
463
public function testUpsert (array $ firstData , array $ secondData ): void
478
464
{
0 commit comments