mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-05 05:18:28 +00:00
Andreas Fischer
95a99a840b
Merge pull request #361 from bantu/namespacify-biginteger
Namespacify BigInteger * bantu/namespacify-biginteger: Correct the remaining case by using instanceof. Update users of Math_BigInteger. Some more documentation polishing in Math/BigInteger.php. Adjust test cases using Math_BigInteger. Replace new Math_BigInteger with new static. Reference to instances as BigInteger instead of Math_BigInteger. Use namespace in example code. Remove any include statement. Add namespace statement. Rename class. Use __construct. Add PSR4 namespace to composer.json.
phpseclib - PHP Secure Communications Library
MIT-licensed pure-PHP implementations of an arbitrary-precision integer arithmetic library, fully PKCS#1 (v2.1) compliant RSA, DES, 3DES, RC4, Rijndael, AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
PEAR Channel: [phpseclib.sourceforge.net](http://phpseclib.sourceforge.net/pear.htm)Installing Development Dependencies
Dependencies are managed via Composer.
-
Download the
composer.phar
executable as per the Composer Download Instructions, e.g. by runningcurl -sS https://getcomposer.org/installer | php
-
Install Dependencies
php composer.phar install --dev
Contributing
-
Fork the Project
-
Install Development Dependencies
-
Create a Feature Branch
-
(Recommended) Run the Test Suite
vendor/bin/phpunit
-
(Recommended) Check whether your code conforms to our Coding Standards by running
vendor/bin/phing -f build/build.xml sniff
-
Send us a Pull Request
Languages
PHP
100%