Skip to content
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

Updating message to inform the user how to install the component #25606

Closed
wants to merge 2 commits into from

Conversation

weaverryan
Copy link
Member

Q A
Branch? 4.0
Bug fix? yes-ish
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR n/a

Simple: direct the user exactly what to do if they hit this :)

@weaverryan
Copy link
Member Author

Test failure looks unrelated

if (!class_exists('Symfony\\Component\\CssSelector\\CssSelectorConverter')) {
throw new \RuntimeException('Unable to filter with a CSS selector as the Symfony CssSelector 2.8+ is not installed (you can use filterXPath instead).');
if (!class_exists(CssSelectorConverter::class)) {
throw new \RuntimeException('To filter with a CSS selector, install the CssSelector component ("composer require symfony/css-selector"). Or use filterXpath instead.');
Copy link
Contributor

Choose a reason for hiding this comment

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

In order to?

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Dec 27, 2017
@nicolas-grekas
Copy link
Member

Thank you @weaverryan.

@nicolas-grekas nicolas-grekas deleted the weaverryan-patch-1 branch December 27, 2017 10:16
nicolas-grekas added a commit that referenced this pull request Dec 27, 2017
…ponent (weaverryan)

This PR was submitted for the 4.0 branch but it was squashed and merged into the 3.4 branch instead (closes #25606).

Discussion
----------

Updating message to inform the user how to install the component

| Q             | A
| ------------- | ---
| Branch?       | 4.0
| Bug fix?      | yes-ish
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | none
| License       | MIT
| Doc PR        | n/a

Simple: direct the user exactly what to do if they hit this :)

Commits
-------

07ac535 Updating message to inform the user how to install the component
@nicolas-grekas
Copy link
Member

merged into 3.4

This was referenced Jan 5, 2018
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.

None yet

6 participants