Skip to content

Use valid number of backslashes, depending on 1 or 2 ticks #11771

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

Merged
merged 1 commit into from
Jun 18, 2019

Conversation

OskarStark
Copy link
Contributor

@OskarStark OskarStark commented Jun 18, 2019

@javiereguiluz I created a rule for the doctor 👍

After merging, I will check the other branches, too 👍

@OskarStark OskarStark added this to the 3.4 milestone Jun 18, 2019
@@ -13,7 +13,7 @@ simple principle: the logic is about creating the Response associated with a
Request.

Let's create our very own namespace for our framework: ``Simplex``. Move the
request handling logic into its own ``Simplex\\Framework`` class::
request handling logic into its own ``Simplex\Framework`` class::
Copy link
Contributor Author

Choose a reason for hiding this comment

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

When using 2 backticks, 1 backslash is enough, otherwise it looks like this:
Screenshot 2019-06-18 10 08 44

Which isn't a valid namespace.

@@ -94,7 +94,7 @@ public methods and properties.
.. caution::

Classes, properties and methods that bear the tag ``@internal`` as well as
the classes located in the various ``*\\Tests\\`` namespaces are an
the classes located in the various ``*\Tests\`` namespaces are an
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Before:
Screenshot 2019-06-18 10 08 19

@@ -199,7 +199,7 @@ assetic.formula_loader
**Purpose**: Add a formula loader to the current asset manager

A Formula loader is a class implementing
``Assetic\\Factory\Loader\\FormulaLoaderInterface`` interface. This class
``Assetic\Factory\Loader\FormulaLoaderInterface`` interface. This class
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was definitely wrong before 😄 and now spotted by the doctor 💃

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

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

Very nice! I make this mistake sometimes. I'll try to be more careful in the future. Thanks.

@OskarStark
Copy link
Contributor Author

Very nice! I make this mistake sometimes. I'll try to be more careful in the future. Thanks.

Don't worry, we will spot them automagically in the future 😃

@OskarStark OskarStark merged commit abe4c85 into symfony:3.4 Jun 18, 2019
OskarStark added a commit that referenced this pull request Jun 18, 2019
…ks (OskarStark)

This PR was merged into the 3.4 branch.

Discussion
----------

Use valid number of backslashes, depending on 1 or 2 ticks

@javiereguiluz I created a rule for the doctor 👍

After merging, I will check the other branches, too 👍

Commits
-------

abe4c85 Use valid number of backslashes, depending on 1 or 2 ticks
OskarStark added a commit that referenced this pull request Jun 18, 2019
…ks - 4.2 (OskarStark)

This PR was merged into the 4.2 branch.

Discussion
----------

Use valid number of backslashes, depending on 1 or 2 ticks - 4.2

Needs rebase after #11771

Commits
-------

501c509 Use valid number of backslashes, depending on 1 or 2 ticks
@OskarStark OskarStark deleted the namespaces-ticks branch June 18, 2019 09:12
javiereguiluz added a commit that referenced this pull request Jun 20, 2019
…ks - 4.3 (OskarStark)

This PR was merged into the 4.3 branch.

Discussion
----------

Use valid number of backslashes, depending on 1 or 2 ticks - 4.3

Needs rebase after #11771

Commits
-------

a299af7 Use valid number of backslashes, depending on 1 or 2 ticks
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.

3 participants