Skip to content

Add property type and method return types #227

Add property type and method return types

Add property type and method return types #227

Triggered via pull request August 26, 2025 12:54
Status Success
Total duration 40s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

30 errors
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L23
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SortControl).
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L50
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/BaseTableRowItem.php#L32
Deprecated in PHP 8.4: Parameter #2 $table (ipl\Web\Common\BaseItemTable) is implicitly nullable via default value null.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L50
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SortControl).
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L23
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SortControl).
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L50
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L50
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SortControl).
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SortControl)#L23
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SortControl).
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L50
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
Parameter #2 $name of method ipl\Html\Form::createElement() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/FormUid.php (in context of class ipl/Web/Control/SearchBar)#L23
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SearchBar).
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/CsrfCounterMeasure.php#L9
Trait ipl\Web\Common\CsrfCounterMeasure is used zero times and is not analysed.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/BaseItemList.php#L116
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/BaseItemList.php#L82
Method ipl\Web\Common\BaseItemList::createListItem() should return ipl\Web\Common\BaseListItem|ipl\Web\Common\BaseTableRowItem but returns object.