Skip to content

Commit f68b7c7

Browse files
committed
minor symfony#13132 [CssSelector] Use the correct cssselect library name in docblocks. (jakzal)
This PR was merged into the 2.3 branch. Discussion ---------- [CssSelector] Use the correct cssselect library name in docblocks. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | symfony#11894 | License | MIT | Doc PR | - As suggested in symfony#11894, the original python library is called [cssselect](https://github.com/SimonSapin/cssselect), not cssselector. I also updated the README, as the cssselect was extracted as an independent library and it's no longer part of lxml. Commits ------- 55f0d9e Update the note about origins of the CssSelector component. 1997b12 Use the correct cssselect library name in docblocks.
2 parents e10024e + 55f0d9e commit f68b7c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+51
-52
lines changed

src/Symfony/Component/CssSelector/CssSelector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*
2525
* $xpath = CssSelector::toXpath('h1.foo');
2626
*
27-
* This component is a port of the Python cssselector library,
27+
* This component is a port of the Python cssselect library,
2828
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
2929
*
3030
* Copyright (c) 2007-2012 Ian Bicking and contributors. See AUTHORS

src/Symfony/Component/CssSelector/Exception/ExceptionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Interface for exceptions.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Exception/ExpressionErrorException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* ParseException is thrown when a CSS selector syntax is not valid.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Exception/InternalErrorException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* ParseException is thrown when a CSS selector syntax is not valid.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Exception/ParseException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* ParseException is thrown when a CSS selector syntax is not valid.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Fabien Potencier <[email protected]>

src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* ParseException is thrown when a CSS selector syntax is not valid.
1818
*
19-
* This component is a port of the Python cssselector library,
19+
* This component is a port of the Python cssselect library,
2020
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
2121
*
2222
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Node/AbstractNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Abstract base node class.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Node/AttributeNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Represents a "<selector>[<namespace>|<attribute> <operator> <value>]" node.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Node/ClassNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Represents a "<selector>.<name>" node.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/**
1515
* Represents a combined node.
1616
*
17-
* This component is a port of the Python cssselector library,
17+
* This component is a port of the Python cssselect library,
1818
* which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
1919
*
2020
* @author Jean-François Simon <[email protected]>

0 commit comments

Comments
 (0)