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

Namespace crypt #16825

Merged
merged 8 commits into from
Jun 26, 2017
Merged

Namespace crypt #16825

merged 8 commits into from
Jun 26, 2017

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented Jun 22, 2017

Namespace crypt. I'm aware that some classes will be skipped in J4, but for consistency I namespaced all.

@@ -16,7 +17,7 @@
*
* @since 12.1
*/
class JCryptKey
class CryptKey
Copy link
Contributor

Choose a reason for hiding this comment

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

For consistency with the Framework can we just name this Key instead?

*/
class JCryptCipher3Des extends JCryptCipherMcrypt
class TrippleDesCipher extends McryptCipher
Copy link
Contributor

Choose a reason for hiding this comment

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

Triple only has one "p" in it.


JLoader::registerAlias('JCrypt', '\\Joomla\\CMS\\Crypt\\Crypt', '5.0');
JLoader::registerAlias('JCryptCipher', '\\Joomla\\CMS\\Crypt\\CipherInterface', '5.0');
JLoader::registerAlias('JCryptKey', '\\Joomla\\CMS\\Crypt\\CryptKey', '5.0');
Copy link
Contributor

Choose a reason for hiding this comment

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

Need to fix the alias.

@laoneo
Copy link
Member Author

laoneo commented Jun 26, 2017

Done

@mbabker mbabker merged commit 6379ae8 into joomla:3.8-dev Jun 26, 2017
@mbabker mbabker added this to the Joomla 3.8.0 milestone Jun 26, 2017
@laoneo laoneo deleted the j3/namespace/crypt branch June 26, 2017 14:10
@laoneo laoneo mentioned this pull request Jun 28, 2017
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.

3 participants