mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #33990
[Bug 1566127] [NEW] PHP 5.3 incompatible array declarations
Public bug reported:
In lib/graph.php there's a spot where an array is initialized using the
easier array syntax introduced in PHP 5.4:
$defaultcolours =
['187,35,39','59,140,46','61,132,203','227,171,0','0,74,136','139,62,138','220,109,10','29,183,197','116,116,116','62,35,110'];
Since we're still supporting PHP 5.3, this needs to use the array()
pseudo-function instead.
** Affects: mahara
Importance: Medium
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Affects: mahara/15.10
Importance: Medium
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Affects: mahara/16.04
Importance: Medium
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Affects: mahara/16.10
Importance: Medium
Assignee: Aaron Wells (u-aaronw)
Status: In Progress
** Also affects: mahara/15.10
Importance: Undecided
Status: New
** Also affects: mahara/16.04
Importance: Undecided
Status: New
** Changed in: mahara/15.10
Importance: Undecided => Medium
** Changed in: mahara/15.10
Status: New => In Progress
** Changed in: mahara/15.10
Milestone: None => 15.10.3
** Changed in: mahara/15.10
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara/16.04
Milestone: None => 16.04.0
** Changed in: mahara/16.04
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara/16.04
Importance: Undecided => Medium
** Changed in: mahara/16.04
Status: New => In Progress
** Also affects: mahara/16.10
Importance: Undecided
Status: New
** Changed in: mahara/16.10
Milestone: None => 16.10.0
** Changed in: mahara/16.10
Assignee: (unassigned) => Aaron Wells (u-aaronw)
** Changed in: mahara/16.10
Importance: Undecided => Medium
** Changed in: mahara/16.10
Status: New => In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1566127
Title:
PHP 5.3 incompatible array declarations
Status in Mahara:
In Progress
Status in Mahara 15.10 series:
In Progress
Status in Mahara 16.04 series:
In Progress
Status in Mahara 16.10 series:
In Progress
Bug description:
In lib/graph.php there's a spot where an array is initialized using
the easier array syntax introduced in PHP 5.4:
$defaultcolours =
['187,35,39','59,140,46','61,132,203','227,171,0','0,74,136','139,62,138','220,109,10','29,183,197','116,116,116','62,35,110'];
Since we're still supporting PHP 5.3, this needs to use the array()
pseudo-function instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1566127/+subscriptions
Follow ups
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Robert Lyon, 2016-10-21
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Robert Lyon, 2016-05-02
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Kristina Hoeppner, 2016-04-30
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Aaron Wells, 2016-04-07
-
[Bug 1566127] A patch has been submitted for review
From: Mahara Bot, 2016-04-07
-
[Bug 1566127] A change has been merged
From: Mahara Bot, 2016-04-07
-
[Bug 1566127] A change has been merged
From: Mahara Bot, 2016-04-07
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Robert Lyon, 2016-04-07
-
[Bug 1566127] A patch has been submitted for review
From: Mahara Bot, 2016-04-07
-
[Bug 1566127] A patch has been submitted for review
From: Mahara Bot, 2016-04-07
-
[Bug 1566127] A change has been merged
From: Mahara Bot, 2016-04-07
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Robert Lyon, 2016-04-07
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Kristina Hoeppner, 2016-04-06
-
[Bug 1566127] Re: PHP 5.3 incompatible array declarations
From: Aaron Wells, 2016-04-05
-
[Bug 1566127] A patch has been submitted for review
From: Mahara Bot, 2016-04-05