Files
FOSSBilling/phpstan.neon
T
Adam Daley febec281a6 Migrate product models and enhance promo redemption functionality (#3587)
* Migrate product models; add `promo_redemption`

* Add DomainPricing & ProductOrder repositories

* Use Promo entity typehints and update tests

* Use DI logger, validate order config, update tests

* Replace `error_log` with logger; use stubs in tests

* Use attachOrderConfig and tighten service checks

* Clarify domain defaults and remove deprecated doc tag

* Add missing indexes to `promo_redemption` table

* Enrich promo API arrays and add redemption filters

* Various UI/JS fixes and template cleanups

* Log invoice issues as warnings; expose form_id

* Normalize spelling in UpdatePatcher comment

* Remove checkLimits production method and clean up stale test mocks

* Use getConfig() and add promo permission

* Use container logger directly, remove helpers

* Use defaults for optional Twig settings

* Import macro_functions into admin template

* Compensate promo redemptions on checkout failure

* 🐛 Fix product category and add-on availability handling
2026-06-18 17:56:14 +01:00

31 lines
889 B
Plaintext

includes:
- phpstan-baseline.neon
parameters:
level: 5
reportUnmatchedIgnoredErrors: false
dynamicConstantNames:
- DEBUG
- INSTANCE_ID
paths:
- src
bootstrapFiles:
- src/load.php
excludePaths:
analyse:
- src/vendor
- src/library/Model/Admin.php
- src/library/Model/Client.php
- src/library/Model/ServiceLicense.php
- src/library/Server/Manager/Custom.php
- src/library/Server/Manager/Whm.php
- src/data/cache (?)
- '*/tests/*'
universalObjectCratesClasses:
- RedBeanPHP\SimpleModel
- RedBeanPHP\OODBBean
ignoreErrors:
- '#^Function __trans not found\.$#'
- '#^Function __pluralTrans not found\.$#'
- '#^Inner named functions are not supported by PHPStan\. Consider refactoring to an anonymous function, class method, or a top\-level\-defined function\. See issue \#165 \(https\://github\.com/phpstan/phpstan/issues/165\) for more details\.$#'