88use InvalidArgumentException ;
99use LogicException ;
1010use PHPUnit \Framework \Attributes \DataProvider ;
11- use Throwable ;
1211use Yiisoft \ActiveRecord \ActiveQuery ;
1312use Yiisoft \ActiveRecord \ActiveQueryInterface ;
1413use Yiisoft \ActiveRecord \Internal \ArArrayHelper ;
@@ -370,7 +369,7 @@ public function testJoinWithRelationChildParams(): void
370369 }
371370
372371 /**
373- * { @see https://github.com/yiisoft/yii2/issues/5341}
372+ * @see https://github.com/yiisoft/yii2/issues/5341
374373 *
375374 * Issue: Plan 1 -- * Account * -- * User
376375 * Our Tests: Category 1 -- * Item * -- * Order
@@ -460,7 +459,7 @@ public function testDeeplyNestedTableRelation(): void
460459 }
461460
462461 /**
463- * { @see https://github.com/yiisoft/yii2/issues/5341}
462+ * @see https://github.com/yiisoft/yii2/issues/5341
464463 *
465464 * Issue: Plan 1 -- * Account * -- * User
466465 * Our Tests: Category 1 -- * Item * -- * Order
@@ -674,7 +673,7 @@ public function testJoinWith(): void
674673 $ orders = $ query ->all ();
675674 $ this ->assertCount (3 , $ orders );
676675
677- /** { @see https://github.com/yiisoft/yii2/issues/2880} */
676+ /** @see https://github.com/yiisoft/yii2/issues/2880 */
678677 $ query = Order::query ()->findByPk (1 );
679678 $ customer = $ query ->getCustomerQuery ()->joinWith (
680679 [
@@ -751,11 +750,9 @@ public function testJoinWithAndScope(): void
751750 }
752751
753752 /**
754- * @depends testJoinWith
755- *
756753 * This query will do the same join twice, ensure duplicated JOIN gets removed.
757754 *
758- * { @see https://github.com/yiisoft/yii2/pull/2650}
755+ * @see https://github.com/yiisoft/yii2/pull/2650
759756 */
760757 public function testJoinWithVia (): void
761758 {
@@ -783,16 +780,11 @@ public static function aliasMethodProvider(): array
783780 }
784781
785782 /**
786- * @depends testJoinWith
787- *
788783 * Tests the alias syntax for joinWith: 'alias' => 'relation'.
789784 *
790- * @dataProvider aliasMethodProvider
791- *
792785 * @param string $aliasMethod whether alias is specified explicitly or using the query syntax {{@tablename}}
793- *
794- * @throws Exception|InvalidConfigException|Throwable
795786 */
787+ #[DataProvider('aliasMethodProvider ' )]
796788 public function testJoinWithAlias (string $ aliasMethod ): void
797789 {
798790 $ orders = [];
@@ -1480,15 +1472,15 @@ public function testIssues(): void
14801472 {
14811473 $ this ->reloadFixtureAfterTest ();
14821474
1483- /** { @see https://github.com/yiisoft/yii2/issues/4938} */
1475+ /** @see https://github.com/yiisoft/yii2/issues/4938 */
14841476 $ categoryQuery = Category::query ();
14851477 $ category = $ categoryQuery ->findByPk (2 );
14861478 $ this ->assertInstanceOf (Category::class, $ category );
14871479 $ this ->assertEquals (3 , $ category ->getItemsQuery ()->count ());
14881480 $ this ->assertEquals (1 , $ category ->getLimitedItemsQuery ()->count ());
14891481 $ this ->assertEquals (1 , $ category ->getLimitedItemsQuery ()->distinct (true )->count ());
14901482
1491- /** { @see https://github.com/yiisoft/yii2/issues/3197} */
1483+ /** @see https://github.com/yiisoft/yii2/issues/3197 */
14921484 $ orderQuery = Order::query ();
14931485 $ orders = $ orderQuery ->with ('orderItems ' )->orderBy ('id ' )->all ();
14941486 $ this ->assertCount (3 , $ orders );
@@ -1509,7 +1501,7 @@ public function testIssues(): void
15091501 $ this ->assertCount (3 , $ orders [1 ]->getOrderItems ());
15101502 $ this ->assertCount (1 , $ orders [2 ]->getOrderItems ());
15111503
1512- /** { @see https://github.com/yiisoft/yii2/issues/8149} */
1504+ /** @see https://github.com/yiisoft/yii2/issues/8149 */
15131505 $ arClass = new Customer ();
15141506
15151507 $ arClass ->setName ('test ' );
@@ -1698,7 +1690,7 @@ public function testEmulateExecution(): void
16981690 }
16991691
17001692 /**
1701- * { @see https://github.com/yiisoft/yii2/issues/12213}
1693+ * @see https://github.com/yiisoft/yii2/issues/12213
17021694 */
17031695 public function testUnlinkAllOnCondition (): void
17041696 {
@@ -1730,7 +1722,7 @@ public function testUnlinkAllOnCondition(): void
17301722 }
17311723
17321724 /**
1733- * { @see https://github.com/yiisoft/yii2/issues/12213}
1725+ * @see https://github.com/yiisoft/yii2/issues/12213
17341726 */
17351727 public function testUnlinkAllOnConditionViaTable (): void
17361728 {
@@ -1760,7 +1752,7 @@ public function testUnlinkAllOnConditionViaTable(): void
17601752 }
17611753
17621754 /**
1763- * { @see https://github.com/yiisoft/yii2/pull/13891}
1755+ * @see https://github.com/yiisoft/yii2/pull/13891
17641756 */
17651757 public function testIndexByAfterLoadingRelations (): void
17661758 {
@@ -1826,12 +1818,9 @@ public static function tableNameProvider(): array
18261818 /**
18271819 * Test whether conditions are quoted correctly in conditions where joinWith is used.
18281820 *
1829- * {@see https://github.com/yiisoft/yii2/issues/11088}
1830- *
1831- * @dataProvider tableNameProvider
1832- *
1833- * @throws Exception|InvalidConfigException
1821+ * @see https://github.com/yiisoft/yii2/issues/11088
18341822 */
1823+ #[DataProvider('tableNameProvider ' )]
18351824 public function testRelationWhereParams (string $ orderTableName , string $ orderItemTableName ): void
18361825 {
18371826 $ driverName = $ this ->db ()->getDriverName ();
@@ -2072,7 +2061,7 @@ public function testUpdateProperties(): void
20722061 /**
20732062 * Ensure no ambiguous column error occurs if ActiveQuery adds a JOIN.
20742063 *
2075- * { @see https://github.com/yiisoft/yii2/issues/13757}
2064+ * @see https://github.com/yiisoft/yii2/issues/13757
20762065 */
20772066 public function testAmbiguousColumnFindOne (): void
20782067 {
@@ -2510,7 +2499,7 @@ public function testDelete(): void
25102499 }
25112500
25122501 /**
2513- * { @see https://github.com/yiisoft/yii2/issues/17089}
2502+ * @see https://github.com/yiisoft/yii2/issues/17089
25142503 */
25152504 public function testViaWithCallable (): void
25162505 {
0 commit comments