- Add phpunit/phpunit ^13.2, symfony/browser-kit and symfony/css-selector to require-dev, plus the autoload-dev mapping for App\Tests- Add phpunit.dist.xml (strict deprecation/notice/warning failures, APP_ENV=test forced) and .env.test / bin/phpunit / tests/bootstrap.php from the PHPUnit recipe - Add tests/Support/TotpTestHelper providing a deterministic TOTP fixture, frozen clock and ConfigBag/cache-pool helpers - Add 121 unit tests covering Clock, ConfigBag, Data/Payload, Enum/Scope, MonitorCacheKeys, PersistCache, Utilities, all five Traits and the three Service managers (BackupCode, Domain, Login) - Fix LoginManagerTest nonce lookups to use makeCacheKey() so the cache key matches the one the manager actually reads/writes - Gitignore bin/.phpunit.result.cache
83 lines
2.1 KiB
JSON
83 lines
2.1 KiB
JSON
{
|
|
"type": "project",
|
|
"license": "MIT",
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true,
|
|
"require": {
|
|
"php": ">=8.4",
|
|
"ext-ctype": "*",
|
|
"ext-iconv": "*",
|
|
"bacon/bacon-qr-code": "^3.1.1",
|
|
"runtime/frankenphp-symfony": "^1.0.0",
|
|
"spomky-labs/otphp": "^11.4.2",
|
|
"symfony/cache": "7.4.*",
|
|
"symfony/console": "7.4.*",
|
|
"symfony/flex": "^2.11",
|
|
"symfony/framework-bundle": "7.4.*",
|
|
"symfony/mime": "7.4.*",
|
|
"symfony/rate-limiter": "7.4.*",
|
|
"symfony/runtime": "7.4.*",
|
|
"symfony/twig-bundle": "7.4.*",
|
|
"symfony/uid": "7.4.*",
|
|
"symfony/yaml": "7.4.*"
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"php-http/discovery": true,
|
|
"symfony/flex": true,
|
|
"symfony/runtime": true
|
|
},
|
|
"bump-after-update": true,
|
|
"sort-packages": true
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"App\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"App\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"replace": {
|
|
"symfony/polyfill-ctype": "*",
|
|
"symfony/polyfill-iconv": "*",
|
|
"symfony/polyfill-php72": "*",
|
|
"symfony/polyfill-php73": "*",
|
|
"symfony/polyfill-php74": "*",
|
|
"symfony/polyfill-php80": "*",
|
|
"symfony/polyfill-php81": "*",
|
|
"symfony/polyfill-php82": "*"
|
|
},
|
|
"scripts": {
|
|
"auto-scripts": {
|
|
"cache:clear": "symfony-cmd",
|
|
"assets:install %PUBLIC_DIR%": "symfony-cmd"
|
|
},
|
|
"post-install-cmd": [
|
|
"@auto-scripts"
|
|
],
|
|
"post-update-cmd": [
|
|
"@auto-scripts"
|
|
]
|
|
},
|
|
"conflict": {
|
|
"symfony/symfony": "*"
|
|
},
|
|
"extra": {
|
|
"runtime": {
|
|
"class": "Runtime\\FrankenPhpSymfony\\Runtime"
|
|
},
|
|
"symfony": {
|
|
"allow-contrib": false,
|
|
"require": "7.4.*"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^13.2",
|
|
"symfony/browser-kit": "7.4.*",
|
|
"symfony/css-selector": "7.4.*"
|
|
}
|
|
}
|