Skip to content

[Monorepo] Use local path for PHPUnit NamespaceSchemaLocation#1774

Open
alexndlm wants to merge 1 commit intomasterfrom
feature/monorepo-use-local-path-for-phpunit-NamespaceSchemaLocation
Open

[Monorepo] Use local path for PHPUnit NamespaceSchemaLocation#1774
alexndlm wants to merge 1 commit intomasterfrom
feature/monorepo-use-local-path-for-phpunit-NamespaceSchemaLocation

Conversation

@alexndlm
Copy link
Contributor

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...

@eonx-space-to-github-reviews
Copy link

@alexndlm alexndlm changed the title feature/monorepo-use-local-path-for-phpunit-NamespaceSchemaLocation [Monorepo] Use local path for PHPUnit NamespaceSchemaLocation Mar 11, 2026
@alexndlm alexndlm requested a review from Copilot March 11, 2026 09:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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:noNamespaceSchemaLocation from https://schema.phpunit.de/10.2/phpunit.xsd to vendor/phpunit/phpunit/phpunit.xsd across the repo’s PHPUnit configs.
  • Applied the update consistently to root, quality tooling, and all package-level phpunit.xml files.

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.

Copy link
Contributor

@roman-eonx roman-eonx left a comment

Choose a reason for hiding this comment

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

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

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants