Skip to content

Commit 5abdf34

Browse files
Add BC promise rules for constructors
1 parent 45c72ff commit 5abdf34

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

contributing/code/bc.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ Make public or protected Yes
258258
Remove private property Yes
259259
**Constructors**
260260
Add constructor without mandatory arguments Yes :ref:`[1] <note-1>`
261+
:ref:`Add argument without a default value <add-argument-public-method>` No
262+
Add argument with a default value Yes
263+
Remove argument No :ref:`[3] <note-3>`
264+
Add default value to an argument Yes
265+
Remove default value of an argument No
266+
Add type hint to an argument No
267+
Remove type hint of an argument No
268+
Change argument type No
261269
Remove constructor No
262270
Reduce visibility of a public constructor No
263271
Reduce visibility of a protected constructor No :ref:`[7] <note-7>`

0 commit comments

Comments
 (0)