1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00
phorge-phorge/src/view/phui
epriestley 1db281bcd1 Fix a possible count(null) in PHUIInfoView
Summary:
See <https://discourse.phabricator-community.org/t/php7-2-exception-count-parameter-must-be-an-array-or-an-object-that-implements-countable/1031>.

PHP7.2 raises a warning about `count(scalar)` (GREAT!) and we have one here if the caller doesn't `setErrors(...)`.

Test Plan: Sanity-checked usage of `$this->errors`.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18964
2018-01-29 15:16:41 -08:00
..
__tests__ Ensure that PHUIInvisibleCharacterTestCase is compatible with PHP 5.3 2016-11-15 14:46:22 -08:00
calendar Fix errors found by PHPStan 2017-02-18 09:24:56 +00:00
PHUI.php Remove unused call to phui-text 2016-01-29 12:41:04 -08:00
PHUIActionPanelView.php Add setImage to PHUIActionPanelView 2017-07-30 13:20:26 -07:00
PHUIBadgeBoxView.php PHUIBadgeMiniView 2015-07-10 10:49:28 -07:00
PHUIBadgeMiniView.php Converting badge quality property from color to an integer representation for later sorting purposes 2016-03-30 17:28:34 -07:00
PHUIBadgeView.php Links on badge card should be accessible 2016-04-15 07:55:31 -07:00
PHUIBigInfoView.php Add a UIExamples page for PHUIBigInfoView 2017-08-07 15:58:49 -07:00
PHUIBoxView.php Add basic grey and blue styles for PHUIBoxView 2016-01-21 07:14:39 -08:00
PHUIButtonBarView.php Move simple buttons, bar to own CSS file 2017-06-01 16:52:00 -07:00
PHUIButtonView.php Add a selected button ui state 2017-08-30 10:14:29 -07:00
PHUICMSView.php Rough in Guides Application 2016-08-17 10:14:05 -07:00
PHUICrumbsView.php Add fullscreen mode to Workboards 2016-02-10 15:31:02 +00:00
PHUICrumbView.php Fourth fix for the magical world of crumbs and text-overflow 2017-03-09 07:23:41 -08:00
PHUIDocumentSummaryView.php Add a Read More link to PHUIDocumentSummaryView 2015-12-19 12:49:23 -08:00
PHUIDocumentViewPro.php Make "simple" a "button type", not a "color" 2017-05-30 17:59:37 -07:00
PHUIFeedStoryView.php Update notification UI a little 2017-08-28 14:52:52 -07:00
PHUIHeaderView.php Fix spelling 2017-10-09 10:48:04 -07:00
PHUIHeadThingView.php Update Diffusion UI 2016-03-17 12:05:14 -07:00
PHUIHovercardView.php Separate button CSS classes 2017-06-05 20:14:34 +00:00
PHUIIconCircleView.php Try layering state icons on PHUICircleIconView 2017-05-26 13:55:42 -07:00
PHUIIconView.php Add a tooltip method to PHUIIconView 2017-06-12 18:00:04 +00:00
PHUIImageMaskView.php Fix AphrontTagView visibility 2015-01-14 06:54:39 +11:00
PHUIInfoView.php Fix a possible count(null) in PHUIInfoView 2018-01-29 15:16:41 -08:00
PHUIInvisibleCharacterView.php Added initial class for displaying invisible chars 2016-09-12 21:57:01 -04:00
PHUILeftRightView.php Rudamentary PHUILeftRightView 2017-07-10 18:19:57 -07:00
PHUIListItemView.php Use PHUIListItemView in ConpherenceThreadList 2017-04-17 11:21:49 -07:00
PHUIListView.php Improve handle loading semantics for tokenizers 2015-04-02 13:42:01 -07:00
PHUIObjectBoxView.php Config re-design 2017-09-05 15:24:15 -07:00
PHUIObjectItemListView.php Reorganize phui-object-item CSS, add drag ui 2016-12-14 11:53:17 -08:00
PHUIObjectItemView.php Rebuild the bulk editor on SearchEngine 2018-01-19 12:40:08 -08:00
PHUIPagerView.php Fix pagination of fulltext search results 2017-04-12 17:57:46 -07:00
PHUIPinboardItemView.php Convert all calls to 'IconFont' to just 'Icon' 2016-01-27 20:59:27 -08:00
PHUIPinboardView.php [Redesign] Center Pinboard Items 2015-05-31 14:28:16 -07:00
PHUIPropertyGroupView.php PHUIPropertyListView 2013-10-11 07:53:56 -07:00
PHUIPropertyListView.php Disambiguate isEmpty() 2016-01-31 15:20:04 -08:00
PHUIRemarkupPreviewPanel.php Use PHUIRemarkupPreviewView in Phame 2015-11-23 10:36:02 -08:00
PHUISegmentBarSegmentView.php Add a basic progress bar for milestones 2016-02-08 18:50:22 -08:00
PHUISegmentBarView.php First cut of progress bars (PHUISegmentBarView) 2016-02-08 15:28:09 -08:00
PHUIStatusItemView.php Update Calendar for PHUITwoColumnView 2016-03-02 18:12:42 -08:00
PHUIStatusListView.php Fix AphrontTagView visibility 2015-01-14 06:54:39 +11:00
PHUITabGroupView.php Remove old ObjectBox tab cruft 2016-06-30 18:50:25 -07:00
PHUITabView.php Build that thing someone posted a screenshot of on Facebook 2016-07-01 04:36:24 -07:00
PHUITagView.php Add a borderless tag style 2017-06-04 11:52:35 -07:00
PHUITimelineEventView.php Remove the caret dropdown from transaction lists when no actions are available 2018-01-29 15:14:59 -08:00
PHUITimelineView.php Add Badges to UserCache 2017-03-17 10:38:17 -07:00
PHUITwoColumnView.php Update EditEngine pages to take a page header separate 2017-09-05 20:07:11 -07:00
PHUIWorkboardView.php Only prevent drag-scroll in the Y direction on workboards 2016-02-08 10:05:39 -08:00
PHUIWorkpanelView.php Expand scope of addActionItem in PHUIHeaderView 2016-03-04 18:35:05 -08:00