[Monorepo] Use local path for PHPUnit NamespaceSchemaLocation#1774
[Monorepo] Use local path for PHPUnit NamespaceSchemaLocation#1774
Conversation
alexndlm
commented
Mar 11, 2026
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #... |
|
Code Review in Space: https://space.prod.v1.tools.eonx.com/p/support/reviews/159/timeline |
There was a problem hiding this comment.
Pull request overview
Updates PHPUnit XML configuration files to use the locally installed PHPUnit XSD (from vendor/) instead of the remote schema URL, aligning schema validation with the actually installed PHPUnit version and removing network dependency.
Changes:
- Replaced
xsi:noNamespaceSchemaLocationfromhttps://schema.phpunit.de/10.2/phpunit.xsdtovendor/phpunit/phpunit/phpunit.xsdacross the repo’s PHPUnit configs. - Applied the update consistently to root, quality tooling, and all package-level
phpunit.xmlfiles.
Reviewed changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| quality/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for quality-tools PHPUnit config. |
| phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for root test suite config. |
| packages/EasyWebhook/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyUtils/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyTest/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyTemplatingBlock/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasySwoole/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyServerless/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasySecurity/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasySchedule/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyRequestId/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyRepository/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyRandom/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyPipeline/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyPagination/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyNotification/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyLogging/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyLock/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyHttpClient/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyEventDispatcher/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyErrorHandler/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyEncryption/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyDoctrine/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyDecision/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyBugsnag/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyBatch/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyBankFiles/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyAsync/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyApiToken/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyApiPlatform/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
| packages/EasyActivity/phpunit.xml | Use local vendor/phpunit/phpunit/phpunit.xsd schema for package PHPUnit config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
roman-eonx
left a comment
There was a problem hiding this comment.
Code review passed. 🚀 Great work!
Secure code in this PR has been written to best practice standards and covers the following as a minimum. Please ticket if coded this way (also tick if not relevant to this code change):
- Protect from Injection attacks
- Protect data with proper input validation, and protect against buffer overflows, pointers/shared data
- Protect with appropriate encryption and cryptography (E.g. Appropriate hashing, symmetric encryption used, ciphers) if applicable
- Protect against XSS and CSRF
- Ensure that pages, data access etc, are written with appropriate access control authorisation and authentication requirements
- Ensure all important errors and business logic cases are handled
- Ensure forwards and redirects are handled
- Ensure no sensitive data is exposed and appropriate logging in place as required
See procedure for more details: PROC-010 Secure Coding Practices