Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ stubs export-ignore
tests export-ignore
rules-tests export-ignore
rector.php export-ignore
structarmed.php export-ignore
4 changes: 4 additions & 0 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
name: 'Tests'
run: vendor/bin/phpunit

-
name: 'Run StructArmed'
run: vendor/bin/structarmed analyze

name: ${{ matrix.actions.name }}

runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"ext-xml": "*"
},
"require-dev": {
"symplify/easy-coding-standard": "^13.0.4",
"boundwize/structarmed": "^0.7.7",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1.32",
"phpstan/phpstan-deprecation-rules": "^2.0",
Expand All @@ -26,6 +26,7 @@
"symfony/security-http": "^6.4",
"symfony/validator": "^6.4",
"symfony/web-link": "^6.4",
"symplify/easy-coding-standard": "^13.0.4",
"symplify/phpstan-extensions": "^12.0",
"symplify/phpstan-rules": "^14.9",
"symplify/vendor-patches": "^11.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace CodeQuality\Rector\Class_\ControllerMethodInjectionToConstructorRector;
namespace Rector\Symfony\Tests\CodeQuality\Rector\Class_\ControllerMethodInjectionToConstructorRector;

use Iterator;
use PHPUnit\Framework\Attributes\DataProvider;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

9 changes: 9 additions & 0 deletions structarmed.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php

declare(strict_types=1);

use Boundwize\StructArmed\Architecture;
use Boundwize\StructArmed\Preset\Preset;

return Architecture::define()
->withPreset(Preset::PSR4());
Loading