Split too "long method".

Related to https://scrutinizer-ci.com/g/phpDocumentor/phpDocumentor2/code-structure/develop/operation/phpDocumentor%5CTransformer%5CCommand%5CProject%5CTransformCommand%3A%3AloadTransformations
Merge pull request #1168 from siad007/patch-14

Split another too "long method".