Problem/Motivation

catch (RequestException|ConnectException $e) { is PHP 7.1 only code. But we don't declare a dependency on PHP 7.1.

Proposed resolution

Remove |ConnectException since ConnectException extends RequestException anyway.

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 3065692-2.patch1.35 KBalexpott

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
StatusFileSize
new1.35 KB

  • alexpott committed 7c30cdd on 8.x-1.x
    Issue #3065692 by alexpott: Unnecessary PHP 7.1 code
    
alexpott’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.