Skip to content

Upgrading symfony/css-selector 4 to 5

Unknownv4.4.44 → v5.4.45

Fetching 63 releases from GitHub…0 / 63
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

PHP requirement changed in v5.1.0-RC2: >=7.1.3 → >=7.2.5.

Generated by DepDelta from published PHP source. Not mixed with prose notes.

  • changed: method CssSelectorConverter.toXPath($cssExpr, $prefix = …) → method CssSelectorConverter.toXPath(string $cssExpr, string $prefix = …)
  • changed: static method SyntaxErrorException.pseudoElementFound($pseudoElement, $unexpectedLocation) → static method SyntaxErrorException.pseudoElementFound(string $pseudoElement, string $unexpectedLocation)
  • changed: static method SyntaxErrorException.unclosedString($position) → static method SyntaxErrorException.unclosedString(int $position)
  • changed: static method SyntaxErrorException.unexpectedToken($expectedValue, Token $foundToken) → static method SyntaxErrorException.unexpectedToken(string $expectedValue, Token $foundToken)
  • changed: constructor ElementNode(string $namespace = …, string $element = …) → constructor ElementNode(?string $namespace = …, ?string $element = …)
  • changed: constructor SelectorNode(NodeInterface $tree, string $pseudoElement = …) → constructor SelectorNode(NodeInterface $tree, ?string $pseudoElement = …)
  • changed: constructor Parser(Tokenizer $tokenizer = …) → constructor Parser(?Tokenizer $tokenizer = …)
  • changed: constructor Translator(ParserInterface $parser = …) → constructor Translator(?ParserInterface $parser = …)
  • changed: method Translator.addAttributeMatching(XPathExpr $xpath, string $operator, string $attribute, $value): XPathExpr → method Translator.addAttributeMatching(XPathExpr $xpath, string $operator, string $attribute, ?string $value): XPathExpr