formate code to PSR
correct check configuration
fix error of registr migrations