Constants used in test are of the form G2FOO, whereas they are defined as define('G2\FOO').
They should be fixed and use namespace constants instead of define() anyway.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | g2_constants-1242520-1.patch | 54.1 KB | fgm |
Constants used in test are of the form G2FOO, whereas they are defined as define('G2\FOO').
They should be fixed and use namespace constants instead of define() anyway.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | g2_constants-1242520-1.patch | 54.1 KB | fgm |
Comments
Comment #1
fgmThis patch converts all constants to namespace.
Regrettably some constants had to be inlined because
define()supports function calls for initializers butconst does not.Comment #2
fgmCommitted to 7.x since all tests pass.