Patrick Luca Fazzi

Results 8 comments of Patrick Luca Fazzi

La chiudiamo questa? È aperta da tempo immemore... :D

The idea sounds good to me. Anyway, I am wondering if, at the current stage, the project is mature enough to allow us to set strict goals.

Hello @fokosun, thanks for contributing :) At the beginning of this project we have been debating about the minimum PHP version to support and we finally agreed to maintain backward...

@fokosun, you should comply with coding styles. Please run `make build` before to push ;)

Regarding your questions: - Class can implement or inherit the method. - Patter matching could be useful, someone could enforce rules like "Repository should have findBy* methods"; even I dislike...

You’re right, but my goal here is to offer a simpler and more expressive DSL to cover the most common architectural rules we encounter in real-world projects. For example, with...

I think we can probably keep the current DSL and build on top of it a more high-level DSL that covers the most relevant cases.

An even simpler version of the DSL: ```php Rule::namespace('Acme\Compliance') ->canDependOnlyOn('Acme\Common', 'Acme\Clock'); Rule::namespace('Acme\Compliance') ->shouldNotBeUsedByAnyOtherModule(); Rule::namespace('Acme\Pricing') ->canOnlyBeUsedBy('Acme\Logging', 'Acme\Service\RequestHandler'); ```