Skip to content

Conversation

@n0nag0n
Copy link
Collaborator

@n0nag0n n0nag0n commented Jun 21, 2025

No description provided.

@n0nag0n n0nag0n requested a review from Copilot June 21, 2025 19:17
Copy link
Contributor

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

This PR adds a new "servername" property to the Request class to capture the value from $_SERVER['SERVER_NAME']. It also updates the Request tests and the class documentation accordingly.

  • Adds a servername property in the Request class and maps it in the constructor.
  • Updates tests to include and assert the new servername property.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
tests/RequestTest.php Adds servername to the test server variables and verifies its value.
flight/net/Request.php Introduces the servername property with accompanying documentation and mapping.

@n0nag0n n0nag0n merged commit 11806e9 into master Jun 21, 2025
6 checks passed
@n0nag0n n0nag0n deleted the feat/request-servername branch June 21, 2025 19:18
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.

2 participants