Addressed and resolved the problems detected by phpcs and eslint for error-free execution of pipelines.
Closes #3520861