Avoid SOAP constant error in PHPUnit
Merge branch 'hotfix/4874'

Close #4874
Merge pull request #5368 from ThaDafinser/master

Avoid SOAP constant error in PHPUnit
Merge branch 'hotfix/5368' into develop

Forward port #5368