From 1997b12f51d728c2a5958506c22adc002159f34c Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Fri, 26 Dec 2014 23:22:03 +0100 Subject: [PATCH 1/2] Use the correct cssselect library name in docblocks. The original python library is called cssselect, not cssselector. --- src/Symfony/Component/CssSelector/CssSelector.php | 2 +- .../Component/CssSelector/Exception/ExceptionInterface.php | 2 +- .../CssSelector/Exception/ExpressionErrorException.php | 2 +- .../Component/CssSelector/Exception/InternalErrorException.php | 2 +- src/Symfony/Component/CssSelector/Exception/ParseException.php | 2 +- .../Component/CssSelector/Exception/SyntaxErrorException.php | 2 +- src/Symfony/Component/CssSelector/Node/AbstractNode.php | 2 +- src/Symfony/Component/CssSelector/Node/AttributeNode.php | 2 +- src/Symfony/Component/CssSelector/Node/ClassNode.php | 2 +- src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php | 2 +- src/Symfony/Component/CssSelector/Node/ElementNode.php | 2 +- src/Symfony/Component/CssSelector/Node/FunctionNode.php | 2 +- src/Symfony/Component/CssSelector/Node/HashNode.php | 2 +- src/Symfony/Component/CssSelector/Node/NegationNode.php | 2 +- src/Symfony/Component/CssSelector/Node/NodeInterface.php | 2 +- src/Symfony/Component/CssSelector/Node/PseudoNode.php | 2 +- src/Symfony/Component/CssSelector/Node/SelectorNode.php | 2 +- src/Symfony/Component/CssSelector/Node/Specificity.php | 2 +- .../Component/CssSelector/Parser/Handler/CommentHandler.php | 2 +- .../Component/CssSelector/Parser/Handler/HandlerInterface.php | 2 +- .../Component/CssSelector/Parser/Handler/HashHandler.php | 2 +- .../Component/CssSelector/Parser/Handler/IdentifierHandler.php | 2 +- .../Component/CssSelector/Parser/Handler/NumberHandler.php | 2 +- .../Component/CssSelector/Parser/Handler/StringHandler.php | 2 +- .../Component/CssSelector/Parser/Handler/WhitespaceHandler.php | 2 +- src/Symfony/Component/CssSelector/Parser/Parser.php | 2 +- src/Symfony/Component/CssSelector/Parser/ParserInterface.php | 2 +- src/Symfony/Component/CssSelector/Parser/Reader.php | 2 +- .../Component/CssSelector/Parser/Shortcut/ClassParser.php | 2 +- .../Component/CssSelector/Parser/Shortcut/ElementParser.php | 2 +- .../Component/CssSelector/Parser/Shortcut/EmptyStringParser.php | 2 +- .../Component/CssSelector/Parser/Shortcut/HashParser.php | 2 +- src/Symfony/Component/CssSelector/Parser/Token.php | 2 +- src/Symfony/Component/CssSelector/Parser/TokenStream.php | 2 +- .../Component/CssSelector/Parser/Tokenizer/Tokenizer.php | 2 +- .../CssSelector/Parser/Tokenizer/TokenizerEscaping.php | 2 +- .../CssSelector/Parser/Tokenizer/TokenizerPatterns.php | 2 +- .../Component/CssSelector/XPath/Extension/AbstractExtension.php | 2 +- .../CssSelector/XPath/Extension/AttributeMatchingExtension.php | 2 +- .../CssSelector/XPath/Extension/CombinationExtension.php | 2 +- .../CssSelector/XPath/Extension/ExtensionInterface.php | 2 +- .../Component/CssSelector/XPath/Extension/FunctionExtension.php | 2 +- .../Component/CssSelector/XPath/Extension/HtmlExtension.php | 2 +- .../Component/CssSelector/XPath/Extension/NodeExtension.php | 2 +- .../CssSelector/XPath/Extension/PseudoClassExtension.php | 2 +- src/Symfony/Component/CssSelector/XPath/Translator.php | 2 +- src/Symfony/Component/CssSelector/XPath/TranslatorInterface.php | 2 +- src/Symfony/Component/CssSelector/XPath/XPathExpr.php | 2 +- 48 files changed, 48 insertions(+), 48 deletions(-) diff --git a/src/Symfony/Component/CssSelector/CssSelector.php b/src/Symfony/Component/CssSelector/CssSelector.php index 103c60d9e62fd..82c9283ea2a9d 100644 --- a/src/Symfony/Component/CssSelector/CssSelector.php +++ b/src/Symfony/Component/CssSelector/CssSelector.php @@ -24,7 +24,7 @@ * * $xpath = CssSelector::toXpath('h1.foo'); * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * Copyright (c) 2007-2012 Ian Bicking and contributors. See AUTHORS diff --git a/src/Symfony/Component/CssSelector/Exception/ExceptionInterface.php b/src/Symfony/Component/CssSelector/Exception/ExceptionInterface.php index da01c2b271772..e4c5ae1b6b3ef 100644 --- a/src/Symfony/Component/CssSelector/Exception/ExceptionInterface.php +++ b/src/Symfony/Component/CssSelector/Exception/ExceptionInterface.php @@ -14,7 +14,7 @@ /** * Interface for exceptions. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Exception/ExpressionErrorException.php b/src/Symfony/Component/CssSelector/Exception/ExpressionErrorException.php index 151dbf0350467..756a12a75ae5f 100644 --- a/src/Symfony/Component/CssSelector/Exception/ExpressionErrorException.php +++ b/src/Symfony/Component/CssSelector/Exception/ExpressionErrorException.php @@ -14,7 +14,7 @@ /** * ParseException is thrown when a CSS selector syntax is not valid. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Exception/InternalErrorException.php b/src/Symfony/Component/CssSelector/Exception/InternalErrorException.php index 8a815fb9ea5f0..2decde67fedfc 100644 --- a/src/Symfony/Component/CssSelector/Exception/InternalErrorException.php +++ b/src/Symfony/Component/CssSelector/Exception/InternalErrorException.php @@ -14,7 +14,7 @@ /** * ParseException is thrown when a CSS selector syntax is not valid. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Exception/ParseException.php b/src/Symfony/Component/CssSelector/Exception/ParseException.php index 9c119f84c6a37..3b0b0ee8f1444 100644 --- a/src/Symfony/Component/CssSelector/Exception/ParseException.php +++ b/src/Symfony/Component/CssSelector/Exception/ParseException.php @@ -14,7 +14,7 @@ /** * ParseException is thrown when a CSS selector syntax is not valid. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Fabien Potencier diff --git a/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php b/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php index 529b891a3f5af..831b001340f9b 100644 --- a/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php +++ b/src/Symfony/Component/CssSelector/Exception/SyntaxErrorException.php @@ -16,7 +16,7 @@ /** * ParseException is thrown when a CSS selector syntax is not valid. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/AbstractNode.php b/src/Symfony/Component/CssSelector/Node/AbstractNode.php index f5324e191b0d0..b1c8e9508d9b9 100644 --- a/src/Symfony/Component/CssSelector/Node/AbstractNode.php +++ b/src/Symfony/Component/CssSelector/Node/AbstractNode.php @@ -14,7 +14,7 @@ /** * Abstract base node class. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/AttributeNode.php b/src/Symfony/Component/CssSelector/Node/AttributeNode.php index e2fa9a294c513..b10a4dd5b341f 100644 --- a/src/Symfony/Component/CssSelector/Node/AttributeNode.php +++ b/src/Symfony/Component/CssSelector/Node/AttributeNode.php @@ -14,7 +14,7 @@ /** * Represents a "[| ]" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/ClassNode.php b/src/Symfony/Component/CssSelector/Node/ClassNode.php index a7a59a33a9f48..544342f871f67 100644 --- a/src/Symfony/Component/CssSelector/Node/ClassNode.php +++ b/src/Symfony/Component/CssSelector/Node/ClassNode.php @@ -14,7 +14,7 @@ /** * Represents a "." node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php b/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php index 4e085ea4e1a72..6d00db431c5b5 100644 --- a/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php +++ b/src/Symfony/Component/CssSelector/Node/CombinedSelectorNode.php @@ -14,7 +14,7 @@ /** * Represents a combined node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/ElementNode.php b/src/Symfony/Component/CssSelector/Node/ElementNode.php index 9ab13c3f24374..71ef121741eb1 100644 --- a/src/Symfony/Component/CssSelector/Node/ElementNode.php +++ b/src/Symfony/Component/CssSelector/Node/ElementNode.php @@ -14,7 +14,7 @@ /** * Represents a "|" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/FunctionNode.php b/src/Symfony/Component/CssSelector/Node/FunctionNode.php index ecd11a50b00d9..f94af8dafce56 100644 --- a/src/Symfony/Component/CssSelector/Node/FunctionNode.php +++ b/src/Symfony/Component/CssSelector/Node/FunctionNode.php @@ -16,7 +16,7 @@ /** * Represents a ":()" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/HashNode.php b/src/Symfony/Component/CssSelector/Node/HashNode.php index 7fb407579b61b..ddbe76477adc5 100644 --- a/src/Symfony/Component/CssSelector/Node/HashNode.php +++ b/src/Symfony/Component/CssSelector/Node/HashNode.php @@ -14,7 +14,7 @@ /** * Represents a "#" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/NegationNode.php b/src/Symfony/Component/CssSelector/Node/NegationNode.php index 2529689095e5b..0fafb0a120bc7 100644 --- a/src/Symfony/Component/CssSelector/Node/NegationNode.php +++ b/src/Symfony/Component/CssSelector/Node/NegationNode.php @@ -14,7 +14,7 @@ /** * Represents a ":not()" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/NodeInterface.php b/src/Symfony/Component/CssSelector/Node/NodeInterface.php index 1601c33a6ed30..dd300e23cded0 100644 --- a/src/Symfony/Component/CssSelector/Node/NodeInterface.php +++ b/src/Symfony/Component/CssSelector/Node/NodeInterface.php @@ -14,7 +14,7 @@ /** * Interface for nodes. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/PseudoNode.php b/src/Symfony/Component/CssSelector/Node/PseudoNode.php index 4f2d538f6f522..0e413adc5488d 100644 --- a/src/Symfony/Component/CssSelector/Node/PseudoNode.php +++ b/src/Symfony/Component/CssSelector/Node/PseudoNode.php @@ -14,7 +14,7 @@ /** * Represents a ":" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/SelectorNode.php b/src/Symfony/Component/CssSelector/Node/SelectorNode.php index 49f417f2860c2..4958da55afaf7 100644 --- a/src/Symfony/Component/CssSelector/Node/SelectorNode.php +++ b/src/Symfony/Component/CssSelector/Node/SelectorNode.php @@ -14,7 +14,7 @@ /** * Represents a "(::|:)" node. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Node/Specificity.php b/src/Symfony/Component/CssSelector/Node/Specificity.php index 96bbd11f515ce..a8e4885955795 100644 --- a/src/Symfony/Component/CssSelector/Node/Specificity.php +++ b/src/Symfony/Component/CssSelector/Node/Specificity.php @@ -14,7 +14,7 @@ /** * Represents a node specificity. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @see http://www.w3.org/TR/selectors/#specificity diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/CommentHandler.php b/src/Symfony/Component/CssSelector/Parser/Handler/CommentHandler.php index 97c3f8dd24c65..f480776d2c446 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/CommentHandler.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/CommentHandler.php @@ -17,7 +17,7 @@ /** * CSS selector comment handler. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/HandlerInterface.php b/src/Symfony/Component/CssSelector/Parser/Handler/HandlerInterface.php index c7a48c0d6eb1b..049ddd3ec4ca7 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/HandlerInterface.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/HandlerInterface.php @@ -17,7 +17,7 @@ /** * CSS selector handler interface. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/HashHandler.php b/src/Symfony/Component/CssSelector/Parser/Handler/HashHandler.php index 2227ea62a6aae..b144223fbd6fe 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/HashHandler.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/HashHandler.php @@ -20,7 +20,7 @@ /** * CSS selector comment handler. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/IdentifierHandler.php b/src/Symfony/Component/CssSelector/Parser/Handler/IdentifierHandler.php index 346532ec15121..86739eab99aca 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/IdentifierHandler.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/IdentifierHandler.php @@ -20,7 +20,7 @@ /** * CSS selector comment handler. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/NumberHandler.php b/src/Symfony/Component/CssSelector/Parser/Handler/NumberHandler.php index 208f83c08fe77..97a9387b18532 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/NumberHandler.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/NumberHandler.php @@ -19,7 +19,7 @@ /** * CSS selector comment handler. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/StringHandler.php b/src/Symfony/Component/CssSelector/Parser/Handler/StringHandler.php index 2663fe87b5112..9f7a5946b02b1 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/StringHandler.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/StringHandler.php @@ -22,7 +22,7 @@ /** * CSS selector comment handler. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Handler/WhitespaceHandler.php b/src/Symfony/Component/CssSelector/Parser/Handler/WhitespaceHandler.php index 806cfbb513520..234bbd84cf668 100644 --- a/src/Symfony/Component/CssSelector/Parser/Handler/WhitespaceHandler.php +++ b/src/Symfony/Component/CssSelector/Parser/Handler/WhitespaceHandler.php @@ -18,7 +18,7 @@ /** * CSS selector whitespace handler. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Parser.php b/src/Symfony/Component/CssSelector/Parser/Parser.php index c622383e841a2..9625e3e8a1100 100644 --- a/src/Symfony/Component/CssSelector/Parser/Parser.php +++ b/src/Symfony/Component/CssSelector/Parser/Parser.php @@ -18,7 +18,7 @@ /** * CSS selector parser. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/ParserInterface.php b/src/Symfony/Component/CssSelector/Parser/ParserInterface.php index b27f79f4a6e4a..3b43a52fde524 100644 --- a/src/Symfony/Component/CssSelector/Parser/ParserInterface.php +++ b/src/Symfony/Component/CssSelector/Parser/ParserInterface.php @@ -16,7 +16,7 @@ /** * CSS selector parser interface. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Reader.php b/src/Symfony/Component/CssSelector/Parser/Reader.php index 8bd8ed66988ac..3d9e164e77a2b 100644 --- a/src/Symfony/Component/CssSelector/Parser/Reader.php +++ b/src/Symfony/Component/CssSelector/Parser/Reader.php @@ -14,7 +14,7 @@ /** * CSS selector reader. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.php b/src/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.php index bb9653ce01636..142bd163153fa 100644 --- a/src/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.php +++ b/src/Symfony/Component/CssSelector/Parser/Shortcut/ClassParser.php @@ -19,7 +19,7 @@ /** * CSS selector class parser shortcut. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Shortcut/ElementParser.php b/src/Symfony/Component/CssSelector/Parser/Shortcut/ElementParser.php index eae18b94679fd..f62d25960cc64 100644 --- a/src/Symfony/Component/CssSelector/Parser/Shortcut/ElementParser.php +++ b/src/Symfony/Component/CssSelector/Parser/Shortcut/ElementParser.php @@ -18,7 +18,7 @@ /** * CSS selector element parser shortcut. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Shortcut/EmptyStringParser.php b/src/Symfony/Component/CssSelector/Parser/Shortcut/EmptyStringParser.php index 0031f7cfef3be..98a08fde069ea 100644 --- a/src/Symfony/Component/CssSelector/Parser/Shortcut/EmptyStringParser.php +++ b/src/Symfony/Component/CssSelector/Parser/Shortcut/EmptyStringParser.php @@ -22,7 +22,7 @@ * - The parser fails to parse an empty string. * - In the previous version, an empty string matches each tags. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.php b/src/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.php index 28c7d296f1b78..fde614149b71f 100644 --- a/src/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.php +++ b/src/Symfony/Component/CssSelector/Parser/Shortcut/HashParser.php @@ -19,7 +19,7 @@ /** * CSS selector hash parser shortcut. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Token.php b/src/Symfony/Component/CssSelector/Parser/Token.php index ba5d657f7bff3..6f7586f612ed2 100644 --- a/src/Symfony/Component/CssSelector/Parser/Token.php +++ b/src/Symfony/Component/CssSelector/Parser/Token.php @@ -14,7 +14,7 @@ /** * CSS selector token. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/TokenStream.php b/src/Symfony/Component/CssSelector/Parser/TokenStream.php index 05d715b961a83..8184b832b3c25 100644 --- a/src/Symfony/Component/CssSelector/Parser/TokenStream.php +++ b/src/Symfony/Component/CssSelector/Parser/TokenStream.php @@ -17,7 +17,7 @@ /** * CSS selector token stream. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.php b/src/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.php index c850276728c74..79fa7b77d06fa 100644 --- a/src/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.php +++ b/src/Symfony/Component/CssSelector/Parser/Tokenizer/Tokenizer.php @@ -19,7 +19,7 @@ /** * CSS selector tokenizer. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerEscaping.php b/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerEscaping.php index 76386c937141f..bf5096be9fde8 100644 --- a/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerEscaping.php +++ b/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerEscaping.php @@ -14,7 +14,7 @@ /** * CSS selector tokenizer escaping applier. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerPatterns.php b/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerPatterns.php index 6fc98b71e1265..326f0208219a6 100644 --- a/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerPatterns.php +++ b/src/Symfony/Component/CssSelector/Parser/Tokenizer/TokenizerPatterns.php @@ -14,7 +14,7 @@ /** * CSS selector tokenizer patterns builder. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/AbstractExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/AbstractExtension.php index 1b147e9ecf6e8..c70609c695d31 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/AbstractExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/AbstractExtension.php @@ -14,7 +14,7 @@ /** * XPath expression translator abstract extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php index 31d24b28eff3d..cbe48c57a9a37 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/AttributeMatchingExtension.php @@ -17,7 +17,7 @@ /** * XPath expression translator attribute extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/CombinationExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/CombinationExtension.php index 639e924952190..9ce018f13a73b 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/CombinationExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/CombinationExtension.php @@ -16,7 +16,7 @@ /** * XPath expression translator combination extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/ExtensionInterface.php b/src/Symfony/Component/CssSelector/XPath/Extension/ExtensionInterface.php index 22312659429a4..9b47f24f361ba 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/ExtensionInterface.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/ExtensionInterface.php @@ -14,7 +14,7 @@ /** * XPath expression translator extension interface. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php index e849474383134..0086240c81fd4 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php @@ -21,7 +21,7 @@ /** * XPath expression translator function extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php index 71ed4b4a795bc..883156be7091f 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/HtmlExtension.php @@ -19,7 +19,7 @@ /** * XPath expression translator HTML extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/NodeExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/NodeExtension.php index 212955c1f2d61..2b8920f1ab502 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/NodeExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/NodeExtension.php @@ -18,7 +18,7 @@ /** * XPath expression translator node extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php b/src/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php index d59857225cff1..008ec2b4b15bb 100644 --- a/src/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php +++ b/src/Symfony/Component/CssSelector/XPath/Extension/PseudoClassExtension.php @@ -17,7 +17,7 @@ /** * XPath expression translator pseudo-class extension. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/Translator.php b/src/Symfony/Component/CssSelector/XPath/Translator.php index 011882cca37bc..5053793ea06c9 100644 --- a/src/Symfony/Component/CssSelector/XPath/Translator.php +++ b/src/Symfony/Component/CssSelector/XPath/Translator.php @@ -21,7 +21,7 @@ /** * XPath expression translator interface. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/TranslatorInterface.php b/src/Symfony/Component/CssSelector/XPath/TranslatorInterface.php index 676f4a033e39a..1d9d1c88ee4ef 100644 --- a/src/Symfony/Component/CssSelector/XPath/TranslatorInterface.php +++ b/src/Symfony/Component/CssSelector/XPath/TranslatorInterface.php @@ -16,7 +16,7 @@ /** * XPath expression translator interface. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon diff --git a/src/Symfony/Component/CssSelector/XPath/XPathExpr.php b/src/Symfony/Component/CssSelector/XPath/XPathExpr.php index 4ec9fda672cc3..c7ef97cb9a12e 100644 --- a/src/Symfony/Component/CssSelector/XPath/XPathExpr.php +++ b/src/Symfony/Component/CssSelector/XPath/XPathExpr.php @@ -14,7 +14,7 @@ /** * XPath expression translator interface. * - * This component is a port of the Python cssselector library, + * This component is a port of the Python cssselect library, * which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect. * * @author Jean-François Simon From 55f0d9ed0bbabd9552bf26ce739b59b947989e3f Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Fri, 26 Dec 2014 23:33:10 +0100 Subject: [PATCH 2/2] Update the note about origins of the CssSelector component. The last rewrite is based on the cssselect which is no longer part of lxml, but was extracted as an independent library. --- src/Symfony/Component/CssSelector/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/CssSelector/README.md b/src/Symfony/Component/CssSelector/README.md index e0212b1570cf4..ef28bc9d17775 100644 --- a/src/Symfony/Component/CssSelector/README.md +++ b/src/Symfony/Component/CssSelector/README.md @@ -36,10 +36,9 @@ names are lower-cased, the following extra pseudo-classes are supported: Resources --------- -This component is a port of the Python lxml library, which is copyright Infrae -and distributed under the BSD license. - -Current code is a port of https://github.com/SimonSapin/cssselect/releases/tag/v0.7.1 +This component is a port of the Python cssselect library +[v0.7.1](https://github.com/SimonSapin/cssselect/releases/tag/v0.7.1), +which is distributed under the BSD license. You can run the unit tests with the following command: