Skip to content

Update without_class.rst #7552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Update without_class.rst #7552

wants to merge 3 commits into from

Conversation

BenjaminPorquet
Copy link

A right bracket is missing

A right bracket is missing
@@ -105,4 +105,4 @@ but here's a short example:

.. code-block:: php

new NotBlank(array('groups' => array('create', 'update'))
new NotBlank(array('groups' => array('create', 'update')))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the code block be part of the tip? I suggest to indent everything starting with line 106 by additional four spaces.

@BenjaminPorquet
Copy link
Author

@xabbuh : like that ?

.. code-block:: php

new NotBlank(array('groups' => array('create', 'update')))
new NotBlank(array('groups' => array('create', 'update')))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove the .. code-block:: notation but you then need to use the default php one by adding a double colon :: at the end of the line 104.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(for another language the notation should have been kept and indented as well)

Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@xabbuh
Copy link
Member

xabbuh commented Mar 1, 2017

Thank you @Benjamin-Porquet.

xabbuh added a commit that referenced this pull request Mar 1, 2017
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7552).

Discussion
----------

Update without_class.rst

A right bracket is missing

Commits
-------

7082f42 Update without_class.rst
@xabbuh xabbuh closed this Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants