Skip to content

chore(deps-dev): update boundwize/structarmed requirement from 0.4.5 to 0.5.0 in the composer-dependencies group#10200

Open
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/composer-dependencies-dee3913898
Open

chore(deps-dev): update boundwize/structarmed requirement from 0.4.5 to 0.5.0 in the composer-dependencies group#10200
dependabot[bot] wants to merge 1 commit into
developfrom
dependabot/composer/composer-dependencies-dee3913898

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 13, 2026

Updates the requirements on boundwize/structarmed to permit the latest version.
Updates boundwize/structarmed to 0.5.0

Release notes

Sourced from boundwize/structarmed's releases.

Released: Structarmed 0.5.0

ci build Code Coverage PHPStan

Layer patterns: namespace-based layer resolution

Until now, layers were resolved purely by path. In 0.5.0, you can define layers through namespace regex patterns using the new layerPattern() method. This is the natural choice for codebases where the architecture lives in the namespace tree rather than the directory structure.

return Architecture::define()
    ->layerPattern('API',      '/^App\\\\API\\\\.*$/')
    ->layerPattern('HTTP',     '/^App\\\\HTTP\\\\.*$/')
    ->layerPattern('Database', '/^App\\\\Database\\\\.*$/');

An optional third argument acts as an exclude filter — classes whose FQN matches it are skipped even when the primary pattern matches:

->layerPattern('HTTP', '/^App\\\\HTTP\\\\.*$/', '/^App\\\\HTTP\\\\URI$/')
->layerPattern('URI',  '/^App\\\\HTTP\\\\URI$/')

Declarative rulesets

Once layers are defined (via layer() or layerPattern()), declare the full allowed-dependency map in one place with ruleset(). Any dependency that resolves to a layer not listed is a violation:

->ruleset([
    'API'      => ['HTTP'],      // API may only depend on HTTP
    'HTTP'     => ['Database'],  // HTTP may only depend on Database
    'Database' => [],            // Database must not depend on any layer
])

Layers absent from the map are not checked. Same-layer dependencies and dependencies on external (non-registered) classes are always allowed.


Fine-grained violation suppression

When a specific class-to-class dependency is a known exception, suppress it without disabling the whole layer rule:

->skipClassViolation('App\\HTTP\\ResponseTrait', [
    'App\\Pager\\PagerInterface',
])
->skipClassViolation('App\\Log\\ChromeLoggerHandler', 'App\\HTTP\\ResponseInterface')

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [boundwize/structarmed](https://github.com/boundwize/structarmed) to permit the latest version.

Updates `boundwize/structarmed` to 0.5.0
- [Release notes](https://github.com/boundwize/structarmed/releases)
- [Commits](boundwize/structarmed@0.4.5...0.5.0)

---
updated-dependencies:
- dependency-name: boundwize/structarmed
  dependency-version: 0.5.0
  dependency-type: direct:development
  dependency-group: composer-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update external dependencies php Pull requests that update php code labels May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants