rspec/rules/S3011/description.adoc
2020-06-30 17:16:12 +02:00

2 lines
301 B
Plaintext

This rule raises an issue when reflection is used to change the visibility of a class, method or field, and when it is used to directly update a field value. Altering or bypassing the accessibility of classes, methods, or fields violates the encapsulation principle and could lead to run-time errors.