Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 168d5d6

Browse files
committed
Merge branch '2.8' into 3.3
* 2.8: Mention that PSR-1 doesn't recommend CamelCase or anything else minor #8091 Update js-datepicker usage for new jQuery UI (AdrianBorodziuk, javiereguiluz) minor #8983 cross-reference console command testing from testing guide (dbu)
2 parents f6feb71 + 788ffe2 commit 168d5d6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

components/serializer.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,9 @@ CamelCase to snake_case
463463
~~~~~~~~~~~~~~~~~~~~~~~
464464

465465
In many formats, it's common to use underscores to separate words (also known
466-
as snake_case). However, PSR-1 specifies that the preferred style for PHP
467-
properties and methods is CamelCase.
466+
as snake_case). However, in Symfony applications is common to use CamelCase to
467+
name properties (even though the `PSR-1 standard`_ doesn't recommend any
468+
specific case for property names).
468469

469470
Symfony provides a built-in name converter designed to transform between
470471
snake_case and CamelCased styles during serialization and deserialization
@@ -996,6 +997,7 @@ Learn more
996997
A popular alternative to the Symfony Serializer Component is the third-party
997998
library, `JMS serializer`_ (released under the Apache license, so incompatible with GPLv2 projects).
998999

1000+
.. _`PSR-1 standard`: http://www.php-fig.org/psr/psr-1/
9991001
.. _`JMS serializer`: https://github.com/schmittjoh/serializer
10001002
.. _Packagist: https://packagist.org/packages/symfony/serializer
10011003
.. _RFC3339: https://tools.ietf.org/html/rfc3339#section-5.8

testing.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,7 @@ Learn more
905905

906906
testing/*
907907

908+
* :ref:`Testing a console command <console-testing-commands>`
908909
* :doc:`The chapter about tests in the Symfony Framework Best Practices </best_practices/tests>`
909910
* :doc:`/components/dom_crawler`
910911
* :doc:`/components/css_selector`

0 commit comments

Comments
 (0)