mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 20:27:07 +09:00
* Improve type safety, auth checks and PHPStan fixes (#3250) * Improve type safety, auth checks and PHPStan fixes * Remove @phpstan-ignore annotations * Improve type safety, auth checks and PHPStan fixes * Remove @phpstan-ignore annotations * Remove redundant @phpstan-ignore comment * Improve code robustness and reliability (#3248) * Harden code against null/undefined values * Update dependency lockfiles * Sanitize ticket input and use IDs in email list * Restructure tests and add test utilities * Move E2E tests to `Library\E2E` namespace * Update `php-build` action ref in workflows * Switch tests to Pest and add test scaffolding * Refactor E2E tests to Pest-style tests m Skip E2E tests when env not configured * Refactor Unit tests and update test config Add test datasets and refine test helpers * Add DEBUG guard, fix API JSON decode, update tests * Refactor tests: add types and Mockery expectations * Adjust tests, phpstan config, and composer script * Instantiate test APIs locally, remove beforeEach * Refactor runtime checks, types & logging * Apply PHP Code Styling Changes m * Add PHPStan ignores, test renames & small fixes * Enable Pest tests in CI workflow * Remove legacy tests; add new unit tests/config * Avoid undefined index in fingerprint comparison * Ignore properties absent in both fingerprints * Remove public_ticket_create API method * Add Fingerprint unit tests * Remove em dash from fingerprint test name * Switch to Pest; assorted bug fixes & refactors * Prefer getDi() and guard DEBUG define * Refactor tests: DBAL, Antispam rename, helpers * Refactor email tests to use Doctrine entities * Update tests, use DBAL mocks & improve Formbuilder admin * Validate plan_id and update unit tests * Replace error_log with DI logger and update tests * Expect db->store in Invoice Service test * Use DI logger instead of error_log; fix tests * Fix typo in Hook Service test * Fix Staff test spelling fixture * Complete Pest test migration * Fix Product test spelling fixtures * Fix Product test spelling fixtures * Run live tests with Pest and load helpers * Migrate tests to ApiClient; remove legacy APIHelper * Fix Email test spelling * Remove unused PHPUnit bridge * Organize Cypress end-to-end tests * Document Pest test directory root * Remove noisy Pest comments
139 lines
4.4 KiB
JSON
139 lines
4.4 KiB
JSON
{
|
|
"name": "fossbilling/fossbilling",
|
|
"description": "Free and Open Source Billing System",
|
|
"support": {
|
|
"docs": "https://docs.fossbilling.org/",
|
|
"source": "https://github.com/FOSSBilling/FOSSBilling",
|
|
"issues": "https://github.com/FOSSBilling/FOSSBilling/issues",
|
|
"chat": "https://fossbilling.org/discord"
|
|
},
|
|
"readme": "https://github.com/FOSSBilling/FOSSBilling/blob/main/README.md",
|
|
"type": "project",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"billing",
|
|
"invoice",
|
|
"client management"
|
|
],
|
|
"homepage": "https://fossbilling.org",
|
|
"scripts": {
|
|
"post-install-cmd": [
|
|
"php src/vendor/symfony/intl/Resources/bin/compress || true"
|
|
],
|
|
"test": "pest --test-directory ../tests",
|
|
"phpstan": "phpstan analyze --memory-limit=512M",
|
|
"phpstan:baseline": "phpstan analyze --generate-baseline",
|
|
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
|
"cs:fix": "php-cs-fixer fix",
|
|
"rector:check": "rector --dry-run",
|
|
"rector:fix": "rector",
|
|
"check": [
|
|
"@phpstan",
|
|
"@cs:check",
|
|
"@test"
|
|
],
|
|
"fix": [
|
|
"@rector:fix",
|
|
"@cs:fix"
|
|
]
|
|
},
|
|
"require": {
|
|
"php": ">=8.3",
|
|
"ext-curl": "*",
|
|
"ext-intl": "*",
|
|
"ext-mbstring": "*",
|
|
"ext-pdo": "*",
|
|
"ext-zlib": "*",
|
|
"antcms/antloader": "^2.0.5",
|
|
"dicebear/core": "^10.0",
|
|
"dicebear/styles": "^10.0",
|
|
"doctrine/orm": "^3.6",
|
|
"dompdf/dompdf": "^3.1.4",
|
|
"egulias/email-validator": "^4.0.4",
|
|
"filp/whoops": "^2.18.4",
|
|
"gabordemooij/redbean": "^5.7.5",
|
|
"io-developer/php-whois": "^4.1.10",
|
|
"league/commonmark": "^2.8",
|
|
"league/csv": "^9.28",
|
|
"liborm85/composer-vendor-cleaner": "^1.7.1",
|
|
"mattketmo/email-checker": "^3.0",
|
|
"maxmind-db/reader": "^1.13.1",
|
|
"monolog/monolog": "^3.9",
|
|
"nelexa/zip": "^4.0.2",
|
|
"php-debugbar/php-debugbar": "^3.0.0",
|
|
"php-debugbar/twig-bridge": "^2.0.0",
|
|
"phpmyadmin/motranslator": "^6.0.0",
|
|
"pimple/pimple": "^3.6",
|
|
"plesk/api-php-lib": "^2.2.1",
|
|
"prinsfrank/standards": "^3.15",
|
|
"sentry/sentry": "^4.19.1",
|
|
"stripe/stripe-php": "^20.0.0",
|
|
"symfony/cache": "^7.4.1",
|
|
"symfony/console": "^7.4.1",
|
|
"symfony/filesystem": "^7.4",
|
|
"symfony/finder": "^7.4",
|
|
"symfony/html-sanitizer": "^7.4",
|
|
"symfony/http-client": "^7.4.1",
|
|
"symfony/http-foundation": "^7.4.1",
|
|
"symfony/intl": "^7.4",
|
|
"symfony/mailer": "^7.4",
|
|
"symfony/property-access": "^7.4",
|
|
"symfony/property-info": "^7.4.1",
|
|
"symfony/rate-limiter": "^7.4",
|
|
"symfony/sendgrid-mailer": "^7.4",
|
|
"symfony/serializer": "^7.4.2",
|
|
"symfony/uid": "^7.4",
|
|
"twig/intl-extra": "^3.22.1",
|
|
"twig/markdown-extra": "^3.24",
|
|
"twig/twig": "^3.22.2"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^3.92.3",
|
|
"mockery/mockery": "^1.6",
|
|
"pestphp/pest": "^4.0",
|
|
"phpstan/extension-installer": "^1.4.3",
|
|
"phpstan/phpstan": "^2.1.33",
|
|
"phpstan/phpstan-deprecation-rules": "^2.0.3",
|
|
"rector/rector": "^2.3"
|
|
},
|
|
"config": {
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"phpstan/extension-installer": true,
|
|
"php-http/discovery": true,
|
|
"liborm85/composer-vendor-cleaner": true,
|
|
"pestphp/pest-plugin": true
|
|
},
|
|
"vendor-dir": "src/vendor"
|
|
},
|
|
"replace": {
|
|
"php-http/message-factory": "*",
|
|
"symfony/polyfill-php80": "*",
|
|
"symfony/polyfill-php81": "*",
|
|
"symfony/polyfill-php82": "*",
|
|
"symfony/polyfill-php83": "*",
|
|
"symfony/polyfill-intl-icu": "*",
|
|
"symfony/polyfill-intl-idn": "*"
|
|
},
|
|
"extra": {
|
|
"dev-files": {
|
|
"/": [
|
|
"tests/",
|
|
"docs/",
|
|
".travis.yml",
|
|
".github/",
|
|
".devcontainer/"
|
|
],
|
|
"gabordemooij/redbean": [
|
|
"testing/"
|
|
],
|
|
"mattketmo/email-checker": [
|
|
"res/"
|
|
],
|
|
"maxmind-db/reader": [
|
|
"ext"
|
|
]
|
|
}
|
|
}
|
|
}
|