Make configuration example aware of already defined constants.

Reduces the barrage of warnings during testing.
Update Composer and dependencies.
Merge branch 'reduce-test-noise'