Skip to content

chore: Update phpmd schema files to 2.0.0 - #77

Merged
rutgerrademaker merged 1 commit into
masterfrom
feature/update-phpmd-schemas
Aug 25, 2026
Merged

rutgerrademaker merged 1 commit into
masterfrom
feature/update-phpmd-schemas

Conversation

@rutgerrademaker

Copy link
Copy Markdown
Contributor

Previously, testing-suite would fail xmllint (on itself) with a Failed to locate the main schema resource at 'https://pmd.sourceforge.io/ruleset_xml_schema.xsd' errors.

This commit make sure to update to the correct references, while also making sure local references can be fetched (by altering the grummphp file's xmllint.ignore.patterns)

Previously, testing-suite would fail `xmllint` (on itself) with a
`Failed to locate the main schema resource at
'https://pmd.sourceforge.io/ruleset_xml_schema.xsd'` errors.

This commit make sure to update to the correct references, while also
making sure local references can be fetched (by altering the grummphp
file's `xmllint.ignore.patterns`)
@rutgerrademaker
rutgerrademaker merged commit a106047 into master Aug 25, 2026
4 checks passed
@rutgerrademaker
rutgerrademaker deleted the feature/update-phpmd-schemas branch August 25, 2026 07:14
<!--<exclude-pattern>path/to/exclude/*</exclude-pattern>-->
<rule ref="./vendor/youwe/testing-suite/config/default/phpmd.xml" />
</ruleset>
<rule ref="./vendor/youwe/testing-suite/config/pimcore/phpmd.xml" />

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rutgerrademaker Is this intended? Since ‎config/default/phpmd.xml is updated too in same PR

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting that issue, fixed in PR #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants