@@ -11,8 +11,6 @@ acceptable changes.
1111* New unit tests cover the bug fix;
1212* The current buggy behavior is not widely used as a "feature".
1313
14- While working on a bug fix, don't refactor the code or introduce new classes.
15-
1614.. note ::
1715
1816 When documentation (or PHPDoc) is not in sync with the code, code behavior
@@ -46,7 +44,8 @@ a case by case basis:
4644* **Tests **: Tests that increase the code coverage can be added.
4745
4846The following changes are **generally not accepted ** in a patch version, except
49- on a case by case basis:
47+ on a case by case basis (mostly when this is related to fixing a security
48+ issue):
5049
5150* **Performance improvement **: Performance improvement should only be accepted
5251 if the changes are local (located in one class) and only for algorithmic
@@ -58,6 +57,16 @@ on a case by case basis:
5857 existing code base, if they are not too invasive, and if merging them into
5958 higher branches would not lead to complex branch merging.
6059
60+ * **Adding new classes or non private methods **: While working on a bug fix,
61+ never introduce new classes or public/protected methods (or global
62+ functions).
63+
64+ * **Adding configuration options **: Introducing new configuration options is
65+ never allowed.
66+
67+ * **Adding new deprecations **: After a version reaches stability, new
68+ deprecations cannot be added anymore.
69+
6170Anything not explicitly listed above should be done on the next minor or major
6271version instead. For instance, the following changes are never accepted in a
6372patch version:
0 commit comments