By borisson_ on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
Introduced in version:
Issue links:
Description:
All binary operators (operators that come between two values), such as +, -, =, !=, ==, >, =>, etc. need to have exactly one space before and after the operator, for readability. Alignment with extra whitespace is not allowed.
This example is now no longer allowed.
protected $red = array(255, 0, 0, 0);
protected $blue = array(0, 0, 255, 0);
protected $orange = array(255, 255, 0, 0);
protected $transparent = array(0, 0, 0, 127);
This is the correct form.
protected $red = array(255, 0, 0, 0);
protected $blue = array(0, 0, 255, 0);
protected $orange = array(255, 255, 0, 0);
protected $transparent = array(0, 0, 0, 127);