Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove xp::stringOf() #324

Closed
thekid opened this issue May 21, 2017 · 1 comment
Closed

Remove xp::stringOf() #324

thekid opened this issue May 21, 2017 · 1 comment

Comments

@thekid
Copy link
Member

thekid commented May 21, 2017

Scope of Change

This RFC suggests removing xp::stringOf() which is duplicated from util.Objects::stringOf().

Rationale

Cleaning up

Functionality

  1. All libraries will be refactored to use util.Objects instead of xp::stringOf() and released in patch-level releases
  2. The xp::stringOf() method will be deprecated in XP9
  3. The method will be removed from the xp class defined in lang.base.php in the next major release

Security considerations

n/a

Speed impact

Faster

Dependencies

BC break -> Major version

Related documents

RFC #323 - remove xp::typeOf()

@thekid
Copy link
Member Author

thekid commented Jun 3, 2017

⚠️ XP Runners use xp::stringOf() in backtraces for uncaught exceptions and fatals.

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

No branches or pull requests

1 participant