Updated PhpArray to expand paths using __DIR__
Test Coverage on ConfigWrite for __DIR__.
Added comment for dirname replace.
Merge pull request #5880 from spiffyjr/feature/php-array-fix-dir

Updated PhpArray to expand paths using __DIR__
[#5880] CS fixes

- EOF ending
Merge branch 'feature/5880' into develop

Close #5880