Skip to content

Commit 259a883

Browse files
authored
Merge pull request #118 from samsonasik/add-structarmed
Add structarmed to github workflows
2 parents a9d43e0 + fcfca07 commit 259a883

15 files changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/ci_build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
run: "composer cs-check"
4545
- name: "Code analyze"
4646
run: |
47+
bin/structarmed analyze
4748
composer phpstan
4849
bin/rector process --dry-run
4950
- name: "Run test suite (no coverage)"

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"laminas/laminas-mvc-console": "*"
5757
},
5858
"require-dev": {
59+
"boundwize/structarmed": "^0.1.1",
5960
"doctrine/dbal": "^3.10.4",
6061
"doctrine/doctrine-orm-module": "^6.3.0",
6162
"guzzlehttp/promises": "^2.3",

config/module.config.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace ErrorHeroModule;
46

57
use ErrorHeroModule\Command\BaseLoggingCommandInitializer;

spec/Fixture/config/autoload-for-cannot-connect-to-db/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Laminas\Db\Adapter\AdapterInterface;
57
use Laminas\Mail\Message;

spec/Fixture/config/autoload-for-enable-display-errors/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Laminas\Db\Adapter\AdapterInterface;
57
use Laminas\Mail\Message;

spec/Fixture/config/autoload-for-specific-error-and-exception/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Laminas\Db\Adapter\AdapterInterface;
57

spec/Fixture/config/autoload-for-xmlhttprequest-with-non-json-message/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Laminas\Db\Adapter\AdapterInterface;
57

spec/Fixture/config/autoload-for-xmlhttprequest/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Laminas\Db\Adapter\AdapterInterface;
57

spec/Fixture/config/autoload-with-doctrine/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Doctrine\DBAL\Driver\PDO\MySql\Driver;
57
use Laminas\Db\Adapter\AdapterInterface;

spec/Fixture/config/autoload-with-enable-sendmail-with-empty-email-receivers/error-hero-module.local.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Pdo\Mysql;
46
use Laminas\Db\Adapter\AdapterInterface;
57
use Laminas\Mail\Message;

0 commit comments

Comments
 (0)