-
-
Notifications
You must be signed in to change notification settings - Fork 896
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
Namespace system package #2 #567
Conversation
The inspection completed: No issues found |
@terrafrost I think that get_class should be removed and replaced with "instanceof" across the board. I think it should be a separate PR though. |
@@ -52,45 +52,6 @@ | |||
// Used to do Diffie-Hellman key exchange and DSA/RSA signature verification. | |||
use \phpseclib\Math\BigInteger; | |||
|
|||
/**#@+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, what is going on here? Is this a leftover from somewhere else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, somehow those defines got put back in... It is in the current php5 branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think they were ever removed. See https://github.com/phpseclib/phpseclib/blame/php5/phpseclib/Net/SSH2.php
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And indeed they were not part of https://github.com/phpseclib/phpseclib/pull/532/files#diff-4. Similar SSH1 constants have been removed, though.
Namespace system package phpseclib#2 * cnelissen/NamespaceSystemPackage: Namespaced classes
This is good to go. Thanks a lot. |
This PR adds namespaces to all the System* classes and implements PSR-4 autoloading.
Rebased.