Skip to content

Released: StructArmed 0.12.0

Choose a tag to compare

@samsonasik samsonasik released this 05 Jun 02:56
· 108 commits to main since this release
0.12.0
e3b038b

Released: StructArmed 0.12.0

ci build PHPStan

You can now pass an array of class-name regex patterns for a layer:

->layerPattern('Service', [
    '/^App\\\\Service\\\\.*$/',
    '/^App\\\\Application\\\\.*Service$/',
])

You can also pass an array of exclude patterns:

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

What's Changed

  • Allow array patterns and exclude patterns in layerPattern() by @samsonasik in #132

Full Changelog: 0.11.3...0.12.0