Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 168d5d6

Browse filesBrowse 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
Copy full SHA for 168d5d6

File tree

2 files changed

+5
-2
lines changed
Filter options

2 files changed

+5
-2
lines changed

‎components/serializer.rst

Copy file name to clipboardExpand all lines: components/serializer.rst
+4-2Lines 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

Copy file name to clipboardExpand all lines: testing.rst
+1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.