Update to Drupal 8.2.6. For more information, see https://www.drupal.org/project/drupal/releases/8.2.6
This commit is contained in:
parent
db56c09587
commit
f1e72395cb
588 changed files with 26857 additions and 2777 deletions
vendor/symfony/css-selector
4
vendor/symfony/css-selector/CssSelector.php
vendored
4
vendor/symfony/css-selector/CssSelector.php
vendored
|
@ -68,8 +68,8 @@ class CssSelector
|
|||
* Optionally, a prefix can be added to the resulting XPath
|
||||
* expression with the $prefix parameter.
|
||||
*
|
||||
* @param mixed $cssExpr The CSS expression.
|
||||
* @param string $prefix An optional prefix for the XPath expression.
|
||||
* @param mixed $cssExpr The CSS expression
|
||||
* @param string $prefix An optional prefix for the XPath expression
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -29,7 +29,7 @@ class CssSelectorConverter
|
|||
private $translator;
|
||||
|
||||
/**
|
||||
* @param bool $html Whether HTML support should be enabled. Disable it for XML documents.
|
||||
* @param bool $html Whether HTML support should be enabled. Disable it for XML documents
|
||||
*/
|
||||
public function __construct($html = true)
|
||||
{
|
||||
|
@ -53,8 +53,8 @@ class CssSelectorConverter
|
|||
* Optionally, a prefix can be added to the resulting XPath
|
||||
* expression with the $prefix parameter.
|
||||
*
|
||||
* @param string $cssExpr The CSS expression.
|
||||
* @param string $prefix An optional prefix for the XPath expression.
|
||||
* @param string $cssExpr The CSS expression
|
||||
* @param string $prefix An optional prefix for the XPath expression
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@ class SyntaxErrorException extends ParseException
|
|||
* @param string $expectedValue
|
||||
* @param Token $foundToken
|
||||
*
|
||||
* @return SyntaxErrorException
|
||||
* @return self
|
||||
*/
|
||||
public static function unexpectedToken($expectedValue, Token $foundToken)
|
||||
{
|
||||
|
@ -38,7 +38,7 @@ class SyntaxErrorException extends ParseException
|
|||
* @param string $pseudoElement
|
||||
* @param string $unexpectedLocation
|
||||
*
|
||||
* @return SyntaxErrorException
|
||||
* @return self
|
||||
*/
|
||||
public static function pseudoElementFound($pseudoElement, $unexpectedLocation)
|
||||
{
|
||||
|
@ -48,7 +48,7 @@ class SyntaxErrorException extends ParseException
|
|||
/**
|
||||
* @param int $position
|
||||
*
|
||||
* @return SyntaxErrorException
|
||||
* @return self
|
||||
*/
|
||||
public static function unclosedString($position)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ class SyntaxErrorException extends ParseException
|
|||
}
|
||||
|
||||
/**
|
||||
* @return SyntaxErrorException
|
||||
* @return self
|
||||
*/
|
||||
public static function nestedNot()
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ class SyntaxErrorException extends ParseException
|
|||
}
|
||||
|
||||
/**
|
||||
* @return SyntaxErrorException
|
||||
* @return self
|
||||
*/
|
||||
public static function stringAsFunctionArgument()
|
||||
{
|
||||
|
|
2
vendor/symfony/css-selector/LICENSE
vendored
2
vendor/symfony/css-selector/LICENSE
vendored
|
@ -1,4 +1,4 @@
|
|||
Copyright (c) 2004-2016 Fabien Potencier
|
||||
Copyright (c) 2004-2017 Fabien Potencier
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
|
@ -61,7 +61,7 @@ class Specificity
|
|||
/**
|
||||
* @param Specificity $specificity
|
||||
*
|
||||
* @return Specificity
|
||||
* @return self
|
||||
*/
|
||||
public function plus(Specificity $specificity)
|
||||
{
|
||||
|
|
16
vendor/symfony/css-selector/Parser/Parser.php
vendored
16
vendor/symfony/css-selector/Parser/Parser.php
vendored
|
@ -58,9 +58,9 @@ class Parser implements ParserInterface
|
|||
*
|
||||
* @param Token[] $tokens
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
public static function parseSeries(array $tokens)
|
||||
{
|
||||
|
@ -133,9 +133,9 @@ class Parser implements ParserInterface
|
|||
*
|
||||
* @param TokenStream $stream
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return Node\SelectorNode
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
private function parserSelectorNode(TokenStream $stream)
|
||||
{
|
||||
|
@ -173,9 +173,9 @@ class Parser implements ParserInterface
|
|||
* @param TokenStream $stream
|
||||
* @param bool $insideNegation
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return array
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
private function parseSimpleSelector(TokenStream $stream, $insideNegation = false)
|
||||
{
|
||||
|
@ -330,9 +330,9 @@ class Parser implements ParserInterface
|
|||
* @param Node\NodeInterface $selector
|
||||
* @param TokenStream $stream
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*
|
||||
* @return Node\AttributeNode
|
||||
*
|
||||
* @throws SyntaxErrorException
|
||||
*/
|
||||
private function parseAttributeNode(Node\NodeInterface $selector, TokenStream $stream)
|
||||
{
|
||||
|
|
|
@ -118,8 +118,6 @@ class Reader
|
|||
$this->position += $length;
|
||||
}
|
||||
|
||||
/**
|
||||
*/
|
||||
public function moveToEnd()
|
||||
{
|
||||
$this->position = $this->length;
|
||||
|
|
|
@ -61,7 +61,7 @@ class TokenStream
|
|||
*
|
||||
* @param Token $token
|
||||
*
|
||||
* @return TokenStream
|
||||
* @return $this
|
||||
*/
|
||||
public function push(Token $token)
|
||||
{
|
||||
|
@ -73,7 +73,7 @@ class TokenStream
|
|||
/**
|
||||
* Freezes stream.
|
||||
*
|
||||
* @return TokenStream
|
||||
* @return $this
|
||||
*/
|
||||
public function freeze()
|
||||
{
|
||||
|
@ -85,9 +85,9 @@ class TokenStream
|
|||
/**
|
||||
* Returns next token.
|
||||
*
|
||||
* @throws InternalErrorException If there is no more token
|
||||
*
|
||||
* @return Token
|
||||
*
|
||||
* @throws InternalErrorException If there is no more token
|
||||
*/
|
||||
public function getNext()
|
||||
{
|
||||
|
@ -133,9 +133,9 @@ class TokenStream
|
|||
/**
|
||||
* Returns nex identifier token.
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier
|
||||
*
|
||||
* @return string The identifier token value
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier
|
||||
*/
|
||||
public function getNextIdentifier()
|
||||
{
|
||||
|
@ -151,9 +151,9 @@ class TokenStream
|
|||
/**
|
||||
* Returns nex identifier or star delimiter token.
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
|
||||
*
|
||||
* @return null|string The identifier token value or null if star found
|
||||
*
|
||||
* @throws SyntaxErrorException If next token is not an identifier or a star delimiter
|
||||
*/
|
||||
public function getNextIdentifierOrStar()
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@ class NodeExtension extends AbstractExtension
|
|||
* @param int $flag
|
||||
* @param bool $on
|
||||
*
|
||||
* @return NodeExtension
|
||||
* @return $this
|
||||
*/
|
||||
public function setFlag($flag, $on)
|
||||
{
|
||||
|
|
11
vendor/symfony/css-selector/XPath/Translator.php
vendored
11
vendor/symfony/css-selector/XPath/Translator.php
vendored
|
@ -70,9 +70,6 @@ class Translator implements TranslatorInterface
|
|||
*/
|
||||
private $attributeMatchingTranslators = array();
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*/
|
||||
public function __construct(ParserInterface $parser = null)
|
||||
{
|
||||
$this->mainParser = $parser ?: new Parser();
|
||||
|
@ -149,7 +146,7 @@ class Translator implements TranslatorInterface
|
|||
*
|
||||
* @param Extension\ExtensionInterface $extension
|
||||
*
|
||||
* @return Translator
|
||||
* @return $this
|
||||
*/
|
||||
public function registerExtension(Extension\ExtensionInterface $extension)
|
||||
{
|
||||
|
@ -185,7 +182,7 @@ class Translator implements TranslatorInterface
|
|||
*
|
||||
* @param ParserInterface $shortcut
|
||||
*
|
||||
* @return Translator
|
||||
* @return $this
|
||||
*/
|
||||
public function registerParserShortcut(ParserInterface $shortcut)
|
||||
{
|
||||
|
@ -268,9 +265,9 @@ class Translator implements TranslatorInterface
|
|||
* @param string $attribute
|
||||
* @param string $value
|
||||
*
|
||||
* @throws ExpressionErrorException
|
||||
*
|
||||
* @return XPathExpr
|
||||
*
|
||||
* @throws ExpressionErrorException
|
||||
*/
|
||||
public function addAttributeMatching(XPathExpr $xpath, $operator, $attribute, $value)
|
||||
{
|
||||
|
|
|
@ -66,7 +66,7 @@ class XPathExpr
|
|||
/**
|
||||
* @param $condition
|
||||
*
|
||||
* @return XPathExpr
|
||||
* @return $this
|
||||
*/
|
||||
public function addCondition($condition)
|
||||
{
|
||||
|
@ -84,7 +84,7 @@ class XPathExpr
|
|||
}
|
||||
|
||||
/**
|
||||
* @return XPathExpr
|
||||
* @return $this
|
||||
*/
|
||||
public function addNameTest()
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ class XPathExpr
|
|||
}
|
||||
|
||||
/**
|
||||
* @return XPathExpr
|
||||
* @return $this
|
||||
*/
|
||||
public function addStarPrefix()
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ class XPathExpr
|
|||
* @param string $combiner
|
||||
* @param XPathExpr $expr
|
||||
*
|
||||
* @return XPathExpr
|
||||
* @return $this
|
||||
*/
|
||||
public function join($combiner, XPathExpr $expr)
|
||||
{
|
||||
|
|
Reference in a new issue