aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/vendor/pragmarx
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/vendor/pragmarx')
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.scrutinizer.yml40
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.travis.yml32
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/CHANGELOG.md14
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/LICENSE.md7
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/README.md111
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.json36
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.lock1903
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/phpunit.xml33
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/src/Google2FA.php134
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/.gitkeep0
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Constants.php14
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Google2FATest.php52
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/bootstrap.php42
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/.scrutinizer.yml40
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/.travis.yml31
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/CHANGELOG.md83
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/LICENSE.md7
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/README.md353
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/RELICENSED.md29
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.json41
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.lock1755
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/docs/playground.jpgbin102734 -> 0 bytes
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/phpunit.xml33
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/Google2FA.php7
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/IncompatibleWithGoogleAuthenticator.php7
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/InvalidCharacters.php7
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/SecretKeyTooShort.php7
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Google2FAException.php10
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/IncompatibleWithGoogleAuthenticatorException.php12
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/InvalidCharactersException.php12
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/SecretKeyTooShortException.php12
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Google2FA.php418
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Base32.php202
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Constants.php21
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php28
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Url.php22
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/.gitkeep0
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Constants.php16
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Google2FATest.php524
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/bootstrap.php42
-rw-r--r--srcs/phpmyadmin/vendor/pragmarx/google2fa/upgrading.md2
41 files changed, 0 insertions, 6139 deletions
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.scrutinizer.yml b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.scrutinizer.yml
deleted file mode 100644
index c24935c..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.scrutinizer.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-checks:
- php:
- remove_extra_empty_lines: true
- remove_php_closing_tag: true
- remove_trailing_whitespace: true
- fix_use_statements:
- remove_unused: true
- preserve_multiple: false
- preserve_blanklines: true
- order_alphabetically: true
- fix_php_opening_tag: true
- fix_linefeed: true
- fix_line_ending: true
- fix_identation_4spaces: true
- fix_doc_comments: true
-
-filter:
- paths: [src/*]
- excluded_paths: [tests/*]
-
-coding_style:
- php: { }
-
-build:
- tests:
- override:
- -
- command: 'vendor/bin/phpunit -c phpunit.xml'
- coverage:
- file: 'coverage/coverage-clover.xml'
- format: 'clover'
- nodes:
- analysis:
- tests:
- override:
- - php-scrutinizer-run
- tests: true
-
-tools:
- external_code_coverage: true
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.travis.yml b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.travis.yml
deleted file mode 100644
index 0e356a6..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/.travis.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-dist: trusty
-language: php
-
-php:
- - 5.6
- - 7.0
- - 7.1
- - 7.2
- - nightly
-
-# This triggers builds to run on the new TravisCI infrastructure.
-# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
-sudo: false
-
-## Cache composer
-cache:
- directories:
- - $HOME/.composer/cache
-
-before_script:
- - yes '' | pecl install imagick
- - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
-
-script:
- - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
-
-after_script:
- - |
- if [[ "$TRAVIS_PHP_VERSION" == '7.2' ]]; then
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- fi
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/CHANGELOG.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/CHANGELOG.md
deleted file mode 100644
index e022ae0..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/CHANGELOG.md
+++ /dev/null
@@ -1,14 +0,0 @@
-## Change Log
-
-## [1.0.2] - 2018-10-10
-### Changed
-- Dropped support for PHP 5.4 & PHP 5.5
-- Test QRCode by decoding it
-
-## [1.0.1] - 2018-10-10
-### Added
-- Add support for more image renderer back ends
-
-## [1.0.0] - 2018-10-06
-### Added
-- Package created
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/LICENSE.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/LICENSE.md
deleted file mode 100644
index 7300640..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2014-2018 Phil, Antonio Carlos Ribeiro and All Contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/README.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/README.md
deleted file mode 100644
index 9130fd9..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/README.md
+++ /dev/null
@@ -1,111 +0,0 @@
-# Google2FA QRCode
-
-<p align="center">
- <a href="https://packagist.org/packages/pragmarx/google2fa-qrcode"><img alt="Latest Stable Version" src="https://img.shields.io/packagist/v/pragmarx/google2fa-qrcode.svg?style=flat-square"></a>
- <a href="LICENSE.md"><img alt="License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square"></a>
- <a href="https://scrutinizer-ci.com/g/antonioribeiro/google2fa/?branch=master"><img alt="Code Quality" src="https://img.shields.io/scrutinizer/g/antonioribeiro/google2fa.svg?style=flat-square"></a>
- <a href="https://travis-ci.org/antonioribeiro/google2fa"><img alt="Build" src="https://img.shields.io/travis/antonioribeiro/google2fa.svg?style=flat-square"></a>
-</p>
-<p align="center">
- <a href="https://packagist.org/packages/pragmarx/google2fa-qrcode"><img alt="Downloads" src="https://img.shields.io/packagist/dt/pragmarx/google2fa-qrcode.svg?style=flat-square"></a>
- <a href="https://scrutinizer-ci.com/g/antonioribeiro/google2fa/?branch=master"><img alt="Coverage" src="https://img.shields.io/scrutinizer/coverage/g/antonioribeiro/google2fa.svg?style=flat-square"></a>
- <a href="https://styleci.io/repos/24296182"><img alt="StyleCI" src="https://styleci.io/repos/24296182/shield"></a>
- <a href="https://travis-ci.org/antonioribeiro/google2fa"><img alt="PHP" src="https://img.shields.io/badge/PHP-5.4%20--%207.2-brightgreen.svg?style=flat-square"></a>
-</p>
-
-### QRCode For Google2FA
-
-This is package is [Goole2FA](https://github.com/antonioribeiro/google2fa) integrated with a QRCode generator, providing an easy way to plot QRCode for your two factor authentication. For documentation related to Google2FA, please check the [documentation of the main package](https://github.com/antonioribeiro/google2fa).
-
-## Requirements
-
-- PHP 5.4+
-
-## Installing
-
-Use Composer to install it:
-
-```
-composer require pragmarx/google2fa-qrcode
-```
-
-## Using It
-
-### Instantiate it directly
-
-```php
-use PragmaRX\Google2FAQRCode\Google2FA;
-
-$google2fa = new Google2FA();
-
-return $google2fa->generateSecretKey();
-```
-
-## Generating QRCodes
-
-The securer way of creating QRCode is to do it yourself or using a library. First you have to install the BaconQrCode package, as stated above, then you just have to generate the inline string using:
-
-```php
-$inlineUrl = $google2fa->getQRCodeInline(
- $companyName,
- $companyEmail,
- $secretKey
-);
-```
-
-And use it in your blade template this way:
-
-```html
-<img src="{{ $inlineUrl }}">
-```
-
-```php
-$secretKey = $google2fa->generateSecretKey(16, $userId);
-```
-
-## Show the QR Code to your user, via Google Apis
-
-It's insecure to use it via Google Apis, so you have to enable it before using it.
-
-```php
-$google2fa->setAllowInsecureCallToGoogleApis(true);
-
-$google2fa_url = $google2fa->getQRCodeGoogleUrl(
- 'YourCompany',
- $user->email,
- $user->google2fa_secret
-);
-
-/// and in your view:
-
-<img src="{{ $google2fa_url }}" alt="">
-```
-
-And they should see and scan the QR code to their applications:
-
-![QRCode](https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth%3A%2F%2Ftotp%2FPragmaRX%3Aacr%2Bpragmarx%40antoniocarlosribeiro.com%3Fsecret%3DADUMJO5634NPDEKW%26issuer%3DPragmaRX)
-
-And to verify, you just have to:
-
-```php
-$secret = $request->input('secret');
-
-$valid = $google2fa->verifyKey($user->google2fa_secret, $secret);
-```
-
-## Tests
-
-The package tests were written with [PHPUnit](https://phpunit.de/).
-
-## Authors
-
-- [Antonio Carlos Ribeiro](http://twitter.com/iantonioribeiro)
-- [All Contributors](https://github.com/antonioribeiro/google2fa/graphs/contributors)
-
-## License
-
-Google2FAQRCode is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
-
-## Contributing
-
-Pull requests and issues are more than welcome.
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.json b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.json
deleted file mode 100644
index 61fbb7c..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.json
+++ /dev/null
@@ -1,36 +0,0 @@
-{
- "name": "pragmarx/google2fa-qrcode",
- "description": "QR Code package for Google2FA",
- "keywords": ["authentication", "two factor authentication", "google2fa", "2fa", "QRCode", "qr code"],
- "license": "MIT",
- "authors": [
- {
- "name": "Antonio Carlos Ribeiro",
- "email": "acr@antoniocarlosribeiro.com",
- "role": "Creator & Designer"
- }
- ],
- "require": {
- "php": ">=5.4",
- "pragmarx/google2fa": ">=4.0",
- "bacon/bacon-qr-code": "~1.0|~2.0"
- },
- "require-dev": {
- "phpunit/phpunit": "~4|~5|~6|~7",
- "khanamiryan/qrcode-detector-decoder": "^1.0"
- },
- "autoload": {
- "psr-4": {
- "PragmaRX\\Google2FAQRCode\\": "src/",
- "PragmaRX\\Google2FAQRCode\\Tests\\": "tests/"
- }
- },
- "extra": {
- "component": "package",
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "minimum-stability": "dev",
- "prefer-stable": true
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.lock b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.lock
deleted file mode 100644
index 288d67a..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/composer.lock
+++ /dev/null
@@ -1,1903 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "content-hash": "f78415814ce04fef409e8941a568f6a7",
- "packages": [
- {
- "name": "bacon/bacon-qr-code",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Bacon/BaconQrCode.git",
- "reference": "eaac909da3ccc32b748a65b127acd8918f58d9b0"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/eaac909da3ccc32b748a65b127acd8918f58d9b0",
- "reference": "eaac909da3ccc32b748a65b127acd8918f58d9b0",
- "shasum": ""
- },
- "require": {
- "dasprid/enum": "^1.0",
- "ext-iconv": "*",
- "php": "^7.1"
- },
- "require-dev": {
- "phly/keep-a-changelog": "^1.4",
- "phpunit/phpunit": "^6.4",
- "squizlabs/php_codesniffer": "^3.1"
- },
- "suggest": {
- "ext-imagick": "to generate QR code images"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "BaconQrCode\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Ben Scholzen 'DASPRiD'",
- "email": "mail@dasprids.de",
- "homepage": "http://www.dasprids.de",
- "role": "Developer"
- }
- ],
- "description": "BaconQrCode is a QR code generator for PHP.",
- "homepage": "https://github.com/Bacon/BaconQrCode",
- "time": "2018-04-25T17:53:56+00:00"
- },
- {
- "name": "dasprid/enum",
- "version": "1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/DASPRiD/Enum.git",
- "reference": "631ef6e638e9494b0310837fa531bedd908fc22b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/DASPRiD/Enum/zipball/631ef6e638e9494b0310837fa531bedd908fc22b",
- "reference": "631ef6e638e9494b0310837fa531bedd908fc22b",
- "shasum": ""
- },
- "require-dev": {
- "phpunit/phpunit": "^6.4",
- "squizlabs/php_codesniffer": "^3.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DASPRiD\\Enum\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Ben Scholzen 'DASPRiD'",
- "email": "mail@dasprids.de",
- "homepage": "https://dasprids.de/"
- }
- ],
- "description": "PHP 7.1 enum implementation",
- "keywords": [
- "enum",
- "map"
- ],
- "time": "2017-10-25T22:45:27+00:00"
- },
- {
- "name": "paragonie/constant_time_encoding",
- "version": "v2.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/constant_time_encoding.git",
- "reference": "55af0dc01992b4d0da7f6372e2eac097bbbaffdb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/55af0dc01992b4d0da7f6372e2eac097bbbaffdb",
- "reference": "55af0dc01992b4d0da7f6372e2eac097bbbaffdb",
- "shasum": ""
- },
- "require": {
- "php": "^7"
- },
- "require-dev": {
- "phpunit/phpunit": "^6|^7",
- "vimeo/psalm": "^1|^2"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "ParagonIE\\ConstantTime\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com",
- "role": "Maintainer"
- },
- {
- "name": "Steve 'Sc00bz' Thomas",
- "email": "steve@tobtu.com",
- "homepage": "https://www.tobtu.com",
- "role": "Original Developer"
- }
- ],
- "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)",
- "keywords": [
- "base16",
- "base32",
- "base32_decode",
- "base32_encode",
- "base64",
- "base64_decode",
- "base64_encode",
- "bin2hex",
- "encoding",
- "hex",
- "hex2bin",
- "rfc4648"
- ],
- "time": "2019-01-03T20:26:31+00:00"
- },
- {
- "name": "paragonie/random_compat",
- "version": "v9.99.99",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
- "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
- "shasum": ""
- },
- "require": {
- "php": "^7"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*|5.*",
- "vimeo/psalm": "^1"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "type": "library",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "polyfill",
- "pseudorandom",
- "random"
- ],
- "time": "2018-07-02T15:55:56+00:00"
- },
- {
- "name": "pragmarx/google2fa",
- "version": "v5.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/antonioribeiro/google2fa.git",
- "reference": "17c969c82f427dd916afe4be50bafc6299aef1b4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/antonioribeiro/google2fa/zipball/17c969c82f427dd916afe4be50bafc6299aef1b4",
- "reference": "17c969c82f427dd916afe4be50bafc6299aef1b4",
- "shasum": ""
- },
- "require": {
- "paragonie/constant_time_encoding": "~1.0|~2.0",
- "paragonie/random_compat": ">=1",
- "php": ">=5.4",
- "symfony/polyfill-php56": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4|~5|~6"
- },
- "type": "library",
- "extra": {
- "component": "package",
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PragmaRX\\Google2FA\\": "src/",
- "PragmaRX\\Google2FA\\Tests\\": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Antonio Carlos Ribeiro",
- "email": "acr@antoniocarlosribeiro.com",
- "role": "Creator & Designer"
- }
- ],
- "description": "A One Time Password Authentication package, compatible with Google Authenticator.",
- "keywords": [
- "2fa",
- "Authentication",
- "Two Factor Authentication",
- "google2fa"
- ],
- "time": "2019-03-19T22:44:16+00:00"
- },
- {
- "name": "symfony/polyfill-php56",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php56.git",
- "reference": "ff208829fe1aa48ab9af356992bb7199fed551af"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/ff208829fe1aa48ab9af356992bb7199fed551af",
- "reference": "ff208829fe1aa48ab9af356992bb7199fed551af",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "symfony/polyfill-util": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php56\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2018-09-21T06:26:08+00:00"
- },
- {
- "name": "symfony/polyfill-util",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-util.git",
- "reference": "3b58903eae668d348a7126f999b0da0f2f93611c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/3b58903eae668d348a7126f999b0da0f2f93611c",
- "reference": "3b58903eae668d348a7126f999b0da0f2f93611c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Util\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony utilities for portability of PHP codes",
- "homepage": "https://symfony.com",
- "keywords": [
- "compat",
- "compatibility",
- "polyfill",
- "shim"
- ],
- "time": "2018-09-30T16:36:12+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "athletic/athletic": "~0.1.8",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpunit/phpunit": "^6.2.3",
- "squizlabs/php_codesniffer": "^3.0.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://github.com/doctrine/instantiator",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2017-07-22T11:58:36+00:00"
- },
- {
- "name": "khanamiryan/qrcode-detector-decoder",
- "version": "1.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/khanamiryan/php-qrcode-detector-decoder.git",
- "reference": "a75482d3bc804e3f6702332bfda6cccbb0dfaa76"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/khanamiryan/php-qrcode-detector-decoder/zipball/a75482d3bc804e3f6702332bfda6cccbb0dfaa76",
- "reference": "a75482d3bc804e3f6702332bfda6cccbb0dfaa76",
- "shasum": ""
- },
- "require": {
- "php": "^5.6|^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Zxing\\": "lib/"
- },
- "files": [
- "lib/Common/customFunctions.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ashot Khanamiryan",
- "email": "a.khanamiryan@gmail.com",
- "homepage": "https://github.com/khanamiryan",
- "role": "Developer"
- }
- ],
- "description": "QR code decoder / reader",
- "homepage": "https://github.com/khanamiryan/php-qrcode-detector-decoder/",
- "keywords": [
- "barcode",
- "qr",
- "zxing"
- ],
- "time": "2018-04-26T11:41:33+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2018-06-11T23:09:50+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^2.0",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2018-07-08T19:23:20+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2018-07-08T19:19:57+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08",
- "reference": "94fd0001232e47129dd3504189fa1c7225010d08",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2017-11-30T07:14:17+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Prophecy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2018-08-05T17:53:17+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "6.1.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/807e6013b00af69b6c5d9ceb4282d0393dbb9d8d",
- "reference": "807e6013b00af69b6c5d9ceb4282d0393dbb9d8d",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^7.1",
- "phpunit/php-file-iterator": "^2.0",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^3.0",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^3.1 || ^4.0",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.0"
- },
- "suggest": {
- "ext-xdebug": "^2.6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "6.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2018-10-31T16:06:48+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "050bedf145a257b1ff02746c31894800e5122946"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
- "reference": "050bedf145a257b1ff02746c31894800e5122946",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2018-09-13T20:33:42+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "2.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "8b389aebe1b8b0578430bda0c7c95a829608e059"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b389aebe1b8b0578430bda0c7c95a829608e059",
- "reference": "8b389aebe1b8b0578430bda0c7c95a829608e059",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2019-02-20T10:12:59+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "3.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/c99e3be9d3e85f60646f152f9002d46ed7770d18",
- "reference": "c99e3be9d3e85f60646f152f9002d46ed7770d18",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2018-10-30T05:52:18+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "7.5.7",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "eb343b86753d26de07ecba7868fa983104361948"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/eb343b86753d26de07ecba7868fa983104361948",
- "reference": "eb343b86753d26de07ecba7868fa983104361948",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.1",
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "myclabs/deep-copy": "^1.7",
- "phar-io/manifest": "^1.0.2",
- "phar-io/version": "^2.0",
- "php": "^7.1",
- "phpspec/prophecy": "^1.7",
- "phpunit/php-code-coverage": "^6.0.7",
- "phpunit/php-file-iterator": "^2.0.1",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^2.1",
- "sebastian/comparator": "^3.0",
- "sebastian/diff": "^3.0",
- "sebastian/environment": "^4.0",
- "sebastian/exporter": "^3.1",
- "sebastian/global-state": "^2.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^2.0",
- "sebastian/version": "^2.0.1"
- },
- "conflict": {
- "phpunit/phpunit-mock-objects": "*"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-soap": "*",
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^2.0"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "7.5-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2019-03-16T07:31:17+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "3.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "shasum": ""
- },
- "require": {
- "php": "^7.1",
- "sebastian/diff": "^3.0",
- "sebastian/exporter": "^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2018-07-12T15:12:46+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "3.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.5 || ^8.0",
- "symfony/process": "^2 || ^3.3 || ^4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff",
- "udiff",
- "unidiff",
- "unified diff"
- ],
- "time": "2019-02-04T06:01:07+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "4.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "6fda8ce1974b62b14935adc02a9ed38252eca656"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6fda8ce1974b62b14935adc02a9ed38252eca656",
- "reference": "6fda8ce1974b62b14935adc02a9ed38252eca656",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.5"
- },
- "suggest": {
- "ext-posix": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2019-02-01T05:27:49+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937",
- "reference": "234199f4528de6d12aaa58b612e98f7d36adb937",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2017-04-03T13:19:02+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "2.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2017-04-27T15:39:26+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2018-10-04T04:07:39+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.10.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/e3d826245268269cd66f8326bd8bc066687b4a19",
- "reference": "e3d826245268269cd66f8326bd8bc066687b4a19",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.9-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- },
- {
- "name": "Gert de Pagter",
- "email": "backendtea@gmail.com"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2018-08-06T14:22:27+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2017-04-07T12:08:54+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9",
- "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6",
- "sebastian/version": "^1.0.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2018-12-25T11:19:39+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "dev",
- "stability-flags": [],
- "prefer-stable": true,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/phpunit.xml b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/phpunit.xml
deleted file mode 100644
index 79ac51d..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/phpunit.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<phpunit backupGlobals="false"
- backupStaticAttributes="false"
- bootstrap="tests/bootstrap.php"
- colors="true"
- convertErrorsToExceptions="true"
- convertNoticesToExceptions="true"
- convertWarningsToExceptions="true"
- processIsolation="false"
- stopOnError="false"
- stopOnFailure="false"
- verbose="true"
->
- <testsuites>
- <testsuite name="Laravel Test Suite">
- <directory suffix="Test.php">./tests</directory>
- </testsuite>
- </testsuites>
-
- <logging>
- <log type="coverage-html" target="coverage/" lowUpperBound="35" highLowerBound="70"/>
- <log type="coverage-clover" target="coverage/coverage-clover.xml" lowUpperBound="35" highLowerBound="70"/>
- <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
- </logging>
-
- <filter>
- <whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">./src</directory>
- <exclude></exclude>
- </whitelist>
- </filter>
-</phpunit>
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/src/Google2FA.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/src/Google2FA.php
deleted file mode 100644
index a4d6340..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/src/Google2FA.php
+++ /dev/null
@@ -1,134 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FAQRCode;
-
-use BaconQrCode\Renderer\Image\Png;
-use BaconQrCode\Renderer\Image\RendererInterface;
-use BaconQrCode\Writer as BaconQrCodeWriter;
-use PragmaRX\Google2FA\Google2FA as Google2FAPackage;
-
-use BaconQrCode\Renderer\ImageRenderer;
-use BaconQrCode\Renderer\Image\ImageBackEndInterface;
-use BaconQrCode\Renderer\Image\ImagickImageBackEnd;
-use BaconQrCode\Renderer\RendererStyle\RendererStyle;
-use BaconQrCode\Writer;
-
-class Google2FA extends Google2FAPackage
-{
- /**
- * @var ImageBackEndInterface|RendererInterface|null $imageBackEnd
- */
- protected $imageBackEnd;
-
- /**
- * Google2FA constructor.
- *
- * @param ImageBackEndInterface|RendererInterface|null $imageBackEnd
- */
- public function __construct($imageBackEnd = null)
- {
- if ($this->getBaconQRCodeVersion() === 1) {
- if ($imageBackEnd instanceof RendererInterface) {
- $this->imageBackEnd = $imageBackEnd;
- } else {
- $this->imageBackEnd = new Png();
- }
- } else {
- if ($imageBackEnd instanceof ImageBackEndInterface) {
- $this->imageBackEnd = $imageBackEnd;
- } else {
- $this->imageBackEnd = new ImagickImageBackEnd();
- }
- }
- }
-
- /**
- * Generates a QR code data url to display inline.
- *
- * @param string $company
- * @param string $holder
- * @param string $secret
- * @param int $size
- * @param string $encoding Default to UTF-8
- *
- * @return string
- */
- public function getQRCodeInline($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
- {
- return $this->getBaconQRCodeVersion() === 1
- ? $this->getQRCodeInlineV1($company, $holder, $secret, $size, $encoding)
- : $this->getQRCodeInlineV2($company, $holder, $secret, $size, $encoding);
- }
-
- /**
- * Generates a QR code data url to display inline for Bacon QRCode v1
- *
- * @param string $company
- * @param string $holder
- * @param string $secret
- * @param int $size
- * @param string $encoding Default to UTF-8
- *
- * @return string
- */
- public function getQRCodeInlineV1($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
- {
- $url = $this->getQRCodeUrl($company, $holder, $secret);
-
- $renderer = $this->imageBackEnd;
- $renderer->setWidth($size);
- $renderer->setHeight($size);
-
- $bacon = new BaconQrCodeWriter($renderer);
- $data = $bacon->writeString($url, $encoding);
-
- if ($this->imageBackEnd instanceof Png) {
- return 'data:image/png;base64,'.base64_encode($data);
- }
- return $data;
- }
-
- /**
- * Generates a QR code data url to display inline for Bacon QRCode v2
- *
- * @param string $company
- * @param string $holder
- * @param string $secret
- * @param int $size
- * @param string $encoding Default to UTF-8
- *
- * @return string
- */
- public function getQRCodeInlineV2($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
- {
- $renderer = new ImageRenderer(
- (new RendererStyle($size))->withSize($size),
- $this->imageBackEnd
- );
-
- $bacon = new Writer($renderer);
-
- $data = $bacon->writeString(
- $this->getQRCodeUrl($company, $holder, $secret),
- $encoding
- );
-
- if ($this->imageBackEnd instanceof ImagickImageBackEnd) {
- return 'data:image/png;base64,'.base64_encode($data);
- }
-
- return $data;
- }
-
- /**
- * Get Bacon QRCode current version
- *
- * @return int
- */
- public function getBaconQRCodeVersion()
- {
- return class_exists('BaconQrCode\Renderer\Image\Png') && class_exists('BaconQrCode\Writer')
- ? 1
- : 2;
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/.gitkeep b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/.gitkeep
+++ /dev/null
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Constants.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Constants.php
deleted file mode 100644
index c5970ef..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Constants.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FAQRCode\Tests;
-
-class Constants
-{
- const SECRET = 'ADUMJO5634NPDEKW';
-
- const QRCODEPHPABOVE72_V1 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICA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l0eCLZ5gT79wL1wLoT86DK6QLz2j+oWQ1+C/t20z1IcRj5tMzj8vJW2wyIbZ3pJX6I5B3HaZz0nQGeBp6+qQJN51mUWSX2gCaCD/xzk3uBi87kfx781AIQ2c26AJsMczJ3F9jzUE3wfXDQcFkkGXXU/BerE2QKJN/z+sdi2V7Ey9F4S3Ta6SD60ngrDDv+KqtDqRf/1+lwiOudwgt6SfleOBx8BrlxkftaS3sb7flcyiIKCWiAKCiW0xbrymP9bcyyRfAcQPCOobdK+g0+tzeq756HBTy4KD4ecO8P4N7NQemz+POSMty5fTXAcnZ6s57ne96Hr1OqQ87nDf9tj1un9XoI+Lvu5Wi2gIHZzLcHn8/nU/4SCgtpiKSioBaKgoBaIgoJaIAoKaoEoKKgFoqCgFoiCglogCgpqgSgoKKgFoqCgFoiCglogCgpqgSgoqAWioBBf+H8oJx6tOQTqfAAAAABJRU5ErkJggg==';
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Google2FATest.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Google2FATest.php
deleted file mode 100644
index e5c36b5..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/Google2FATest.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FAQRCode\Tests;
-
-use BaconQrCode\Renderer\Image\ImagickImageBackEnd;
-use BaconQrCode\Renderer\Image\Png;
-use PHPUnit\Framework\TestCase;
-use PragmaRX\Google2FAQRCode\Google2FA;
-use Zxing\QrReader;
-
-class Google2FATest extends TestCase
-{
- const EMAIL = 'acr+pragmarx@antoniocarlosribeiro.com';
-
- const OTP_URL = 'otpauth://totp/PragmaRX:acr+pragmarx@antoniocarlosribeiro.com?secret=ADUMJO5634NPDEKW&issuer=PragmaRX';
-
- public function setUp()
- {
- $this->google2fa = new Google2FA();
- }
-
- public function readQRCode($data)
- {
- list(, $data) = explode(';', $data);
-
- list(, $data) = explode(',', $data);
-
- return rawurldecode((new QrReader(base64_decode($data), QrReader::SOURCE_TYPE_BLOB))->text());
- }
-
- public function testQrcodeInline()
- {
- $this->assertEquals(
- static::OTP_URL,
- $this->readQRCode($this->google2fa->getQRCodeInline('PragmaRX', static::EMAIL, Constants::SECRET))
- );
-
- if ($this->google2fa->getBaconQRCodeVersion() === 1) {
- $google2fa = new Google2FA(new Png());
- $this->assertEquals(
- static::OTP_URL,
- $this->readQRCode($google2fa->getQRCodeInline('PragmaRX', static::EMAIL, Constants::SECRET))
- );
- } else {
- $google2fa = new Google2FA(new ImagickImageBackEnd());
- $this->assertEquals(
- static::OTP_URL,
- $this->readQRCode($google2fa->getQRCodeInline('PragmaRX', static::EMAIL, Constants::SECRET))
- );
- }
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/bootstrap.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/bootstrap.php
deleted file mode 100644
index 56032ea..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa-qrcode/tests/bootstrap.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-/*
-|--------------------------------------------------------------------------
-| Register The Composer Auto Loader
-|--------------------------------------------------------------------------
-|
-| Composer provides a convenient, automatically generated class loader
-| for our application. We just need to utilize it! We'll require it
-| into the script here so that we do not have to worry about the
-| loading of any our classes "manually". Feels great to relax.
-|
-*/
-
-require __DIR__.'/../vendor/autoload.php';
-
-/*
-|--------------------------------------------------------------------------
-| Set The Default Timezone
-|--------------------------------------------------------------------------
-|
-| Here we will set the default timezone for PHP. PHP is notoriously mean
-| if the timezone is not explicitly set. This will be used by each of
-| the PHP date and date-time functions throughout the application.
-|
-*/
-
-date_default_timezone_set('UTC');
-
-function d($args)
-{
- foreach ($args as $arg) {
- var_dump($arg);
- }
-}
-
-function dd()
-{
- d(func_get_args());
-
- die;
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/.scrutinizer.yml b/srcs/phpmyadmin/vendor/pragmarx/google2fa/.scrutinizer.yml
deleted file mode 100644
index c24935c..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/.scrutinizer.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-checks:
- php:
- remove_extra_empty_lines: true
- remove_php_closing_tag: true
- remove_trailing_whitespace: true
- fix_use_statements:
- remove_unused: true
- preserve_multiple: false
- preserve_blanklines: true
- order_alphabetically: true
- fix_php_opening_tag: true
- fix_linefeed: true
- fix_line_ending: true
- fix_identation_4spaces: true
- fix_doc_comments: true
-
-filter:
- paths: [src/*]
- excluded_paths: [tests/*]
-
-coding_style:
- php: { }
-
-build:
- tests:
- override:
- -
- command: 'vendor/bin/phpunit -c phpunit.xml'
- coverage:
- file: 'coverage/coverage-clover.xml'
- format: 'clover'
- nodes:
- analysis:
- tests:
- override:
- - php-scrutinizer-run
- tests: true
-
-tools:
- external_code_coverage: true
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/.travis.yml b/srcs/phpmyadmin/vendor/pragmarx/google2fa/.travis.yml
deleted file mode 100644
index 3faa27c..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/.travis.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-dist: trusty
-language: php
-
-php:
- - 7.1
- - 7.2
- - 7.3
- - 7.4snapshot
-# - nightly
-
-# This triggers builds to run on the new TravisCI infrastructure.
-# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
-sudo: false
-
-## Cache composer
-cache:
- directories:
- - $HOME/.composer/cache
-
-before_script:
- - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
-
-script:
- - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
-
-after_script:
- - |
- if [[ "$TRAVIS_PHP_VERSION" == '7.2' ]]; then
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
- fi
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/CHANGELOG.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa/CHANGELOG.md
deleted file mode 100644
index 80b8a98..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/CHANGELOG.md
+++ /dev/null
@@ -1,83 +0,0 @@
-## Change Log
-
-## [6.0.0] - 2019-09-11
-### Added
-- Base exception class and interfaces
-### Removed
-- Support for PHP 5.4 to 7.0, will keep supporting PHP 7.1, 7.2, 7.3 & 7.4
-
-## [5.0.0] - 2019-05-19
-### Changed
-- Remove dead Google Charts API
-
-## [4.0.0] - 2018-10-06
-### Changed
-- Bacon QRCode package removed
-
-## [3.0.1] - 2018-03-15
-### Changed
-- Relicensed to MIT
-
-## [3.0.0] - 2018-03-07
-### Changed
-- It's now mandatory to enable Google Api secret key access by executing `setAllowInsecureCallToGoogleApis(true);`
-
-## [2.0.4] - 2017-06-22
-### Fixed
-- Fix Base32 to keep supporting PHP 5.4 && 5.5.
-
-## [2.0.3] - 2017-06-22
-## [2.0.2] - 2017-06-21
-## [2.0.1] - 2017-06-20
-### Fixed
-- Minor bugs
-
-## [2.0.0] - 2017-06-20
-### Changed
-- Drop the Laravel support in favor of a bridge package (https://github.com/antonioribeiro/google2fa-laravel).
-- Using a more secure Base 32 algorithm, to prevent cache-timing attacks.
-- Added verifyKeyNewer() method to prevent reuse of keys.
-- Refactored to remove complexity, by extracting support methods.
-- Created a package playground page (https://pragmarx.com/google2fa)
-
-## [2.0.0] - 2017-06-20
-### Changed
-- Drop the Laravel support in favor of a bridge package (https://github.com/antonioribeiro/google2fa-laravel).
-- Using a more secure Base 32 algorithm, to prevent cache-timing attacks.
-- Added verifyKeyNewer() method to prevent reuse of keys.
-- Refactored to remove complexity, by extracting support methods.
-- Created a package playground page (https://pragmarx.com/google2fa)
-
-## [1.0.1] - 2016-07-18
-### Changed
-- Drop support for PHP 5.3.7, require PHP 5.4+.
-- Coding style is now PSR-2 automatically enforced by StyleCI.
-
-## [1.0.0] - 2016-07-17
-### Changed
-- Package bacon/bacon-qr-code was moved to "suggest".
-
-## [0.8.1] - 2016-07-17
-### Fixed
-- Allow paragonie/random_compat ~1.4|~2.0.
-
-## [0.8.0] - 2016-07-17
-### Changed
-- Bumped christian-riesen/base32 to ~1.3
-- Use paragonie/random_compat to generate cryptographically secure random secret keys
-- Readme improvements
-- Drop simple-qrcode in favor of bacon/bacon-qr-code
-- Fix tavis setup for phpspec, PHP 7, hhvm and improve cache
-
-## [0.7.0] - 2015-11-07
-### Changed
-- Fixed URL generation for QRCodes
-- Avoid time attacks
-
-## [0.2.0] - 2015-02-19
-### Changed
-- Laravel 5 compatibility.
-
-## [0.1.0] - 2014-07-06
-### Added
-- First version.
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/LICENSE.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa/LICENSE.md
deleted file mode 100644
index 7300640..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/LICENSE.md
+++ /dev/null
@@ -1,7 +0,0 @@
-Copyright 2014-2018 Phil, Antonio Carlos Ribeiro and All Contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/README.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa/README.md
deleted file mode 100644
index 5b1abf4..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/README.md
+++ /dev/null
@@ -1,353 +0,0 @@
-![image](http://lingtalfi.com/services/pngtext?color=cc0000&size=50&text=WARNING)
-
-<p style="font-color: red;">
- Google API for QR generator is turned off.
-</p>
-
-All version of that package prior to 5.0.0 are deprecated. Please upgrade and check documentation regarding [QRCode generation](https://github.com/antonioribeiro/google2fa#generating-qrcodes).
-
-# Google2FA
-
-<p align="center">
- <a href="https://packagist.org/packages/pragmarx/google2fa"><img alt="Latest Stable Version" src="https://img.shields.io/packagist/v/pragmarx/google2fa.svg?style=flat-square"></a>
- <a href="LICENSE.md"><img alt="License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square"></a>
- <a href="https://scrutinizer-ci.com/g/antonioribeiro/google2fa/?branch=master"><img alt="Code Quality" src="https://img.shields.io/scrutinizer/g/antonioribeiro/google2fa.svg?style=flat-square"></a>
- <a href="https://travis-ci.org/antonioribeiro/google2fa"><img alt="Build" src="https://img.shields.io/travis/antonioribeiro/google2fa.svg?style=flat-square"></a>
-</p>
-<p align="center">
- <a href="https://packagist.org/packages/pragmarx/google2fa"><img alt="Downloads" src="https://img.shields.io/packagist/dt/pragmarx/google2fa.svg?style=flat-square"></a>
- <a href="https://scrutinizer-ci.com/g/antonioribeiro/google2fa/?branch=master"><img alt="Coverage" src="https://img.shields.io/scrutinizer/coverage/g/antonioribeiro/google2fa.svg?style=flat-square"></a>
- <a href="https://styleci.io/repos/24296182"><img alt="StyleCI" src="https://styleci.io/repos/24296182/shield"></a>
- <a href="https://travis-ci.org/antonioribeiro/google2fa"><img alt="PHP" src="https://img.shields.io/badge/PHP-5.4%20--%207.3-brightgreen.svg?style=flat-square"></a>
-</p>
-
-### Google Two-Factor Authentication for PHP Package
-
-Google2FA is a PHP implementation of the Google Two-Factor Authentication Module, supporting the HMAC-Based One-time Password (HOTP) algorithm specified in [RFC 4226](https://tools.ietf.org/html/rfc4226) and the Time-based One-time Password (TOTP) algorithm specified in [RFC 6238](https://tools.ietf.org/html/rfc6238).
-
-This package is agnostic, but there's a [Laravel bridge](https://github.com/antonioribeiro/google2fa-laravel).
-
-### QRCode
-
-This package does not generate QRCodes for 2FA.
-
-If you are looking for Google Two-Factor Authentication, but also need to generate QRCode for it, you can use the [Google2FA QRCode package](https://github.com/antonioribeiro/google2fa-qrcode), which integrates this package and also generates QRCodes using the BaconQRCode library, or check options on how to do it yourself [here in the docs](#qr-code-packages).
-
-## Demos, Example & Playground
-
-Please check the [Google2FA Package Playground](http://pragmarx.com/playground/google2fa).
-
-![playground](docs/playground.jpg)
-
-Here's an demo app showing how to use Google2FA: [google2fa-example](https://github.com/antonioribeiro/google2fa-example).
-
-You can scan the QR code on [this (old) demo page](https://antoniocarlosribeiro.com/technology/google2fa) with a Google Authenticator app and view the code changing (almost) in real time.
-
-## Requirements
-
-- PHP 5.4+
-
-## Installing
-
-Use Composer to install it:
-
- composer require pragmarx/google2fa
-
-To generate inline QRCodes, you'll need to install a QR code generator, e.g. [BaconQrCode](https://github.com/Bacon/BaconQrCode):
-
- composer require bacon/bacon-qr-code
-
-## Using It
-
-### Instantiate it directly
-
-```php
-use PragmaRX\Google2FA\Google2FA;
-
-$google2fa = new Google2FA();
-
-return $google2fa->generateSecretKey();
-```
-
-## How To Generate And Use Two Factor Authentication
-
-Generate a secret key for your user and save it:
-
-```php
-$user->google2fa_secret = $google2fa->generateSecretKey();
-```
-
-## Generating QRCodes
-
-The securer way of creating QRCode is to do it yourself or using a library. First you have to install a QR code generator e.g. BaconQrCode, as stated above, then you just have to generate the QR code url using:
-
-```php
-$qrCodeUrl = $google2fa->getQRCodeUrl(
- $companyName,
- $companyEmail,
- $secretKey
-);
-```
-
-Once you have the QR code url, you can feed it to your preferred QR code generator.
-
-```php
-// Use your own QR Code generator to generate a data URL:
-$google2fa_url = custom_generate_qrcode_url($qrCodeUrl);
-
-/// and in your view:
-
-<img src="{{ $google2fa_url }}" alt="">
-```
-
-And to verify, you just have to:
-
-```php
-$secret = $request->input('secret');
-
-$valid = $google2fa->verifyKey($user->google2fa_secret, $secret);
-```
-
-## QR Code Packages
-
-This package suggests the use of [Bacon/QRCode](https://github.com/Bacon/BaconQrCode) because
-it is known as a good QR Code package, but you can use it with any other package, for
-instance [Google2FA QRCode](https://github.com/antonioribeiro/google2fa-qrcode),
-[Simple QrCode](https://www.simplesoftware.io/docs/simple-qrcode)
-or [Endroid QR Code](https://github.com/endroid/qr-code), all of them use
-[Bacon/QRCode](https://github.com/Bacon/BaconQrCode) to produce QR Codes.
-
-Usually you'll need a 2FA URL, so you just have to use the URL generator:
-
-```php
-$google2fa->getQRCodeUrl($companyName, $companyEmail, $secretKey)
-```
-
-### Examples of Usage
-
-#### [Google2FA QRCode](https://github.com/antonioribeiro/google2fa-qrcode)
-
-Get a QRCode to be used inline:
-
-```php
-$google2fa = (new \PragmaRX\Google2FAQRCode\Google2FA());
-
-$inlineUrl = $google2fa->getQRCodeInline(
- 'Company Name',
- 'company@email.com',
- $google2fa->generateSecretKey()
-);
-```
-
-And use in your template:
-
-```php
-<img src="{{ $inlineUrl }}">
-```
-
-#### [Simple QrCode](https://www.simplesoftware.io/docs/simple-qrcode)
-
-```php
-<div class="visible-print text-center">
- {!! QrCode::size(100)->generate($google2fa->getQRCodeUrl($companyName, $companyEmail, $secretKey)); !!}
- <p>Scan me to return to the original page.</p>
-</div>
-```
-
-#### [Endroid QR Code Generator](https://github.com/endroid/qr-code)
-
-Generate the data URL
-
-```php
-
-$qrCode = new \Endroid\QrCode\QrCode($value);
-$qrCode->setSize(100);
-$google2fa_url = $qrCode->writeDataUri();
-```
-
-And in your view
-
-```php
-<div class="visible-print text-center">
- {!! $google2fa_url !!}
- <p>Scan me to return to the original page.</p>
-</div>
-```
-
-#### [Bacon/QRCode](https://github.com/Bacon/BaconQrCode)
-
-```php
-<?php
-
-use PragmaRX\Google2FA\Google2FA;
-use BaconQrCode\Renderer\ImageRenderer;
-use BaconQrCode\Renderer\Image\ImagickImageBackEnd;
-use BaconQrCode\Renderer\RendererStyle\RendererStyle;
-use BaconQrCode\Writer;
-
-$google2fa = app(Google2FA::class);
-
-$g2faUrl = $google2fa->getQRCodeUrl(
- 'pragmarx',
- 'google2fa@pragmarx.com',
- $google2fa->generateSecretKey()
-);
-
-$writer = new Writer(
- new ImageRenderer(
- new RendererStyle(400),
- new ImagickImageBackEnd()
- )
-);
-
-$qrcode_image = base64_encode($writer->writeString($g2faUrl));
-```
-
-And show it as an image:
-
-```php
-<img src="data:image/png;base64, <?php echo $qrcode_image; ?> "/>
-```
-
-## Server Time
-
-It's really important that you keep your server time in sync with some NTP server, on Ubuntu you can add this to the crontab:
-
-```bash
-sudo service ntp stop
-sudo ntpd -gq
-sudo service ntp start
-```
-
-## Validation Window
-
-To avoid problems with clocks that are slightly out of sync, we do not check against the current key only but also consider `$window` keys each from the past and future. You can pass `$window` as optional third parameter to `verifyKey`, it defaults to `4`. A new key is generated every 30 seconds, so this window includes keys from the previous two and next two minutes.
-
-```php
-$secret = $request->input('secret');
-
-$window = 8; // 8 keys (respectively 4 minutes) past and future
-
-$valid = $google2fa->verifyKey($user->google2fa_secret, $secret, $window);
-```
-
-An attacker might be able to watch the user entering his credentials and one time key.
-Without further precautions, the key remains valid until it is no longer within the window of the server time. In order to prevent usage of a one time key that has already been used, you can utilize the `verifyKeyNewer` function.
-
-```php
-$secret = $request->input('secret');
-
-$timestamp = $google2fa->verifyKeyNewer($user->google2fa_secret, $secret, $user->google2fa_ts);
-
-if ($timestamp !== false) {
- $user->update(['google2fa_ts' => $timestamp]);
- // successful
-} else {
- // failed
-}
-```
-
-Note that `$timestamp` either `false` (if the key is invalid or has been used before) or the provided key's unix timestamp divided by the key regeneration period of 30 seconds.
-
-## Using a Bigger and Prefixing the Secret Key
-
-Although the probability of collision of a 16 bytes (128 bits) random string is very low, you can harden it by:
-
-#### Use a bigger key
-
-```php
-$secretKey = $google2fa->generateSecretKey(32); // defaults to 16 bytes
-```
-
-#### You can prefix your secret keys
-
-You may prefix your secret keys, but you have to understand that, as your secret key must have length in power of 2, your prefix will have to have a complementary size. So if your key is 16 bytes long, if you add a prefix it must be also 16 bytes long, but as your prefixes will be converted to base 32, the max length of your prefix is 10 bytes. So, those are the sizes you can use in your prefixes:
-
-```
-1, 2, 5, 10, 20, 40, 80...
-```
-
-And it can be used like so:
-
-```php
-$prefix = strpad($userId, 10, 'X');
-
-$secretKey = $google2fa->generateSecretKey(16, $prefix);
-```
-
-#### Window
-
-The Window property defines how long a OTP will work, or how many cycles it will last. A key has a 30 seconds cycle, setting the window to 0 will make the key lasts for those 30 seconds, setting it to 2 will make it last for 120 seconds. This is how you set the window:
-
-```php
-$secretKey = $google2fa->setWindow(4);
-```
-
-But you can also set the window while checking the key. If you need to set a window of 4 during key verification, this is how you do:
-
-```php
-$isValid = $google2fa->verifyKey($seed, $key, 4);
-```
-
-#### Key Regeneration Interval
-
-You can change key regeneration interval, which defaults to 30 seconds, but remember that this is a default value on most authentication apps, like Google Authenticator, which will, basically, make your app out of sync with them.
-
-```php
-$google2fa->setKeyRegeneration(40);
-```
-
-## Google Authenticator secret key compatibility
-
-To be compatible with Google Authenticator, your (converted to base 32) secret key length must be at least 8 chars and be a power of 2: 8, 16, 32, 64...
-
-So, to prevent errors, you can do something like this while generating it:
-
-```php
-$secretKey = '123456789';
-
-$secretKey = str_pad($secretKey, pow(2,ceil(log(strlen($secretKey),2))), 'X');
-```
-
-And it will generate
-
-```
-123456789XXXXXXX
-```
-
-By default, this package will enforce compatibility, but, if Google Authenticator is not a target, you can disable it by doing
-
-```php
-$google2fa->setEnforceGoogleAuthenticatorCompatibility(false);
-```
-
-## Google Authenticator Apps:
-
-To use the two factor authentication, your user will have to install a Google Authenticator compatible app, those are some of the currently available:
-
-* [Authy for iOS, Android, Chrome, OS X](https://www.authy.com/)
-* [FreeOTP for iOS, Android and Pebble](https://apps.getpebble.com/en_US/application/52f1a4c3c4117252f9000bb8)
-* [Google Authenticator for iOS](https://itunes.apple.com/us/app/google-authenticator/id388497605?mt=8)
-* [Google Authenticator for Android](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2)
-* [Google Authenticator (port) on Windows Store](https://www.microsoft.com/en-us/store/p/google-authenticator/9wzdncrdnkrf)
-* [Microsoft Authenticator for Windows Phone](https://www.microsoft.com/en-us/store/apps/authenticator/9wzdncrfj3rj)
-* [LastPass Authenticator for iOS, Android, OS X, Windows](https://lastpass.com/auth/)
-* [1Password for iOS, Android, OS X, Windows](https://1password.com)
-
-## Tests
-
-The package tests were written with [PHPUnit](https://phpunit.de/).
-
-## Authors
-
-- [Antonio Carlos Ribeiro](http://twitter.com/iantonioribeiro)
-- [Phil (Orginal author of this class)](https://www.idontplaydarts.com/static/ga.php_.txt)
-- [All Contributors](https://github.com/antonioribeiro/google2fa/graphs/contributors)
-
-## License
-
-Google2FA is licensed under the MIT License - see the [LICENSE](LICENSE.md) file for details.
-
-## Contributing
-
-Pull requests and issues are more than welcome.
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/RELICENSED.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa/RELICENSED.md
deleted file mode 100644
index 28e582d..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/RELICENSED.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Package Relicensed
-
-As per [Issue #100](https://github.com/antonioribeiro/google2fa/issues/100) the relicensing of this package from GPLv3 to MIT was approved by the original developer of the Google2FA class (Phil) and the majority of the contributors, by contributions, of this package.
-
-# Original License
-
-``` php
-/**
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- * PHP Google two-factor authentication module.
- *
- * See https://www.idontplaydarts.com/2011/07/google-totp-two-factor-authentication-for-php/
- * for more details
- *
- * @author Phil
- **/
-```
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.json b/srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.json
deleted file mode 100644
index 3e39337..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
- "name": "pragmarx/google2fa",
- "description": "A One Time Password Authentication package, compatible with Google Authenticator.",
- "keywords": [
- "authentication",
- "two factor authentication",
- "google2fa",
- "2fa"
- ],
- "license": "MIT",
- "authors": [
- {
- "name": "Antonio Carlos Ribeiro",
- "email": "acr@antoniocarlosribeiro.com",
- "role": "Creator & Designer"
- }
- ],
- "require": {
- "php": ">=5.4",
- "paragonie/constant_time_encoding": "~1.0|~2.0",
- "paragonie/random_compat": ">=1",
- "symfony/polyfill-php56": "~1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4|~5|~6|~7|~8"
- },
- "autoload": {
- "psr-4": {
- "PragmaRX\\Google2FA\\": "src/",
- "PragmaRX\\Google2FA\\Tests\\": "tests/"
- }
- },
- "extra": {
- "component": "package",
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "minimum-stability": "dev",
- "prefer-stable": true
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.lock b/srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.lock
deleted file mode 100644
index 47dc98c..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/composer.lock
+++ /dev/null
@@ -1,1755 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
- "This file is @generated automatically"
- ],
- "content-hash": "10981c3ff06d22f2c3baee01bee773d0",
- "packages": [
- {
- "name": "paragonie/constant_time_encoding",
- "version": "v2.2.3",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/constant_time_encoding.git",
- "reference": "55af0dc01992b4d0da7f6372e2eac097bbbaffdb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/55af0dc01992b4d0da7f6372e2eac097bbbaffdb",
- "reference": "55af0dc01992b4d0da7f6372e2eac097bbbaffdb",
- "shasum": ""
- },
- "require": {
- "php": "^7"
- },
- "require-dev": {
- "phpunit/phpunit": "^6|^7",
- "vimeo/psalm": "^1|^2"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "ParagonIE\\ConstantTime\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com",
- "role": "Maintainer"
- },
- {
- "name": "Steve 'Sc00bz' Thomas",
- "email": "steve@tobtu.com",
- "homepage": "https://www.tobtu.com",
- "role": "Original Developer"
- }
- ],
- "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)",
- "keywords": [
- "base16",
- "base32",
- "base32_decode",
- "base32_encode",
- "base64",
- "base64_decode",
- "base64_encode",
- "bin2hex",
- "encoding",
- "hex",
- "hex2bin",
- "rfc4648"
- ],
- "time": "2019-01-03T20:26:31+00:00"
- },
- {
- "name": "paragonie/random_compat",
- "version": "v9.99.99",
- "source": {
- "type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
- "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
- "shasum": ""
- },
- "require": {
- "php": "^7"
- },
- "require-dev": {
- "phpunit/phpunit": "4.*|5.*",
- "vimeo/psalm": "^1"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
- },
- "type": "library",
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com"
- }
- ],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
- "keywords": [
- "csprng",
- "polyfill",
- "pseudorandom",
- "random"
- ],
- "time": "2018-07-02T15:55:56+00:00"
- },
- {
- "name": "symfony/polyfill-php56",
- "version": "v1.12.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-php56.git",
- "reference": "0e3b212e96a51338639d8ce175c046d7729c3403"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php56/zipball/0e3b212e96a51338639d8ce175c046d7729c3403",
- "reference": "0e3b212e96a51338639d8ce175c046d7729c3403",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3",
- "symfony/polyfill-util": "~1.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.12-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Php56\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
- ],
- "time": "2019-08-06T08:03:45+00:00"
- },
- {
- "name": "symfony/polyfill-util",
- "version": "v1.12.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-util.git",
- "reference": "4317de1386717b4c22caed7725350a8887ab205c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-util/zipball/4317de1386717b4c22caed7725350a8887ab205c",
- "reference": "4317de1386717b4c22caed7725350a8887ab205c",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.12-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Util\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Nicolas Grekas",
- "email": "p@tchwork.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony utilities for portability of PHP codes",
- "homepage": "https://symfony.com",
- "keywords": [
- "compat",
- "compatibility",
- "polyfill",
- "shim"
- ],
- "time": "2019-08-06T08:03:45+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "doctrine/instantiator",
- "version": "1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/instantiator.git",
- "reference": "a2c590166b2133a4633738648b6b064edae0814a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a",
- "reference": "a2c590166b2133a4633738648b6b064edae0814a",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "doctrine/coding-standard": "^6.0",
- "ext-pdo": "*",
- "ext-phar": "*",
- "phpbench/phpbench": "^0.13",
- "phpstan/phpstan-phpunit": "^0.11",
- "phpstan/phpstan-shim": "^0.11",
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com",
- "homepage": "http://ocramius.github.com/"
- }
- ],
- "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors",
- "homepage": "https://www.doctrine-project.org/projects/instantiator.html",
- "keywords": [
- "constructor",
- "instantiate"
- ],
- "time": "2019-03-17T17:37:11+00:00"
- },
- {
- "name": "myclabs/deep-copy",
- "version": "1.9.3",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/007c053ae6f31bba39dfa19a7726f56e9763bbea",
- "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "replace": {
- "myclabs/deep-copy": "self.version"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2019-08-09T12:45:53+00:00"
- },
- {
- "name": "phar-io/manifest",
- "version": "1.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/manifest.git",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-phar": "*",
- "phar-io/version": "^2.0",
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)",
- "time": "2018-07-08T19:23:20+00:00"
- },
- {
- "name": "phar-io/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phar-io/version.git",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "email": "arne@blankerts.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Heuer",
- "email": "sebastian@phpeople.de",
- "role": "Developer"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "Developer"
- }
- ],
- "description": "Library for handling version information and constraints",
- "time": "2018-07-08T19:19:57+00:00"
- },
- {
- "name": "phpdocumentor/reflection-common",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionCommon.git",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jaap van Otterdijk",
- "email": "opensource@ijaap.nl"
- }
- ],
- "description": "Common reflection classes used by phpdocumentor to reflect the code structure",
- "homepage": "http://www.phpdoc.org",
- "keywords": [
- "FQSEN",
- "phpDocumentor",
- "phpdoc",
- "reflection",
- "static analysis"
- ],
- "time": "2017-09-11T18:02:19+00:00"
- },
- {
- "name": "phpdocumentor/reflection-docblock",
- "version": "4.3.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
- "reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
- "reference": "bdd9f737ebc2a01c06ea7ff4308ec6697db9b53c",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "phpdocumentor/reflection-common": "^1.0.0",
- "phpdocumentor/type-resolver": "^0.4.0",
- "webmozart/assert": "^1.0"
- },
- "require-dev": {
- "doctrine/instantiator": "~1.0.5",
- "mockery/mockery": "^1.0",
- "phpunit/phpunit": "^6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.",
- "time": "2019-04-30T17:48:53+00:00"
- },
- {
- "name": "phpdocumentor/type-resolver",
- "version": "0.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7",
- "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7",
- "shasum": ""
- },
- "require": {
- "php": "^5.5 || ^7.0",
- "phpdocumentor/reflection-common": "^1.0"
- },
- "require-dev": {
- "mockery/mockery": "^0.9.4",
- "phpunit/phpunit": "^5.2||^4.8.24"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "phpDocumentor\\Reflection\\": [
- "src/"
- ]
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Mike van Riel",
- "email": "me@mikevanriel.com"
- }
- ],
- "time": "2017-07-14T14:27:02+00:00"
- },
- {
- "name": "phpspec/prophecy",
- "version": "1.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/phpspec/prophecy.git",
- "reference": "1927e75f4ed19131ec9bcc3b002e07fb1173ee76"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/phpspec/prophecy/zipball/1927e75f4ed19131ec9bcc3b002e07fb1173ee76",
- "reference": "1927e75f4ed19131ec9bcc3b002e07fb1173ee76",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.0.2",
- "php": "^5.3|^7.0",
- "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0",
- "sebastian/comparator": "^1.1|^2.0|^3.0",
- "sebastian/recursion-context": "^1.0|^2.0|^3.0"
- },
- "require-dev": {
- "phpspec/phpspec": "^2.5|^3.2",
- "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.8.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Prophecy\\": "src/Prophecy"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Konstantin Kudryashov",
- "email": "ever.zet@gmail.com",
- "homepage": "http://everzet.com"
- },
- {
- "name": "Marcello Duarte",
- "email": "marcello.duarte@gmail.com"
- }
- ],
- "description": "Highly opinionated mocking framework for PHP 5.3+",
- "homepage": "https://github.com/phpspec/prophecy",
- "keywords": [
- "Double",
- "Dummy",
- "fake",
- "mock",
- "spy",
- "stub"
- ],
- "time": "2019-06-13T12:50:23+00:00"
- },
- {
- "name": "phpunit/php-code-coverage",
- "version": "7.0.7",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "7743bbcfff2a907e9ee4a25be13d0f8ec5e73800"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7743bbcfff2a907e9ee4a25be13d0f8ec5e73800",
- "reference": "7743bbcfff2a907e9ee4a25be13d0f8ec5e73800",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-xmlwriter": "*",
- "php": "^7.2",
- "phpunit/php-file-iterator": "^2.0.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-token-stream": "^3.1.0",
- "sebastian/code-unit-reverse-lookup": "^1.0.1",
- "sebastian/environment": "^4.2.2",
- "sebastian/version": "^2.0.1",
- "theseer/tokenizer": "^1.1.3"
- },
- "require-dev": {
- "phpunit/phpunit": "^8.2.2"
- },
- "suggest": {
- "ext-xdebug": "^2.7.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "7.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.",
- "homepage": "https://github.com/sebastianbergmann/php-code-coverage",
- "keywords": [
- "coverage",
- "testing",
- "xunit"
- ],
- "time": "2019-07-25T05:31:54+00:00"
- },
- {
- "name": "phpunit/php-file-iterator",
- "version": "2.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
- "reference": "050bedf145a257b1ff02746c31894800e5122946"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946",
- "reference": "050bedf145a257b1ff02746c31894800e5122946",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "FilterIterator implementation that filters files based on a list of suffixes.",
- "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
- "keywords": [
- "filesystem",
- "iterator"
- ],
- "time": "2018-09-13T20:33:42+00:00"
- },
- {
- "name": "phpunit/php-text-template",
- "version": "1.2.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-text-template.git",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Simple template engine.",
- "homepage": "https://github.com/sebastianbergmann/php-text-template/",
- "keywords": [
- "template"
- ],
- "time": "2015-06-21T13:50:34+00:00"
- },
- {
- "name": "phpunit/php-timer",
- "version": "2.1.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-timer.git",
- "reference": "1038454804406b0b5f5f520358e78c1c2f71501e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e",
- "reference": "1038454804406b0b5f5f520358e78c1c2f71501e",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Utility class for timing",
- "homepage": "https://github.com/sebastianbergmann/php-timer/",
- "keywords": [
- "timer"
- ],
- "time": "2019-06-07T04:22:29+00:00"
- },
- {
- "name": "phpunit/php-token-stream",
- "version": "3.1.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/php-token-stream.git",
- "reference": "e899757bb3df5ff6e95089132f32cd59aac2220a"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e899757bb3df5ff6e95089132f32cd59aac2220a",
- "reference": "e899757bb3df5ff6e95089132f32cd59aac2220a",
- "shasum": ""
- },
- "require": {
- "ext-tokenizer": "*",
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Wrapper around PHP's tokenizer extension.",
- "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
- "keywords": [
- "tokenizer"
- ],
- "time": "2019-07-25T05:29:42+00:00"
- },
- {
- "name": "phpunit/phpunit",
- "version": "8.3.4",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "e31cce0cf4499c0ccdbbb211a3280d36ab341e36"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/e31cce0cf4499c0ccdbbb211a3280d36ab341e36",
- "reference": "e31cce0cf4499c0ccdbbb211a3280d36ab341e36",
- "shasum": ""
- },
- "require": {
- "doctrine/instantiator": "^1.2.0",
- "ext-dom": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "ext-xmlwriter": "*",
- "myclabs/deep-copy": "^1.9.1",
- "phar-io/manifest": "^1.0.3",
- "phar-io/version": "^2.0.1",
- "php": "^7.2",
- "phpspec/prophecy": "^1.8.1",
- "phpunit/php-code-coverage": "^7.0.7",
- "phpunit/php-file-iterator": "^2.0.2",
- "phpunit/php-text-template": "^1.2.1",
- "phpunit/php-timer": "^2.1.2",
- "sebastian/comparator": "^3.0.2",
- "sebastian/diff": "^3.0.2",
- "sebastian/environment": "^4.2.2",
- "sebastian/exporter": "^3.1.0",
- "sebastian/global-state": "^3.0.0",
- "sebastian/object-enumerator": "^3.0.3",
- "sebastian/resource-operations": "^2.0.1",
- "sebastian/type": "^1.1.3",
- "sebastian/version": "^2.0.1"
- },
- "require-dev": {
- "ext-pdo": "*"
- },
- "suggest": {
- "ext-soap": "*",
- "ext-xdebug": "*",
- "phpunit/php-invoker": "^2.0.0"
- },
- "bin": [
- "phpunit"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "8.3-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "The PHP Unit Testing framework.",
- "homepage": "https://phpunit.de/",
- "keywords": [
- "phpunit",
- "testing",
- "xunit"
- ],
- "time": "2019-08-11T06:56:55+00:00"
- },
- {
- "name": "sebastian/code-unit-reverse-lookup",
- "version": "1.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^5.7 || ^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Looks up which function or method a line of code belongs to",
- "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/",
- "time": "2017-03-04T06:30:41+00:00"
- },
- {
- "name": "sebastian/comparator",
- "version": "3.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/comparator.git",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da",
- "shasum": ""
- },
- "require": {
- "php": "^7.1",
- "sebastian/diff": "^3.0",
- "sebastian/exporter": "^3.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@2bepublished.at"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides the functionality to compare PHP values for equality",
- "homepage": "https://github.com/sebastianbergmann/comparator",
- "keywords": [
- "comparator",
- "compare",
- "equality"
- ],
- "time": "2018-07-12T15:12:46+00:00"
- },
- {
- "name": "sebastian/diff",
- "version": "3.0.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/diff.git",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.5 || ^8.0",
- "symfony/process": "^2 || ^3.3 || ^4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Kore Nordmann",
- "email": "mail@kore-nordmann.de"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Diff implementation",
- "homepage": "https://github.com/sebastianbergmann/diff",
- "keywords": [
- "diff",
- "udiff",
- "unidiff",
- "unified diff"
- ],
- "time": "2019-02-04T06:01:07+00:00"
- },
- {
- "name": "sebastian/environment",
- "version": "4.2.2",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/environment.git",
- "reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/f2a2c8e1c97c11ace607a7a667d73d47c19fe404",
- "reference": "f2a2c8e1c97c11ace607a7a667d73d47c19fe404",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "require-dev": {
- "phpunit/phpunit": "^7.5"
- },
- "suggest": {
- "ext-posix": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "4.2-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides functionality to handle HHVM/PHP environments",
- "homepage": "http://www.github.com/sebastianbergmann/environment",
- "keywords": [
- "Xdebug",
- "environment",
- "hhvm"
- ],
- "time": "2019-05-05T09:05:15+00:00"
- },
- {
- "name": "sebastian/exporter",
- "version": "3.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/exporter.git",
- "reference": "06a9a5947f47b3029d76118eb5c22802e5869687"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/06a9a5947f47b3029d76118eb5c22802e5869687",
- "reference": "06a9a5947f47b3029d76118eb5c22802e5869687",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-mbstring": "*",
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.1.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Volker Dusch",
- "email": "github@wallbash.com"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- },
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Provides the functionality to export PHP variables for visualization",
- "homepage": "http://www.github.com/sebastianbergmann/exporter",
- "keywords": [
- "export",
- "exporter"
- ],
- "time": "2019-08-11T12:43:14+00:00"
- },
- {
- "name": "sebastian/global-state",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/global-state.git",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
- "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4",
- "shasum": ""
- },
- "require": {
- "php": "^7.2",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "ext-dom": "*",
- "phpunit/phpunit": "^8.0"
- },
- "suggest": {
- "ext-uopz": "*"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Snapshotting of global state",
- "homepage": "http://www.github.com/sebastianbergmann/global-state",
- "keywords": [
- "global state"
- ],
- "time": "2019-02-01T05:30:01+00:00"
- },
- {
- "name": "sebastian/object-enumerator",
- "version": "3.0.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-enumerator.git",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "reference": "7cfd9e65d11ffb5af41198476395774d4c8a84c5",
- "shasum": ""
- },
- "require": {
- "php": "^7.0",
- "sebastian/object-reflector": "^1.1.1",
- "sebastian/recursion-context": "^3.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Traverses array structures and object graphs to enumerate all referenced objects",
- "homepage": "https://github.com/sebastianbergmann/object-enumerator/",
- "time": "2017-08-03T12:35:26+00:00"
- },
- {
- "name": "sebastian/object-reflector",
- "version": "1.1.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/object-reflector.git",
- "reference": "773f97c67f28de00d397be301821b06708fca0be"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/773f97c67f28de00d397be301821b06708fca0be",
- "reference": "773f97c67f28de00d397be301821b06708fca0be",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Allows reflection of object attributes, including inherited and non-public ones",
- "homepage": "https://github.com/sebastianbergmann/object-reflector/",
- "time": "2017-03-29T09:07:27+00:00"
- },
- {
- "name": "sebastian/recursion-context",
- "version": "3.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/recursion-context.git",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "reference": "5b0cd723502bac3b006cbf3dbf7a1e3fcefe4fa8",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Jeff Welch",
- "email": "whatthejeff@gmail.com"
- },
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- },
- {
- "name": "Adam Harvey",
- "email": "aharvey@php.net"
- }
- ],
- "description": "Provides functionality to recursively process PHP variables",
- "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
- "time": "2017-03-03T06:23:57+00:00"
- },
- {
- "name": "sebastian/resource-operations",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/resource-operations.git",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9",
- "shasum": ""
- },
- "require": {
- "php": "^7.1"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de"
- }
- ],
- "description": "Provides a list of PHP built-in functions that operate on resources",
- "homepage": "https://www.github.com/sebastianbergmann/resource-operations",
- "time": "2018-10-04T04:07:39+00:00"
- },
- {
- "name": "sebastian/type",
- "version": "1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/type.git",
- "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/3aaaa15fa71d27650d62a948be022fe3b48541a3",
- "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3",
- "shasum": ""
- },
- "require": {
- "php": "^7.2"
- },
- "require-dev": {
- "phpunit/phpunit": "^8.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.1-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Collection of value objects that represent the types of the PHP type system",
- "homepage": "https://github.com/sebastianbergmann/type",
- "time": "2019-07-02T08:10:15+00:00"
- },
- {
- "name": "sebastian/version",
- "version": "2.0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/sebastianbergmann/version.git",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019",
- "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019",
- "shasum": ""
- },
- "require": {
- "php": ">=5.6"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.0.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Sebastian Bergmann",
- "email": "sebastian@phpunit.de",
- "role": "lead"
- }
- ],
- "description": "Library that helps with managing the version number of Git-hosted PHP projects",
- "homepage": "https://github.com/sebastianbergmann/version",
- "time": "2016-10-03T07:35:21+00:00"
- },
- {
- "name": "symfony/polyfill-ctype",
- "version": "v1.12.0",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
- "reference": "550ebaac289296ce228a706d0867afc34687e3f4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "suggest": {
- "ext-ctype": "For best performance"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.12-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Polyfill\\Ctype\\": ""
- },
- "files": [
- "bootstrap.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Gert de Pagter",
- "email": "BackEndTea@gmail.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony polyfill for ctype functions",
- "homepage": "https://symfony.com",
- "keywords": [
- "compatibility",
- "ctype",
- "polyfill",
- "portable"
- ],
- "time": "2019-08-06T08:03:45+00:00"
- },
- {
- "name": "theseer/tokenizer",
- "version": "1.1.3",
- "source": {
- "type": "git",
- "url": "https://github.com/theseer/tokenizer.git",
- "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9",
- "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9",
- "shasum": ""
- },
- "require": {
- "ext-dom": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": "^7.0"
- },
- "type": "library",
- "autoload": {
- "classmap": [
- "src/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Arne Blankerts",
- "role": "Developer",
- "email": "arne@blankerts.de"
- }
- ],
- "description": "A small library for converting tokenized PHP source code into XML and potentially other formats",
- "time": "2019-06-13T22:48:21+00:00"
- },
- {
- "name": "webmozart/assert",
- "version": "1.5.0",
- "source": {
- "type": "git",
- "url": "https://github.com/webmozart/assert.git",
- "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4",
- "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4",
- "shasum": ""
- },
- "require": {
- "php": "^5.3.3 || ^7.0",
- "symfony/polyfill-ctype": "^1.8"
- },
- "require-dev": {
- "phpunit/phpunit": "^4.8.36 || ^7.5.13"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Webmozart\\Assert\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Bernhard Schussek",
- "email": "bschussek@gmail.com"
- }
- ],
- "description": "Assertions to validate method input/output with nice error messages.",
- "keywords": [
- "assert",
- "check",
- "validate"
- ],
- "time": "2019-08-24T08:43:50+00:00"
- }
- ],
- "aliases": [],
- "minimum-stability": "dev",
- "stability-flags": [],
- "prefer-stable": true,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.4"
- },
- "platform-dev": []
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/docs/playground.jpg b/srcs/phpmyadmin/vendor/pragmarx/google2fa/docs/playground.jpg
deleted file mode 100644
index 0561403..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/docs/playground.jpg
+++ /dev/null
Binary files differ
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/phpunit.xml b/srcs/phpmyadmin/vendor/pragmarx/google2fa/phpunit.xml
deleted file mode 100644
index 79ac51d..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/phpunit.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<phpunit backupGlobals="false"
- backupStaticAttributes="false"
- bootstrap="tests/bootstrap.php"
- colors="true"
- convertErrorsToExceptions="true"
- convertNoticesToExceptions="true"
- convertWarningsToExceptions="true"
- processIsolation="false"
- stopOnError="false"
- stopOnFailure="false"
- verbose="true"
->
- <testsuites>
- <testsuite name="Laravel Test Suite">
- <directory suffix="Test.php">./tests</directory>
- </testsuite>
- </testsuites>
-
- <logging>
- <log type="coverage-html" target="coverage/" lowUpperBound="35" highLowerBound="70"/>
- <log type="coverage-clover" target="coverage/coverage-clover.xml" lowUpperBound="35" highLowerBound="70"/>
- <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
- </logging>
-
- <filter>
- <whitelist addUncoveredFilesFromWhitelist="true" processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">./src</directory>
- <exclude></exclude>
- </whitelist>
- </filter>
-</phpunit>
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/Google2FA.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/Google2FA.php
deleted file mode 100644
index b9d5c15..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/Google2FA.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions\Contracts;
-
-interface Google2FA
-{
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/IncompatibleWithGoogleAuthenticator.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/IncompatibleWithGoogleAuthenticator.php
deleted file mode 100644
index f7cffb2..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/IncompatibleWithGoogleAuthenticator.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions\Contracts;
-
-interface IncompatibleWithGoogleAuthenticator
-{
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/InvalidCharacters.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/InvalidCharacters.php
deleted file mode 100644
index 889db2f..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/InvalidCharacters.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions\Contracts;
-
-interface InvalidCharacters
-{
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/SecretKeyTooShort.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/SecretKeyTooShort.php
deleted file mode 100644
index 726ada7..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Contracts/SecretKeyTooShort.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions\Contracts;
-
-interface SecretKeyTooShort
-{
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Google2FAException.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Google2FAException.php
deleted file mode 100644
index e97c72a..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/Google2FAException.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions;
-
-use Exception;
-use PragmaRX\Google2FA\Exceptions\Contracts\Google2FA as Google2FAExceptionContract;
-
-class Google2FAException extends Exception implements Google2FAExceptionContract
-{
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/IncompatibleWithGoogleAuthenticatorException.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/IncompatibleWithGoogleAuthenticatorException.php
deleted file mode 100644
index c850ad5..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/IncompatibleWithGoogleAuthenticatorException.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions;
-
-use Exception;
-use PragmaRX\Google2FA\Exceptions\Contracts\Google2FA as Google2FAExceptionContract;
-use PragmaRX\Google2FA\Exceptions\Contracts\IncompatibleWithGoogleAuthenticator as IncompatibleWithGoogleAuthenticatorExceptionContract;
-
-class IncompatibleWithGoogleAuthenticatorException extends Google2FAException implements Google2FAExceptionContract, IncompatibleWithGoogleAuthenticatorExceptionContract
-{
- protected $message = 'This secret key is not compatible with Google Authenticator.';
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/InvalidCharactersException.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/InvalidCharactersException.php
deleted file mode 100644
index 33973bd..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/InvalidCharactersException.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions;
-
-use Exception;
-use PragmaRX\Google2FA\Exceptions\Contracts\Google2FA as Google2FAExceptionContract;
-use PragmaRX\Google2FA\Exceptions\Contracts\InvalidCharacters as InvalidCharactersExceptionContract;
-
-class InvalidCharactersException extends Google2FAException implements Google2FAExceptionContract, InvalidCharactersExceptionContract
-{
- protected $message = 'Invalid characters in the base32 string.';
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/SecretKeyTooShortException.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/SecretKeyTooShortException.php
deleted file mode 100644
index 3a5150c..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Exceptions/SecretKeyTooShortException.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Exceptions;
-
-use Exception;
-use PragmaRX\Google2FA\Exceptions\Contracts\Google2FA as Google2FAExceptionContract;
-use PragmaRX\Google2FA\Exceptions\Contracts\SecretKeyTooShort as SecretKeyTooShortExceptionContract;
-
-class SecretKeyTooShortException extends Google2FAException implements Google2FAExceptionContract, SecretKeyTooShortExceptionContract
-{
- protected $message = 'Secret key is too short. Must be at least 16 base32 characters';
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Google2FA.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Google2FA.php
deleted file mode 100644
index 67dbccd..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Google2FA.php
+++ /dev/null
@@ -1,418 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA;
-
-use PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException;
-use PragmaRX\Google2FA\Support\Base32;
-use PragmaRX\Google2FA\Support\Constants;
-use PragmaRX\Google2FA\Support\QRCode;
-
-class Google2FA
-{
- use QRCode, Base32;
-
- /**
- * Length of the Token generated.
- */
- protected $oneTimePasswordLength = 6;
-
- /**
- * Interval between key regeneration.
- */
- protected $keyRegeneration = 30;
-
- /**
- * Secret.
- */
- protected $secret;
-
- /**
- * Window.
- */
- protected $window = 1; // Keys will be valid for 60 seconds
-
- /**
- * Find a valid One Time Password.
- *
- * @param $secret
- * @param $key
- * @param $window
- * @param $startingTimestamp
- * @param $timestamp
- * @param string $oldTimestamp
- *
- * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException
- * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException
- * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return bool
- */
- public function findValidOTP(
- $secret,
- $key,
- $window,
- $startingTimestamp,
- $timestamp,
- $oldTimestamp = Constants::ARGUMENT_NOT_SET
- ) {
- for (
- ;
- $startingTimestamp <= $timestamp + $this->getWindow($window);
- $startingTimestamp++
- ) {
- if (
- hash_equals($this->oathHotp($secret, $startingTimestamp), $key)
- ) {
- return $oldTimestamp === Constants::ARGUMENT_NOT_SET
- ? true
- : $startingTimestamp;
- }
- }
-
- return false;
- }
-
- /**
- * Generate a digit secret key in base32 format.
- *
- * @param int $length
- * @param string $prefix
- *
- * @throws Exceptions\InvalidCharactersException
- * @throws Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return string
- */
- public function generateSecretKey($length = 16, $prefix = '')
- {
- return $this->generateBase32RandomKey($length, $prefix);
- }
-
- /**
- * Get the current one time password for a key.
- *
- * @param $secret
- *
- * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException
- * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException
- * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return string
- */
- public function getCurrentOtp($secret)
- {
- return $this->oathHotp($secret, $this->getTimestamp());
- }
-
- /**
- * Get key regeneration.
- *
- * @return mixed
- */
- public function getKeyRegeneration()
- {
- return $this->keyRegeneration;
- }
-
- /**
- * Get OTP length.
- *
- * @return mixed
- */
- public function getOneTimePasswordLength()
- {
- return $this->oneTimePasswordLength;
- }
-
- /**
- * Get secret.
- *
- * @param string|null $secret
- *
- * @return mixed
- */
- public function getSecret($secret = null)
- {
- return is_null($secret) ? $this->secret : $secret;
- }
-
- /**
- * Returns the current Unix Timestamp divided by the $keyRegeneration
- * period.
- *
- * @return int
- **/
- public function getTimestamp()
- {
- return (int) floor(microtime(true) / $this->keyRegeneration);
- }
-
- /**
- * Get the OTP window.
- *
- * @param null|int $window
- *
- * @return mixed
- */
- public function getWindow($window = null)
- {
- return is_null($window) ? $this->window : $window;
- }
-
- /**
- * Make a window based starting timestamp.
- *
- * @param $window
- * @param $timestamp
- * @param $oldTimestamp
- *
- * @return mixed
- */
- private function makeStartingTimestamp($window, $timestamp, $oldTimestamp)
- {
- return $oldTimestamp === Constants::ARGUMENT_NOT_SET
- ? $timestamp - $this->getWindow($window)
- : max($timestamp - $this->getWindow($window), $oldTimestamp + 1);
- }
-
- /**
- * Get/use a starting timestamp for key verification.
- *
- * @param string|int|null $timestamp
- *
- * @return int
- */
- protected function makeTimestamp($timestamp = null)
- {
- if (is_null($timestamp)) {
- return $this->getTimestamp();
- }
-
- return (int) $timestamp;
- }
-
- /**
- * Takes the secret key and the timestamp and returns the one time
- * password.
- *
- * @param string $secret - Secret key in binary form.
- * @param int $counter - Timestamp as returned by getTimestamp.
- *
- * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException
- * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException
- * @throws Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return string
- */
- public function oathHotp($secret, $counter)
- {
- $secret = $this->base32Decode($this->getSecret($secret));
-
- if (strlen($secret) < 8) {
- throw new SecretKeyTooShortException();
- }
-
- // Counter must be 64-bit int
- $bin_counter = pack('N*', 0, $counter);
-
- $hash = hash_hmac('sha1', $bin_counter, $secret, true);
-
- return str_pad(
- $this->oathTruncate($hash),
- $this->getOneTimePasswordLength(),
- '0',
- STR_PAD_LEFT
- );
- }
-
- /**
- * Extracts the OTP from the SHA1 hash.
- *
- * @param string $hash
- *
- * @return int
- **/
- public function oathTruncate($hash)
- {
- $offset = ord($hash[19]) & 0xf;
-
- $temp = unpack('N', substr($hash, $offset, 4));
-
- return substr(
- $temp[1] & 0x7fffffff,
- -$this->getOneTimePasswordLength()
- );
- }
-
- /**
- * Remove invalid chars from a base 32 string.
- *
- * @param $string
- *
- * @return mixed
- */
- public function removeInvalidChars($string)
- {
- return preg_replace(
- '/[^' . Constants::VALID_FOR_B32 . ']/',
- '',
- $string
- );
- }
-
- /**
- * Setter for the enforce Google Authenticator compatibility property.
- *
- * @param mixed $enforceGoogleAuthenticatorCompatibility
- *
- * @return $this
- */
- public function setEnforceGoogleAuthenticatorCompatibility(
- $enforceGoogleAuthenticatorCompatibility
- ) {
- $this->enforceGoogleAuthenticatorCompatibility = $enforceGoogleAuthenticatorCompatibility;
-
- return $this;
- }
-
- /**
- * Set key regeneration.
- *
- * @param mixed $keyRegeneration
- */
- public function setKeyRegeneration($keyRegeneration)
- {
- $this->keyRegeneration = $keyRegeneration;
- }
-
- /**
- * Set OTP length.
- *
- * @param mixed $oneTimePasswordLength
- */
- public function setOneTimePasswordLength($oneTimePasswordLength)
- {
- $this->oneTimePasswordLength = $oneTimePasswordLength;
- }
-
- /**
- * Set secret.
- *
- * @param mixed $secret
- */
- public function setSecret($secret)
- {
- $this->secret = $secret;
- }
-
- /**
- * Set the OTP window.
- *
- * @param mixed $window
- */
- public function setWindow($window)
- {
- $this->window = $window;
- }
-
- /**
- * Verifies a user inputted key against the current timestamp. Checks $window
- * keys either side of the timestamp.
- *
- * @param string $key - User specified key
- * @param null|string $secret
- * @param null|int $window
- * @param null|int $timestamp
- * @param null|string|int $oldTimestamp
- *
- * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException
- * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException
- * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return bool|int
- */
- public function verify(
- $key,
- $secret = null,
- $window = null,
- $timestamp = null,
- $oldTimestamp = Constants::ARGUMENT_NOT_SET
- ) {
- return $this->verifyKey(
- $secret,
- $key,
- $window,
- $timestamp,
- $oldTimestamp
- );
- }
-
- /**
- * Verifies a user inputted key against the current timestamp. Checks $window
- * keys either side of the timestamp.
- *
- * @param string $secret
- * @param string $key - User specified key
- * @param null|int $window
- * @param null|int $timestamp
- * @param null|string|int $oldTimestamp
- *
- * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException
- * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException
- * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return bool|int
- */
- public function verifyKey(
- $secret,
- $key,
- $window = null,
- $timestamp = null,
- $oldTimestamp = Constants::ARGUMENT_NOT_SET
- ) {
- $timestamp = $this->makeTimestamp($timestamp);
-
- return $this->findValidOTP(
- $secret,
- $key,
- $window,
- $this->makeStartingTimestamp($window, $timestamp, $oldTimestamp),
- $timestamp,
- $oldTimestamp
- );
- }
-
- /**
- * Verifies a user inputted key against the current timestamp. Checks $window
- * keys either side of the timestamp, but ensures that the given key is newer than
- * the given oldTimestamp. Useful if you need to ensure that a single key cannot
- * be used twice.
- *
- * @param string $secret
- * @param string $key - User specified key
- * @param int $oldTimestamp - The timestamp from the last verified key
- * @param int|null $window
- * @param int|null $timestamp
- *
- * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException
- * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException
- * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException
- *
- * @return bool|int - false (not verified) or the timestamp of the verified key
- */
- public function verifyKeyNewer(
- $secret,
- $key,
- $oldTimestamp,
- $window = null,
- $timestamp = null
- ) {
- return $this->verifyKey(
- $secret,
- $key,
- $window,
- $timestamp,
- $oldTimestamp
- );
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Base32.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Base32.php
deleted file mode 100644
index ce5cbb6..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Base32.php
+++ /dev/null
@@ -1,202 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Support;
-
-use ParagonIE\ConstantTime\Base32 as ParagonieBase32;
-use PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException;
-use PragmaRX\Google2FA\Exceptions\InvalidCharactersException;
-use PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException;
-
-trait Base32
-{
- /**
- * Enforce Google Authenticator compatibility.
- */
- protected $enforceGoogleAuthenticatorCompatibility = true;
-
- /**
- * Calculate char count bits.
- *
- * @param $b32
- * @return float|int
- */
- protected function charCountBits($b32)
- {
- return (strlen($b32) * 8);
- }
-
- /**
- * Generate a digit secret key in base32 format.
- *
- * @param int $length
- * @param string $prefix
- *
- * @throws IncompatibleWithGoogleAuthenticatorException
- * @throws InvalidCharactersException
- *
- * @return string
- */
- public function generateBase32RandomKey($length = 16, $prefix = '')
- {
- $secret = $prefix ? $this->toBase32($prefix) : '';
-
- $secret = $this->strPadBase32($secret, $length);
-
- $this->validateSecret($secret);
-
- return $secret;
- }
-
- /**
- * Decodes a base32 string into a binary string.
- *
- * @param string $b32
- *
- * @throws InvalidCharactersException
- * @throws IncompatibleWithGoogleAuthenticatorException
- *
- * @return int
- */
- public function base32Decode($b32)
- {
- $b32 = strtoupper($b32);
-
- $this->validateSecret($b32);
-
- return ParagonieBase32::decodeUpper($b32);
- }
-
- /**
- * Check if the string length is power of two.
- *
- * @param $b32
- * @return bool
- */
- protected function isCharCountNotAPowerOfTwo($b32): bool
- {
- return (strlen($b32) & (strlen($b32) - 1)) !== 0;
- }
-
- /**
- * Pad string with random base 32 chars.
- *
- * @param $string
- * @param $length
- *
- * @throws \Exception
- *
- * @return string
- */
- private function strPadBase32($string, $length)
- {
- for ($i = 0; $i < $length; $i++) {
- $string .= substr(
- Constants::VALID_FOR_B32_SCRAMBLED,
- $this->getRandomNumber(),
- 1
- );
- }
-
- return $string;
- }
-
- /**
- * Encode a string to Base32.
- *
- * @param $string
- *
- * @return mixed
- */
- public function toBase32($string)
- {
- $encoded = ParagonieBase32::encodeUpper($string);
-
- return str_replace('=', '', $encoded);
- }
-
- /**
- * Get a random number.
- *
- * @param $from
- * @param $to
- *
- * @throws \Exception
- *
- * @return int
- */
- protected function getRandomNumber($from = 0, $to = 31)
- {
- return random_int($from, $to);
- }
-
- /**
- * Validate the secret.
- *
- * @param $b32
- *
- * @throws IncompatibleWithGoogleAuthenticatorException
- * @throws InvalidCharactersException
- */
- protected function validateSecret($b32)
- {
- $this->checkForValidCharacters($b32);
-
- $this->checkGoogleAuthenticatorCompatibility($b32);
-
- $this->checkIsBigEnough($b32);
- }
-
- /**
- * Check if the secret key is compatible with Google Authenticator.
- *
- * @param $b32
- *
- * @throws IncompatibleWithGoogleAuthenticatorException
- */
- protected function checkGoogleAuthenticatorCompatibility($b32)
- {
- if (
- $this->enforceGoogleAuthenticatorCompatibility &&
- $this->isCharCountNotAPowerOfTwo($b32) // Google Authenticator requires it to be a power of 2 base32 length string
- ) {
- throw new IncompatibleWithGoogleAuthenticatorException();
- }
- }
-
- /**
- * Check if all secret key characters are valid.
- *
- * @param $b32
- *
- * @throws InvalidCharactersException
- */
- protected function checkForValidCharacters($b32)
- {
- if (
- preg_replace('/[^' . Constants::VALID_FOR_B32 . ']/', '', $b32) !==
- $b32
- ) {
- throw new InvalidCharactersException();
- }
- }
-
- /**
- * Check if secret key length is big enough
- *
- * @param $b32
- *
- * @throws InvalidCharactersException
- */
- protected function checkIsBigEnough($b32)
- {
- // Minimum = 128 bits
- // Recommended = 160 bits
- // Compatible with Google Authenticator = 256 bits
-
- if (
- $this->charCountBits($b32) < 128
- ) {
- throw new SecretKeyTooShortException();
- }
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Constants.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Constants.php
deleted file mode 100644
index ba37e62..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Constants.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Support;
-
-class Constants
-{
- /**
- * Characters valid for Base 32.
- */
- const VALID_FOR_B32 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567';
-
- /**
- * Characters valid for Base 32, scrambled.
- */
- const VALID_FOR_B32_SCRAMBLED = '234567QWERTYUIOPASDFGHJKLZXCVBNM';
-
- /**
- * Argument not set constant.
- */
- const ARGUMENT_NOT_SET = '__not_set__';
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php
deleted file mode 100644
index 01fbe29..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/QRCode.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Support;
-
-trait QRCode
-{
- /**
- * Creates a QR code url.
- *
- * @param $company
- * @param $holder
- * @param $secret
- *
- * @return string
- */
- public function getQRCodeUrl($company, $holder, $secret)
- {
- return 'otpauth://totp/' .
- rawurlencode($company) .
- ':' .
- rawurlencode($holder) .
- '?secret=' .
- $secret .
- '&issuer=' .
- rawurlencode($company) .
- '';
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Url.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Url.php
deleted file mode 100644
index b761b16..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/src/Support/Url.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Support;
-
-class Url
-{
- public static function generateGoogleQRCodeUrl(
- $domain,
- $page,
- $queryParameters,
- $qrCodeUrl
- ) {
- $url =
- $domain .
- rawurlencode($page) .
- '?' .
- $queryParameters .
- urlencode($qrCodeUrl);
-
- return $url;
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/.gitkeep b/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/.gitkeep
+++ /dev/null
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Constants.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Constants.php
deleted file mode 100644
index 36f0ff8..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Constants.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Tests;
-
-class Constants
-{
- const SECRET = 'ADUMJO5634NPDEKW';
-
- const SHORT_SECRET = 'ADUMJO5';
-
- const INVALID_SECRET = 'DUMJO5634NPDEKX@';
-
- const WRONG_SECRET = 'ADUMJO5634NPDEKX';
-
- const URL = 'https://chart.googleapis.com/chart?chs=200x200&chld=M|0&cht=qr&chl=otpauth%3A%2F%2Ftotp%2FPragmaRX%3Aacr%252Bpragmarx%2540antoniocarlosribeiro.com%3Fsecret%3DADUMJO5634NPDEKW%26issuer%3DPragmaRX';
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Google2FATest.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Google2FATest.php
deleted file mode 100644
index 1fd0474..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/Google2FATest.php
+++ /dev/null
@@ -1,524 +0,0 @@
-<?php
-
-namespace PragmaRX\Google2FA\Tests;
-
-use PHPUnit\Framework\TestCase;
-use PragmaRX\Google2FA\Google2FA;
-use PragmaRX\Google2FA\Support\Constants as Google2FAConstants;
-
-class Google2FATest extends TestCase
-{
- public function setUp(): void
- {
- $this->google2fa = new Google2FA();
- }
-
- public function testIsInitializable()
- {
- $this->assertInstanceOf(
- 'PragmaRX\Google2FA\Google2FA',
- $this->google2fa
- );
- }
-
- public function testGeneratesAValidSecretKey()
- {
- $this->assertEquals(16, strlen($this->google2fa->generateSecretKey()));
-
- $this->assertEquals(
- 32,
- strlen($this->google2fa->generateSecretKey(32))
- );
-
- $this->assertStringStartsWith(
- 'MFXHI',
- $this->google2fa->generateSecretKey(59, 'ant')
- );
-
- $this->assertStringStartsWith(
- 'MFXHI',
- $this->google2fa->generateSecretKey(59, 'ant')
- );
-
- $this->assertEquals(
- $key = $this->google2fa->generateSecretKey(),
- preg_replace(
- '/[^' . Google2FAConstants::VALID_FOR_B32 . ']/',
- '',
- $key
- )
- );
- }
-
- public function testGeneratesASecretKeysCompatibleWithGoogleAuthenticator()
- {
- $this->assertEquals($size = 16, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size))); /// minimum = 128 bits
- $this->assertEquals($size = 20, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(false)->generateSecretKey($size))); /// recommended = 160 bits - not compatible
- $this->assertEquals($size = 32, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size))); /// recommended = 256 bits - compatible
- $this->assertEquals($size = 64, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size)));
- $this->assertEquals($size = 128, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size)));
- }
-
- public function testGeneratesASecretKeysGenerationSize()
- {
- // 128 bits are allowed
- $this->assertEquals($size = 16, strlen($this->google2fa->generateSecretKey($size))); /// minimum = 128 bits
-
- // anything below 128 bits are NOT allowed
- $this->expectException(\PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException::class);
-
- $this->assertEquals($size = 2, strlen($this->google2fa->generateSecretKey($size))); /// minimum = 128 bits
- $this->assertEquals($size = 4, strlen($this->google2fa->generateSecretKey($size))); /// minimum = 128 bits
- $this->assertEquals($size = 8, strlen($this->google2fa->generateSecretKey($size))); /// minimum = 128 bits
- }
-
- public function testGeneratesASecretKeysNotCompatibleWithGoogleAuthenticator()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException::class);
- $this->assertEquals($size = 15, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size)));
-
- $this->expectException(\PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException::class);
- $this->assertEquals($size = 17, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size)));
-
- $this->expectException(\PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException::class);
- $this->assertEquals($size = 21, strlen($this->google2fa->setEnforceGoogleAuthenticatorCompatibility(true)->generateSecretKey($size)));
- }
-
- public function testConvertsInvalidCharsToBase32()
- {
- $converted = $this->google2fa->generateBase32RandomKey(
- 16,
- '1234' .
- chr(250) .
- chr(251) .
- chr(252) .
- chr(253) .
- chr(254) .
- chr(255)
- );
-
- $valid = preg_replace(
- '/[^' . Google2FAConstants::VALID_FOR_B32 . ']/',
- '',
- $converted
- );
-
- $this->assertEquals($converted, $valid);
- }
-
- public function testGetsValidTimestamps()
- {
- $ts = $this->google2fa->getTimestamp();
-
- $this->assertLessThanOrEqual(PHP_INT_MAX, $ts);
-
- $this->assertGreaterThanOrEqual(~PHP_INT_MAX, $ts);
- }
-
- public function testDecodesBase32Strings()
- {
- $result =
- chr(0) .
- chr(232) .
- chr(196) .
- chr(187) .
- chr(190) .
- chr(223) .
- chr(26) .
- chr(241) .
- chr(145) .
- chr(86);
-
- $this->assertEquals(
- $result,
- $this->google2fa->base32Decode(Constants::SECRET)
- );
- }
-
- public function testCreatesAOneTimePassword()
- {
- $this->assertEquals(
- 6,
- strlen($this->google2fa->getCurrentOtp(Constants::SECRET))
- );
- }
-
- public function testVerifiesKeys()
- {
- // $ts 26213400 with KEY_REGENERATION 30 seconds is
- // timestamp 786402000, which is 1994-12-02 21:00:00 UTC
-
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- 2,
- 26213400
- )
- ); // 26213398
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '981084',
- 2,
- 26213400
- )
- ); // 26213399
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '512396',
- 2,
- 26213400
- )
- ); // 26213400
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '410272',
- 2,
- 26213400
- )
- ); // 26213401
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '239815',
- 2,
- 26213400
- )
- ); // 26213402
-
- $this->assertFalse(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '313366',
- 2,
- 26213400
- )
- ); // 26213403
- $this->assertFalse(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '093183',
- 2,
- 26213400
- )
- ); // 26213397
- }
-
- public function testVerifiesKeysNewer()
- {
- $this->assertFalse(
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '512396',
- 26213401,
- 2,
- 26213400
- )
- );
- $this->assertFalse(
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '410272',
- 26213401,
- 2,
- 26213400
- )
- );
- $this->assertEquals(
- 26213402,
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '239815',
- 26213401,
- 2,
- 26213400
- )
- );
- $this->assertFalse(
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '313366',
- 26213401,
- 2,
- 26213400
- )
- );
-
- $this->assertEquals(
- 26213400,
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '512396',
- null,
- 2,
- 26213400
- )
- );
- $this->assertEquals(
- 26213401,
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '410272',
- null,
- 2,
- 26213400
- )
- );
- $this->assertEquals(
- 26213402,
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '239815',
- null,
- 2,
- 26213400
- )
- );
- $this->assertFalse(
- $this->google2fa->verifyKeyNewer(
- Constants::SECRET,
- '313366',
- null,
- 2,
- 26213400
- )
- );
- }
-
- public function testRemovesInvalidCharsFromSecret()
- {
- $this->assertEquals(
- Constants::SECRET,
- $this->google2fa->removeInvalidChars(Constants::SECRET . '!1-@@@')
- );
- }
-
- public function testConvertsToBase32()
- {
- $this->assertEquals(
- 'KBZGCZ3NMFJFQ',
- $this->google2fa->toBase32('PragmaRX')
- );
- }
-
- public function testSetsTheWindow()
- {
- $this->google2fa->setWindow(6);
-
- $this->assertEquals(6, $this->google2fa->getWindow());
-
- $this->assertEquals(1, $this->google2fa->getWindow(1));
-
- $this->google2fa->setWindow(0);
-
- $this->assertFalse(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213400
- )
- );
-
- $this->google2fa->setWindow(2);
-
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213400
- )
- );
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213399
- )
- );
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213398
- )
- );
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213396
- )
- );
- $this->assertFalse(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213395
- )
- );
- }
-
- public function testSetsTheSecret()
- {
- $this->assertFalse(
- $this->google2fa->verify('558854', Constants::WRONG_SECRET)
- );
-
- $this->google2fa->setWindow(2);
-
- $this->assertTrue(
- $this->google2fa->verify(
- '558854',
- Constants::SECRET,
- null,
- 26213400
- )
- );
-
- $this->google2fa->setSecret(Constants::SECRET);
-
- $this->assertTrue(
- $this->google2fa->verify('558854', null, null, 26213400)
- );
- }
-
- public function testGetsKeyRegeneration()
- {
- $this->google2fa->setKeyRegeneration(11);
-
- $this->assertEquals(11, $this->google2fa->getKeyRegeneration());
- }
-
- public function testGetsOtpLength()
- {
- $this->google2fa->setOneTimePasswordLength(7);
-
- $this->assertEquals(7, $this->google2fa->getOneTimePasswordLength());
- }
-
- public function testGeneratesPasswordsInManyDifferentSizes()
- {
- $this->google2fa->setWindow(2);
-
- $this->google2fa->setOneTimePasswordLength(6);
-
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '558854',
- null,
- 26213400
- )
- );
-
- $this->google2fa->setOneTimePasswordLength(7);
-
- $this->assertTrue(
- $this->google2fa->verifyKey(
- Constants::SECRET,
- '8981084',
- null,
- 26213400
- )
- );
- }
-
- public function testShortSecretKey()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException::class);
-
- $this->google2fa->setEnforceGoogleAuthenticatorCompatibility(false);
-
- $this->google2fa->verifyKey(
- Constants::SHORT_SECRET,
- '558854',
- null,
- 26213400
- );
- }
-
- public function testValidateKey()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\InvalidCharactersException::class);
-
- $this->assertTrue(
- is_numeric($this->google2fa->getCurrentOtp(Constants::SECRET))
- );
-
- $this->google2fa->setEnforceGoogleAuthenticatorCompatibility(false);
-
- $this->google2fa->getCurrentOtp(Constants::INVALID_SECRET);
- }
-
- public function testThrowsBaseException()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\Google2FAException::class);
-
- $this->throwSecretKeyTooShortException();
- }
-
- public function testThrowsBaseExceptionContract()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\Contracts\Google2FA::class);
-
- $this->throwSecretKeyTooShortException();
- }
-
- public function testThrowsSecretKeyTooShortException()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException::class);
-
- $this->throwSecretKeyTooShortException();
- }
-
- public function testThrowsSecretKeyTooShortExceptionContract()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\Contracts\SecretKeyTooShort::class);
-
- $this->throwSecretKeyTooShortException();
- }
-
- public function testThrowsIncompatibleWithGoogleAuthenticatorExceptionInterface()
- {
- $this->expectException(\PragmaRX\Google2FA\Exceptions\Contracts\IncompatibleWithGoogleAuthenticator::class);
-
- $this->throwIncompatibleWithGoogleAuthenticatorException();
- }
-
- public function throwSecretKeyTooShortException()
- {
- $this->google2fa->setEnforceGoogleAuthenticatorCompatibility(false);
-
- $this->google2fa->verifyKey(
- Constants::SHORT_SECRET, // <------------- BUG
- '558854',
- null,
- 26213400
- );
- }
-
- public function throwIncompatibleWithGoogleAuthenticatorException()
- {
- $this->google2fa
- ->setEnforceGoogleAuthenticatorCompatibility(true)
- ->generateSecretKey(17);
-
- $this->assertEquals(
- 17,
- strlen(
- $this->google2fa
- ->setEnforceGoogleAuthenticatorCompatibility(false)
- ->generateSecretKey(17)
- )
- );
- }
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/bootstrap.php b/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/bootstrap.php
deleted file mode 100644
index b55a9ca..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/tests/bootstrap.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-/*
-|--------------------------------------------------------------------------
-| Register The Composer Auto Loader
-|--------------------------------------------------------------------------
-|
-| Composer provides a convenient, automatically generated class loader
-| for our application. We just need to utilize it! We'll require it
-| into the script here so that we do not have to worry about the
-| loading of any our classes "manually". Feels great to relax.
-|
-*/
-
-require __DIR__ . '/../vendor/autoload.php';
-
-/*
-|--------------------------------------------------------------------------
-| Set The Default Timezone
-|--------------------------------------------------------------------------
-|
-| Here we will set the default timezone for PHP. PHP is notoriously mean
-| if the timezone is not explicitly set. This will be used by each of
-| the PHP date and date-time functions throughout the application.
-|
-*/
-
-date_default_timezone_set('UTC');
-
-function d($args)
-{
- foreach ($args as $arg) {
- var_dump($arg);
- }
-}
-
-function dd()
-{
- d(func_get_args());
-
- die();
-}
diff --git a/srcs/phpmyadmin/vendor/pragmarx/google2fa/upgrading.md b/srcs/phpmyadmin/vendor/pragmarx/google2fa/upgrading.md
deleted file mode 100644
index 106870d..0000000
--- a/srcs/phpmyadmin/vendor/pragmarx/google2fa/upgrading.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# Google2FA
-