@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix PHP 8.1 trim(null) exception in ./bin/diviner generate

Summary:
When running './bin/diviner generate' under PHP 8.1, we get a trim(null) exception.

Fixes T15548

Test Plan: Run './bin/diviner generate'

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: avivey, speck, tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15548

Differential Revision: https://we.phorge.it/D25353

authored by

Steve Campbell and committed by
sten
9c8b9a6b eb2be08f

+1 -1
+1 -1
src/applications/diviner/atom/DivinerAtom.php
··· 346 346 ->setContext(idx($dictionary, 'context')) 347 347 ->setLanguage(idx($dictionary, 'language')) 348 348 ->setParentHash(idx($dictionary, 'parentHash')) 349 - ->setDocblockRaw(idx($dictionary, 'docblockRaw')) 349 + ->setDocblockRaw(coalesce(idx($dictionary, 'docblockRaw'), '')) 350 350 ->setProperties(idx($dictionary, 'properties')); 351 351 352 352 foreach (idx($dictionary, 'warnings', array()) as $warning) {