Skip to content

Conversation

@DanielBadura
Copy link
Member

Add a new rule which detect writes of state which do not happen in apply methods, or do be more precise which are happening in #[Handle] methods.

This is still WIP.

…ply methods, or do be more precise which are happening in `#[Handle]` methods.
use PHPStan\Reflection\PropertyReflection;
use PHPStan\Rules\Properties\ReadWritePropertiesExtension;

final class AggregateRootExtension implements ReadWritePropertiesExtension
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this would be BC, should re-add i think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants