Permalink
Browse files

minor #3864 plug rules for static methods (cordoval)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #3864).

Discussion
----------

plug rules for static methods

| Q             | A                   |
| ---           | ---                 |
| Doc fix?      | yes                  |
| New docs?     | no                 |
| Applies to    | 2.3+                |
| Fixed tickets | #3855               |
| License       | CC-ASA 3.0 Unported |

 Sent using [Gush](https://github.com/cordoval/gush)

Commits
-------

b7e4729 plug rules for static methods
  • Loading branch information...
weaverryan committed Jul 3, 2014
2 parents 329e254 + 52eeec4 commit 2ae82816556478c75ba9873589b2d77987156c36
Showing with 4 additions and 1 deletion.
  1. +4 −1 contributing/code/bc.rst
@@ -138,7 +138,7 @@ your overridden method wouldn't match anymore and generate a fatal error.
.. note::
As with interfaces, we limit ourselves to changes that can be upgraded
easily. We will document the precise ugprade instructions in the UPGRADE
easily. We will document the precise upgrade instructions in the UPGRADE
file in Symfony's root directory.
In some cases, only specific properties and methods are tagged with the ``@api``
@@ -307,6 +307,9 @@ Add type hint to an argument Yes Yes
Remove type hint of an argument Yes Yes
Change argument type Yes Yes
Change return type Yes Yes
**Static Methods**
Turn non static into static No No
Turn static into non static No No
================================================== ============== ==============
.. [1] Your code may be broken by changes in the Symfony code. Such changes will

0 comments on commit 2ae8281

Please sign in to comment.