mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 12:18:43 +09:00
* chore: Remove jQuery dependencies and update build system - Remove jQuery from theme dependencies - Simplify build configuration - Update documentation to reflect jQuery removal - Apply PSR-12 code style formatting - Replace jQuery with vanilla JS in ClientBalance adapter * refactor: Complete JavaScript API rewrite with modern architecture - Rewrite API.js with improved URL handling and CSRF management - Add reusable utility functions in utils.js - Remove deprecated jQuery-based bb object - Update Tom Select integration * feat: Add Twig API functions for declarative API interaction - Add fb_api(), fb_api_form(), fb_api_link() Twig functions - Add asset deduplication to prevent duplicate script/style loading Note: Dashboard/Index module moved to separate refactor/index PR * refactor: Integrate new API into theme layouts and core templates - Update theme layouts to use new API functions - Convert theme partials and macros - Update core admin module templates (System, Theme, Wysiwyg, Staff) * refactor: Update module templates to use new API functions - Replace data-api-* attributes with fb_api_*() Twig functions - Remove manual CSRF token handling - Update all module templates for consistency Note: Index module excluded (moved to refactor/index PR) * Remove custom ignore rule from phpstan.neon Deleted a specific ignore rule for ctype_alnum argument count in src/modules/Extension/Service.php, likely because it is no longer needed or the underlying issue has been resolved.
42 lines
1.9 KiB
Plaintext
42 lines
1.9 KiB
Plaintext
includes:
|
|
- phpstan-baseline.neon
|
|
|
|
parameters:
|
|
level: 3
|
|
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/Model/Product.php
|
|
- src/library/Server/Manager/Custom.php
|
|
- src/library/Server/Manager/Whm.php
|
|
- src/data/cache (?)
|
|
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\.$#'
|
|
- message: '#^Result of function header \(void\) is used\.$#'
|
|
path: src/modules/Custompages/Controller/Client.php
|
|
- message: '#^Variable \$ext_id on left side of \?\?\= is never defined\.$#'
|
|
path: src/modules/Extension/Service.php
|
|
- '#^Access to an undefined property RedBeanPHP\\SimpleModel\:\:\$updated_at\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\SimpleModel\:\:\$pass\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\SimpleModel\:\:\$username\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\SimpleModel\:\:\$sld\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\SimpleModel\:\:\$tld\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\OODBBean\:\:\$client_id\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\OODBBean\:\:\$config\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\OODBBean\:\:\$api_key\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\OODBBean\:\:\$updated_at\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\OODBBean\:\:\$created_at\.$#'
|
|
- '#^Access to an undefined property RedBeanPHP\\OODBBean\:\:\$id\.$#'
|