diff --git a/.github/workflows/ci_build.yml b/.github/workflows/ci_build.yml index 2e49d6e5..fafcaa44 100644 --- a/.github/workflows/ci_build.yml +++ b/.github/workflows/ci_build.yml @@ -44,6 +44,7 @@ jobs: run: "composer cs-check" - name: "Code analyze" run: | + bin/structarmed analyze composer phpstan bin/rector process --dry-run - name: "Run test suite (no coverage)" diff --git a/composer.json b/composer.json index 7640ba48..61c5cf58 100644 --- a/composer.json +++ b/composer.json @@ -56,6 +56,7 @@ "laminas/laminas-mvc-console": "*" }, "require-dev": { + "boundwize/structarmed": "^0.1.1", "doctrine/dbal": "^3.10.4", "doctrine/doctrine-orm-module": "^6.3.0", "guzzlehttp/promises": "^2.3", diff --git a/config/module.config.php b/config/module.config.php index 2e1ab484..2f92c5d6 100644 --- a/config/module.config.php +++ b/config/module.config.php @@ -1,5 +1,7 @@ $eventsToMail + */ final class Mail extends BaseMail { private const string NAME = 'name'; diff --git a/structarmed.php b/structarmed.php new file mode 100644 index 00000000..2cd501fd --- /dev/null +++ b/structarmed.php @@ -0,0 +1,9 @@ +withPreset(Preset::PSR4());