Skip to content

SearchControls: Don't use UrlParams instance for setEditorUrl() #57

SearchControls: Don't use UrlParams instance for setEditorUrl()

SearchControls: Don't use UrlParams instance for setEditorUrl() #57

Triggered via pull request November 21, 2024 11:50
Status Success
Total duration 57s
Artifacts

phpstan.yml

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

Annotations

70 errors
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/BaseItemList.php#L79
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/BaseItemList.php#L113
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/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/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/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)#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/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/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)#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 7.4 on ubuntu-latest: src/Common/BaseItemList.php#L79
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 7.4 on ubuntu-latest: src/Common/BaseItemList.php#L113
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.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 7.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 7.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 7.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 7.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 7.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 7.4 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 7.3 on ubuntu-latest: src/Common/BaseItemList.php#L79
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 7.3 on ubuntu-latest: src/Common/BaseItemList.php#L113
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Control/SearchEditor.php#L124
Cannot access offset 'filter' on iterable<string, mixed>.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#1 \$str of function strtolower expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Part \$column \(mixed\) of encapsed string cannot be cast to string\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Part \$direction \(mixed\) of encapsed string cannot be cast to string\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/ScheduleElement.php#L1
Ignored error pattern #^Parameter \#1 \$end of method ipl\\Scheduler\\Cron\:\:endAt\(\) expects DateTimeInterface, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/ScheduleElement.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.3 on ubuntu-latest: src/FormElement/ScheduleElement.php#L1
Ignored error pattern #^Parameter \#1 \$ordinal of method ipl\\Web\\FormElement\\ScheduleElement\\AnnuallyFields\:\:getOrdinalAsInteger\(\) expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/ScheduleElement.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Common/BaseItemList.php#L79
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 7.2 on ubuntu-latest: src/Common/BaseItemList.php#L113
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Control/SearchEditor.php#L124
Cannot access offset 'filter' on iterable<string, mixed>.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Parameter \#1 \$str of function strtolower expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Part \$column \(mixed\) of encapsed string cannot be cast to string\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/Control/SortControl.php#L1
Ignored error pattern #^Part \$direction \(mixed\) of encapsed string cannot be cast to string\.$# in path /home/runner/work/ipl-web/ipl-web/src/Control/SortControl.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/ScheduleElement.php#L1
Ignored error pattern #^Parameter \#1 \$end of method ipl\\Scheduler\\Cron\:\:endAt\(\) expects DateTimeInterface, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/ScheduleElement.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 7.2 on ubuntu-latest: src/FormElement/ScheduleElement.php#L1
Ignored error pattern #^Parameter \#1 \$ordinal of method ipl\\Web\\FormElement\\ScheduleElement\\AnnuallyFields\:\:getOrdinalAsInteger\(\) expects string, mixed given\.$# in path /home/runner/work/ipl-web/ipl-web/src/FormElement/ScheduleElement.php was not matched in reported errors.
phpstan / Static analysis with phpstan and php 8.1 on ubuntu-latest: src/Common/BaseItemList.php#L79
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.1 on ubuntu-latest: src/Common/BaseItemList.php#L113
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 8.1 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.1 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.1 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.1 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.1 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.1 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.1 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.0 on ubuntu-latest: src/Common/BaseItemList.php#L79
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.0 on ubuntu-latest: src/Common/BaseItemList.php#L113
Parameter #1 $data of method ipl\Web\Common\BaseItemList::createListItem() expects object, mixed given.
phpstan / Static analysis with phpstan and php 8.0 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.0 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.0 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.0 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.0 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.0 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.0 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/BaseItemList.php#L79
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/BaseItemList.php#L113
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/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/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/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)#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/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/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)#L50
PHPDoc tag @var with type ipl\Html\Form is not subtype of native type $this(ipl\Web\Control\SortControl).