Skip to content

Commit bf1a14f

Browse files
adaamzondrejmirtes
authored andcommitted
Added tests for stubs
1 parent 336ef25 commit bf1a14f

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?php declare(strict_types = 1);
2+
3+
namespace PHPStan\GenericStubs;
4+
5+
use Nette\Application\Routers\RouteList;
6+
use Nette\Application\UI\Component;
7+
use Nette\Database\ResultSet;
8+
use Nette\Database\Table\ActiveRow;
9+
use Nette\Database\Table\Selection;
10+
use Nette\Forms\Container;
11+
use Nette\Forms\Form;
12+
use Nette\Forms\Rules;
13+
use Nette\Http\SessionSection;
14+
use Nette\Utils\Html;
15+
16+
final class GenericsPHPStanTest
17+
{
18+
19+
public function testHtmlGenerics(): Html
20+
{
21+
throw new \Exception();
22+
}
23+
24+
public function testSessionSection(): SessionSection
25+
{
26+
throw new \Exception();
27+
}
28+
29+
public function testFormContainer(): Container
30+
{
31+
throw new \Exception();
32+
}
33+
34+
public function testFormForm(): Form
35+
{
36+
throw new \Exception();
37+
}
38+
39+
public function testFormRules(): Rules
40+
{
41+
throw new \Exception();
42+
}
43+
44+
public function testDatabaseResultSet(): ResultSet
45+
{
46+
throw new \Exception();
47+
}
48+
49+
public function testDatabaseTableSelection(): Selection
50+
{
51+
throw new \Exception();
52+
}
53+
54+
public function testDatabaseTableActiveRow(): ActiveRow
55+
{
56+
throw new \Exception();
57+
}
58+
59+
public function testApplicationRoutersRouteList(): RouteList
60+
{
61+
throw new \Exception();
62+
}
63+
64+
public function testApplicationUIComponent(): Component
65+
{
66+
throw new \Exception();
67+
}
68+
69+
}

0 commit comments

Comments
 (0)