![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/cartforge.co/vendor/rector/rector/templates/ |
stages: - setup - rector - commit_changes setup: stage: setup # see https://github.com/thecodingmachine/docker-images-php image: thecodingmachine/php:8.2-v4-slim-cli rector: stage: rector script: - vendor/bin/rector --ansi # @todo apply coding standard if used commit_changes: stage: commit_changes script: - git config --global user.email "[email protected]" - git config --global user.name "GitLab CI # - git checkout $CI_COMMIT_REF_NAME - git add . - git commit -m "[rector] Rector fixes" - git push origin $CI_COMMIT_REF_NAME only: - merge_requests