Page MenuHomePhabricator
Authored By
Daimona
Mar 2 2019, 9:38 AM
Size
8 KB
Referenced Files
None
Subscribers
None
includes/Views/AbuseFilterView.php:166 PhanTypeMismatchArgument Argument 1 (config) is array{name:'wpFilterBuilder',inputId:'wpFilterBuilder',options:array} but \OOUI\DropdownInputWidget::__construct() takes array[] defined at ../../vendor/oojs/oojs-ui/php/widgets/DropdownInputWidget.php:22
includes/Views/AbuseFilterView.php:187 PhanTypeMismatchArgument Argument 1 (config) is array{items:array{0:\OOUI\AccessKeyedElement|\OOUI\ButtonElement|\OOUI\ButtonWidget|\OOUI\Element|\OOUI\FlaggedElement|\OOUI\IconElement|\OOUI\IndicatorElement|\OOUI\LabelElement|\OOUI\TabIndexedElement|\OOUI\Tag|\OOUI\TitledElement|\OOUI\Widget|string,1:\OOUI\AccessKeyedElement|\OOUI\ButtonElement|\OOUI\ButtonWidget|\OOUI\Element|\OOUI\FlaggedElement|\OOUI\IconElement|\OOUI\IndicatorElement|\OOUI\LabelElement|\OOUI\TabIndexedElement|\OOUI\Tag|\OOUI\TitledElement|\OOUI\Widget|string}} but \OOUI\HorizontalLayout::__construct() takes \OOUI\Layout[]|\OOUI\Widget[] defined at ../../vendor/oojs/oojs-ui/php/layouts/HorizontalLayout.php:17
includes/Views/AbuseFilterView.php:196 PhanTypeMismatchArgument Argument 1 (config) is array{items:array<int,\OOUI\Element>|array<int,\OOUI\FieldLayout>|array<int,\OOUI\LabelElement>|array<int,\OOUI\Layout>|array<int,\OOUI\Tag>|array<int,\OOUI\TitledElement>|array<int,string>|array{0:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string},classes:array{0:'mw-abusefilter-edit-buttons',1:'mw-abusefilter-javascript-tools'}} but \OOUI\FieldsetLayout::__construct() takes \OOUI\FieldLayout[] defined at ../../vendor/oojs/oojs-ui/php/layouts/FieldsetLayout.php:26
includes/Views/AbuseFilterViewDiff.php:36 PhanTypeMismatchArgument Argument 1 (config) is array{items:array<string,\OOUI\AccessKeyedElement>|array<string,\OOUI\ButtonElement>|array<string,\OOUI\ButtonWidget>|array<string,\OOUI\Element>|array<string,\OOUI\FlaggedElement>|array<string,\OOUI\IconElement>|array<string,\OOUI\IndicatorElement>|array<string,\OOUI\LabelElement>|array<string,\OOUI\TabIndexedElement>|array<string,\OOUI\Tag>|array<string,\OOUI\TitledElement>|array<string,\OOUI\Widget>|array<string,string>|array{abusefilter-diff-backhistory:string,abusefilter-history-backedit:string}|array{}} but \OOUI\HorizontalLayout::__construct() takes \OOUI\Layout[]|\OOUI\Widget[] defined at ../../vendor/oojs/oojs-ui/php/layouts/HorizontalLayout.php:17
includes/Views/AbuseFilterViewDiff.php:72 PhanTypeMismatchArgument Argument 1 (config) is array{items:array<int,\OOUI\AccessKeyedElement>|array<int,\OOUI\ButtonElement>|array<int,\OOUI\ButtonWidget>|array<int,\OOUI\Element>|array<int,\OOUI\FlaggedElement>|array<int,\OOUI\IconElement>|array<int,\OOUI\IndicatorElement>|array<int,\OOUI\LabelElement>|array<int,\OOUI\TabIndexedElement>|array<int,\OOUI\Tag>|array<int,\OOUI\TitledElement>|array<int,\OOUI\Widget>|array<int,string>|array{},classes:array{0:'mw-abusefilter-history-buttons'}} but \OOUI\HorizontalLayout::__construct() takes \OOUI\Layout[]|\OOUI\Widget[] defined at ../../vendor/oojs/oojs-ui/php/layouts/HorizontalLayout.php:17
includes/Views/AbuseFilterViewEdit.php:211 PhanTypeMismatchArgument Argument 1 (config) is array{name:'wpFilterGroup',id:'mw-abusefilter-edit-group-input',value:'default',disabled:bool} but \OOUI\DropdownInputWidget::__construct() takes array[] defined at ../../vendor/oojs/oojs-ui/php/widgets/DropdownInputWidget.php:22
includes/Views/AbuseFilterViewEdit.php:603 PhanTypeMismatchArgument Argument 1 (config) is array{items:array{abusefilter-edit-throttle-groups:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string,abusefilter-edit-throttle-period:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string,abusefilter-edit-throttle-count:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string}} but \OOUI\FieldsetLayout::__construct() takes \OOUI\FieldLayout[] defined at ../../vendor/oojs/oojs-ui/php/layouts/FieldsetLayout.php:26
includes/Views/AbuseFilterViewEdit.php:694 PhanTypeMismatchArgument Argument 1 (config) is array{items:array{0:\OOUI\AccessKeyedElement|\OOUI\ButtonElement|\OOUI\ButtonInputWidget|\OOUI\Element|\OOUI\FlaggedElement|\OOUI\IconElement|\OOUI\IndicatorElement|\OOUI\InputWidget|\OOUI\LabelElement|\OOUI\TabIndexedElement|\OOUI\Tag|\OOUI\TitledElement|\OOUI\Widget|string,1:\OOUI\AccessKeyedElement|\OOUI\ButtonElement|\OOUI\ButtonInputWidget|\OOUI\Element|\OOUI\FlaggedElement|\OOUI\IconElement|\OOUI\IndicatorElement|\OOUI\InputWidget|\OOUI\LabelElement|\OOUI\TabIndexedElement|\OOUI\Tag|\OOUI\TitledElement|\OOUI\Widget|string},classes:array{0:'mw-abusefilter-preview-buttons',1:'mw-abusefilter-javascript-tools'}} but \OOUI\HorizontalLayout::__construct() takes \OOUI\Layout[]|\OOUI\Widget[] defined at ../../vendor/oojs/oojs-ui/php/layouts/HorizontalLayout.php:17
includes/Views/AbuseFilterViewEdit.php:717 PhanTypeMismatchArgument Argument 1 (config) is array{items:array<string,\OOUI\AccessKeyedElement>|array<string,\OOUI\ButtonElement>|array<string,\OOUI\ButtonInputWidget>|array<string,\OOUI\Element>|array<string,\OOUI\FieldLayout>|array<string,\OOUI\FlaggedElement>|array<string,\OOUI\IconElement>|array<string,\OOUI\IndicatorElement>|array<string,\OOUI\InputWidget>|array<string,\OOUI\LabelElement>|array<string,\OOUI\Layout>|array<string,\OOUI\TabIndexedElement>|array<string,\OOUI\Tag>|array<string,\OOUI\TitledElement>|array<string,\OOUI\Widget>|array<string,string>|array{}} but \OOUI\FieldsetLayout::__construct() takes \OOUI\FieldLayout[] defined at ../../vendor/oojs/oojs-ui/php/layouts/FieldsetLayout.php:26
includes/Views/AbuseFilterViewEdit.php:819 PhanTypeMismatchArgument Argument 1 (config) is array{name:'wpBlockAnonDuration',options:array,value:mixed,disabled:bool} but \OOUI\DropdownInputWidget::__construct() takes array[] defined at ../../vendor/oojs/oojs-ui/php/widgets/DropdownInputWidget.php:22
includes/Views/AbuseFilterViewEdit.php:827 PhanTypeMismatchArgument Argument 1 (config) is array{name:'wpBlockUserDuration',options:array,value:mixed,disabled:bool} but \OOUI\DropdownInputWidget::__construct() takes array[] defined at ../../vendor/oojs/oojs-ui/php/widgets/DropdownInputWidget.php:22
includes/Views/AbuseFilterViewEdit.php:870 PhanTypeMismatchArgument Argument 1 (config) is array{items:array{abusefilter-edit-block-user-durations:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string,abusefilter-edit-block-anon-durations:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string,abusefilter-edit-block-options:\OOUI\Element|\OOUI\FieldLayout|\OOUI\LabelElement|\OOUI\Layout|\OOUI\Tag|\OOUI\TitledElement|string}} but \OOUI\FieldsetLayout::__construct() takes \OOUI\FieldLayout[] defined at ../../vendor/oojs/oojs-ui/php/layouts/FieldsetLayout.php:26
includes/Views/AbuseFilterViewEdit.php:924 PhanTypeMismatchArgument Argument 1 (config) is array{name:'wpFilterDisallowMessage'|'wpFilterWarnMessage',id:string,value:'other'|string,infusable:true} but \OOUI\DropdownInputWidget::__construct() takes array[] defined at ../../vendor/oojs/oojs-ui/php/widgets/DropdownInputWidget.php:22
includes/Views/AbuseFilterViewHistory.php:53 PhanTypeMismatchArgument Argument 1 (config) is array{items:array<string,\OOUI\AccessKeyedElement>|array<string,\OOUI\ButtonElement>|array<string,\OOUI\ButtonWidget>|array<string,\OOUI\Element>|array<string,\OOUI\FlaggedElement>|array<string,\OOUI\IconElement>|array<string,\OOUI\IndicatorElement>|array<string,\OOUI\LabelElement>|array<string,\OOUI\TabIndexedElement>|array<string,\OOUI\Tag>|array<string,\OOUI\TitledElement>|array<string,\OOUI\Widget>|array<string,string>|array{abusefilter-history-backedit:string}|array{}} but \OOUI\HorizontalLayout::__construct() takes \OOUI\Layout[]|\OOUI\Widget[] defined at ../../vendor/oojs/oojs-ui/php/layouts/HorizontalLayout.php:17
includes/Views/AbuseFilterViewTestBatch.php:199 PhanUndeclaredProperty Reference to undeclared property \RecentChange->filterResult
includes/parser/AFPTreeNode.php:122 PhanTypeSuspiciousNonTraversableForeach Class \AFPToken was passed to foreach, but it does not extend Traversable. This may be intentional, because some of that class's declared properties are accessible from this context. (This check excludes dynamic properties)
includes/parser/AbuseFilterCachingParser.php:279 PhanTypeSuspiciousNonTraversableForeach Class \AFPToken was passed to foreach, but it does not extend Traversable. This may be intentional, because some of that class's declared properties are accessible from this context. (This check excludes dynamic properties)

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
7146588
Default Alt Text
raw.txt (8 KB)

Event Timeline