Skip to content

Conversation

@OskarStark
Copy link
Contributor

No description provided.

/**
* @author Oskar Stark <oskarstark@googlemail.com>
*/
class ConfigurationException extends InvalidArgumentException
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure about which class to extend

Copy link
Member

@chr-hertel chr-hertel left a comment

Choose a reason for hiding this comment

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

Wasn't sure about reviving that thing, but yea - baseline needs an update tho

- Add ConfigurationException class in src/Exception/ConfigurationException.php
- Update ServerBuilder to use the new ConfigurationException
- Regenerate PHPStan baseline to account for the new exception class,
  reducing errors from 160+ to 124
@OskarStark
Copy link
Contributor Author

signed, baseline updated @chr-hertel 👍

@chr-hertel chr-hertel merged commit a7ddc11 into modelcontextprotocol:main Sep 4, 2025
9 checks passed
@OskarStark OskarStark deleted the exception branch September 4, 2025 21:43
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