Skip to content

Commit

Permalink
Merge branch '2.8' into 3.0
Browse files Browse the repository at this point in the history
* 2.8:
  `@throws` annotations should go after `@return`
  Fix merge
  updated VERSION for 2.3.42
  update CONTRIBUTORS for 2.3.42
  updated CHANGELOG for 2.3.42
  Revert "bug #18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)"
  Partial revert of previous PR
  [DependencyInjection] Skip deep reference check for 'service_container'
  Catch \Throwable
  [Serializer] Add missing @throws annotations
  Fix for #18843
  force enabling the external XML entity loaders
  Removed UTC specification with timestamp

Conflicts:
	CHANGELOG-2.3.md
	src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php
	src/Symfony/Bundle/TwigBundle/Extension/AssetsExtension.php
	src/Symfony/Component/Config/Loader/FileLoader.php
	src/Symfony/Component/DependencyInjection/Container.php
	src/Symfony/Component/DependencyInjection/ContainerBuilder.php
	src/Symfony/Component/Finder/Expression/Expression.php
	src/Symfony/Component/Finder/Finder.php
	src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php
	src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
  • Loading branch information
nicolas-grekas committed Jun 6, 2016
2 parents 65e764f + 9a0b264 commit e8a66c5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions Parser/Parser.php
Expand Up @@ -58,9 +58,9 @@ public function parse($source)
*
* @param Token[] $tokens
*
* @throws SyntaxErrorException
*
* @return array
*
* @throws SyntaxErrorException
*/
public static function parseSeries(array $tokens)
{
Expand Down Expand Up @@ -133,9 +133,9 @@ private function parseSelectorList(TokenStream $stream)
*
* @param TokenStream $stream
*
* @throws SyntaxErrorException
*
* @return Node\SelectorNode
*
* @throws SyntaxErrorException
*/
private function parserSelectorNode(TokenStream $stream)
{
Expand Down Expand Up @@ -173,9 +173,9 @@ private function parserSelectorNode(TokenStream $stream)
* @param TokenStream $stream
* @param bool $insideNegation
*
* @throws SyntaxErrorException
*
* @return array
*
* @throws SyntaxErrorException
*/
private function parseSimpleSelector(TokenStream $stream, $insideNegation = false)
{
Expand Down Expand Up @@ -330,9 +330,9 @@ private function parseElementNode(TokenStream $stream)
* @param Node\NodeInterface $selector
* @param TokenStream $stream
*
* @throws SyntaxErrorException
*
* @return Node\AttributeNode
*
* @throws SyntaxErrorException
*/
private function parseAttributeNode(Node\NodeInterface $selector, TokenStream $stream)
{
Expand Down
12 changes: 6 additions & 6 deletions Parser/TokenStream.php
Expand Up @@ -85,9 +85,9 @@ public function freeze()
/**
* Returns next token.
*
* @throws InternalErrorException If there is no more token
*
* @return Token
*
* @throws InternalErrorException If there is no more token
*/
public function getNext()
{
Expand Down Expand Up @@ -133,9 +133,9 @@ public function getUsed()
/**
* 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()
{
Expand All @@ -151,9 +151,9 @@ public function getNextIdentifier()
/**
* 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()
{
Expand Down
4 changes: 2 additions & 2 deletions XPath/Translator.php
Expand Up @@ -268,9 +268,9 @@ public function addPseudoClass(XPathExpr $xpath, $pseudoClass)
* @param string $attribute
* @param string $value
*
* @throws ExpressionErrorException
*
* @return XPathExpr
*
* @throws ExpressionErrorException
*/
public function addAttributeMatching(XPathExpr $xpath, $operator, $attribute, $value)
{
Expand Down

0 comments on commit e8a66c5

Please sign in to comment.