Those literals are assigned then compared somewhere else in the code. When those literals are carrying a state, it is recommended to assign them to a constant, to ensure that both parts of the application use the same values..
Literal | Assignations | Comparisons |
10 |
|
|
100 |
|
|
3 |
|
|
4 |
|
|
6 |
|
|
zip |
|
|
tar |
|
|
0 |
|
|
__root__ |
|
|
available |
|
|
. |
|
|
update |
|
|
require |
|
|
stable |
|
|
* |
|
|
full |
|
|
/ |
|
|
[ |
|
|
{} |
|
|
platform |
|
|
guess |
|
|
https |
|
|
http |
|
|
composer |
|
|
api.github.com |
|
|
github.com |
|
|
bitbucket.org |
|
|
null |
|
|
trunk |
|
|