Use php-cs-fixer as within other extensions. Use same configuration. Apply configuration
Use abstract classes to include necessary steps and keep actual test cases small. Ensure tests in CI run faster but not installing unnecessary dependencies. But use pre installed ImageMagick.
Relates: #10349
Also add shell.nix for easier development.