Skip to content

Feature: Add assertion to test XPath filters against an allow-list for axes and functions #1114

Feature: Add assertion to test XPath filters against an allow-list for axes and functions

Feature: Add assertion to test XPath filters against an allow-list for axes and functions #1114

Triggered via pull request June 2, 2025 21:10
Status Failure
Total duration 1m 26s
Artifacts

php.yml

on: pull_request
Matrix: PHP-Linter
Linter  /  ecmascript-linter
Linter / ecmascript-linter
Linter  /  json-linter
Linter / json-linter
Linter  /  style-linter
Linter / style-linter
Linter  /  yaml-linter
Linter / yaml-linter
Quality control
18s
Quality control
Security checks
20s
Security checks
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
9s
Code coverage
Cleanup artifacts
3s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Quality control
Process completed with exit code 1.
Quality control: src/Utils/XPathFilter.php#L121
Method SimpleSAML\XML\Utils\XPathFilter::filterXPathAxis() has parameter $allowed_axes with no value type specified in iterable type array.
Quality control: src/Utils/XPathFilter.php#L68
Method SimpleSAML\XML\Utils\XPathFilter::filterXPathFunction() has parameter $allowed_functions with no value type specified in iterable type array.
Quality control: src/Assert/XPathFilterTrait.php (in context of class SimpleSAML/XML/Assert/Assert)#L51
PHPDoc tag @param references unknown parameter: $allowed_functions
Quality control: src/Assert/XPathFilterTrait.php (in context of class SimpleSAML/XML/Assert/Assert)#L51
PHPDoc tag @param references unknown parameter: $allowed_axes
Quality control: src/Assert/XPathFilterTrait.php (in context of class SimpleSAML/XML/Assert/Assert)#L51
Method SimpleSAML\XML\Assert\Assert::validAllowedXPathFilter() has parameter $allowedFunctions with no value type specified in iterable type array.
Quality control: src/Assert/XPathFilterTrait.php (in context of class SimpleSAML/XML/Assert/Assert)#L51
Method SimpleSAML\XML\Assert\Assert::validAllowedXPathFilter() has parameter $allowedAxes with no value type specified in iterable type array.