- Updated CoverageRule and related entities to include franchise_percent instead of franchise_rials. - Modified Appointment entity to carry supplementary insurance ID alongside base insurance. - Implemented SessionBillingService to ensure finalized invoices for insured patient sessions. - Created InvoiceFinalized event to trigger claims creation upon invoice finalization. - Added BackfillMissingClaimsCommand to generate claims for finalized invoices without existing claims. - Developed tests to validate the new functionality for supplementary insurance handling in appointments and claims.
158 lines
6.3 KiB
Plaintext
158 lines
6.3 KiB
Plaintext
parameters:
|
|
ignoreErrors:
|
|
-
|
|
message: '#^Dead catch \- Doctrine\\DBAL\\Exception\\UniqueConstraintViolationException is never thrown in the try block\.$#'
|
|
identifier: catch.neverThrown
|
|
count: 1
|
|
path: src/Appointment/Controller/AppointmentController.php
|
|
|
|
-
|
|
message: '#^Property App\\Patient\\Entity\\PatientRecord\:\:\$tags on left side of \?\?\= is not nullable nor uninitialized\.$#'
|
|
identifier: nullCoalesce.initializedProperty
|
|
count: 1
|
|
path: src/Patient/Entity/PatientRecord.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#'
|
|
identifier: notIdentical.alwaysTrue
|
|
count: 1
|
|
path: src/Appointment/Service/SlotCalculatorService.php
|
|
|
|
-
|
|
message: '#^Offset ''role'' on array\{type\: ''clinic'', db_uuid\: mixed, name\: non\-falsy\-string, role\: ''secretary'', scope\: ''clinic'', permissions\: mixed\}\|array\{type\: ''clinic'', db_uuid\: string, name\: string, role\: ''clinic''\|''doctor'', scope\: ''clinic''\|null, doctor_uuid\: string\}\|array\{type\: ''clinic'', db_uuid\: string, name\: string, role\: ''clinic''\}\|array\{type\: ''doctor'', db_uuid\: mixed, name\: non\-falsy\-string, role\: ''secretary'', scope\: ''doctor'', permissions\: mixed\}\|array\{type\: ''doctor'', db_uuid\: string, name\: non\-falsy\-string, role\: ''doctor''\} on left side of \?\? always exists and is not nullable\.$#'
|
|
identifier: nullCoalesce.offset
|
|
count: 1
|
|
path: src/Auth/Controller/AuthController.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Component\\Security\\Core\\User\\UserInterface\:\:getId\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 2
|
|
path: src/Auth/Security/PasswordAuthenticator.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Component\\Security\\Core\\User\\UserInterface\:\:isStaff\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 1
|
|
path: src/Auth/Security/PasswordAuthenticator.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:getItem\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 1
|
|
path: src/Auth/Security/PasswordAuthenticator.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:save\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 1
|
|
path: src/Auth/Security/PasswordAuthenticator.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:getItem\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 4
|
|
path: src/Auth/Service/OtpService.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:save\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 3
|
|
path: src/Auth/Service/OtpService.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:getItem\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 2
|
|
path: src/Auth/Service/TokenService.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:save\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 1
|
|
path: src/Auth/Service/TokenService.php
|
|
|
|
-
|
|
message: '#^Match expression does not handle remaining value\: string$#'
|
|
identifier: match.unhandled
|
|
count: 1
|
|
path: src/Billing/Controller/BillingController.php
|
|
|
|
-
|
|
message: '#^Parameter \#3 \$filters of method App\\Billing\\Repository\\ClaimRepository\:\:findByTenant\(\) expects array\{status\?\: string\|null, insurance_id\?\: int\|null, from\?\: int\|null, to\?\: int\|null, q\?\: string\|null\}, array\{status\: non\-falsy\-string\|null, insurance_id\: non\-falsy\-string\|null, from\: non\-falsy\-string\|null, to\: non\-falsy\-string\|null, q\: non\-falsy\-string\|null\} given\.$#'
|
|
identifier: argument.type
|
|
count: 1
|
|
path: src/Billing/Controller/BillingController.php
|
|
|
|
-
|
|
message: '#^Call to protected method getEntityManager\(\) of class Doctrine\\ORM\\EntityRepository\<object\>\.$#'
|
|
identifier: method.protected
|
|
count: 5
|
|
path: src/Billing/Service/ClaimService.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \=\=\= between App\\Auth\\Entity\\User and null will always evaluate to false\.$#'
|
|
identifier: identical.alwaysFalse
|
|
count: 1
|
|
path: src/Blog/Entity/Blog.php
|
|
|
|
-
|
|
message: '#^Call to protected method getEntityManager\(\) of class Doctrine\\ORM\\EntityRepository\<object\>\.$#'
|
|
identifier: method.protected
|
|
count: 1
|
|
path: src/Insurance/Controller/InsuranceController.php
|
|
|
|
-
|
|
message: '#^Strict comparison using \!\=\= between mixed and null will always evaluate to true\.$#'
|
|
identifier: notIdentical.alwaysTrue
|
|
count: 6
|
|
path: src/Insurance/Controller/InsuranceController.php
|
|
|
|
-
|
|
message: '#^Property App\\Patient\\Service\\PatientService\:\:\$userRepo is never read, only written\.$#'
|
|
identifier: property.onlyWritten
|
|
count: 1
|
|
path: src/Patient/Service/PatientService.php
|
|
|
|
-
|
|
message: '#^Offset 0 on non\-empty\-list\<string\> on left side of \?\? always exists and is not nullable\.$#'
|
|
identifier: nullCoalesce.offset
|
|
count: 1
|
|
path: src/Payment/Gateway/MellatGateway.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:deleteItem\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 2
|
|
path: src/Payment/Service/CircuitBreakerService.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:getItem\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 3
|
|
path: src/Payment/Service/CircuitBreakerService.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:save\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 2
|
|
path: src/Payment/Service/CircuitBreakerService.php
|
|
|
|
-
|
|
message: '#^Call to an undefined method Symfony\\Contracts\\Cache\\CacheInterface\:\:getItem\(\)\.$#'
|
|
identifier: method.notFound
|
|
count: 1
|
|
path: src/Shared/Controller/HealthController.php
|
|
|
|
-
|
|
message: '#^Call to protected method getEntityManager\(\) of class Doctrine\\ORM\\EntityRepository\<object\>\.$#'
|
|
identifier: method.protected
|
|
count: 1
|
|
path: src/Sms/Command/SeedSmsMessageTemplatesCommand.php
|
|
|
|
-
|
|
message: '#^Property App\\Subscription\\Controller\\SubscriptionController\:\:\$subscriptionRepo is never read, only written\.$#'
|
|
identifier: property.onlyWritten
|
|
count: 1
|
|
path: src/Subscription/Controller/SubscriptionController.php
|