A source-available invoice, quote, project and time-tracking app built with Laravel
This report summarizes scanner evidence for invoiceninja/invoiceninja, a PHP project with 10,260 GitHub stars. SynthScan examined 1,148,467 lines of code across 4523 source files, recording 5332 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 4905 finding(s).
Are imports declared and package/API names verified? 119 finding(s).
Are wrappers, guards, and repeated structures necessary? 4986 finding(s).
Which changes need focused human review? 5332 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 5332 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/DataProviders/USStates.php | 33961 | public static function getStateFromThreeDigitPrefix($zip): mixed | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 137 | public static function emailPaymentFailedSubject() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 142 | public static function emailPaymentFailedTemplate() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 159 | public static function emailVendorNotificationSubject() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 164 | public static function emailVendorNotificationBody() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 186 | public static function emailInvoiceReminderTemplate() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 210 | public static function emailPurchaseOrderSubject() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 215 | public static function emailPurchaseOrderTemplate() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 236 | public static function emailPaymentPartialTemplate() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 243 | public static function emailPaymentPartialSubject() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 278 | public static function emailReminderEndlessSubject() | CODE |
| LOW | app/DataMapper/EmailTemplateDefaults.php | 283 | public static function emailReminderEndlessTemplate() | CODE |
| LOW | app/DataMapper/CompanySettings.php | 961 | public static function notificationAdminDefaults(): stdClass | CODE |
| LOW | app/DataMapper/CompanySettings.php | 981 | public static function getEntityVariableDefaults(): stdClass | CODE |
| LOW | app/DataMapper/FranceEReporting/PartyData.php | 104 | private static function publicIdentifiersFromArray(mixed $data): array | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportData.php | 108 | public static function rectificativeTransactionReport( | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportData.php | 127 | public static function rectificativePaymentReport( | CODE |
| LOW | app/DataMapper/FranceEReporting/DeclarantPartyData.php | 89 | private static function publicIdentifiersFromArray(mixed $data): array | CODE |
| LOW | app/DataMapper/Tax/TaxModel.php | 244 | public function stubVatNumbersOnSubregions(): self | CODE |
| LOW | app/Mail/TemplateEmail.php | 59 | private function buildLinksForCustomDesign(): string | CODE |
| LOW | app/Mail/VendorTemplateEmail.php | 51 | private function buildLinksForCustomDesign(): string | CODE |
| LOW | app/Mail/Engine/PaymentEmailEngine.php | 402 | private function formatInvoiceReferencesSubject() | CODE |
| LOW | app/Casts/UserSettingsCast.php | 111 | private function hasResponseOnlyCalendarConnection(mixed $value): bool | CODE |
| LOW | app/Libraries/MultiDB.php | 113 | public static function checkExpenseMailboxAvailable($expense_mailbox): bool | CODE |
| LOW | app/Libraries/MultiDB.php | 173 | public static function checkUserAndCompanyCoExist($email, $company_key): bool | CODE |
| LOW | app/Libraries/MultiDB.php | 404 | public static function findAndSetDbByShopifyName($shopify_name): ?Company | CODE |
| LOW | app/Libraries/MultiDB.php | 421 | public static function findAndSetDbByLegalEntityId($legal_entity_id): ?Company | CODE |
| LOW | app/Libraries/MultiDB.php | 455 | public static function findAndSetDbByInappTransactionId($transaction_id): bool | CODE |
| LOW | app/Libraries/MultiDB.php | 490 | public static function findAndSetDbByVendorContactKey($contact_key): bool | CODE |
| LOW | app/Libraries/MultiDB.php | 578 | public static function findAndSetDbByExpenseMailbox($expense_mailbox) | CODE |
| LOW | app/Utils/Encode.php | 88 | private static function detectAndHandleUTFEncoding(string $data): ?string | CODE |
| LOW | app/Utils/Number.php | 62 | public static function formatValueNoTrailingZeroes($value, $entity): string | CODE |
| LOW | app/Utils/HtmlEngine.php | 1200 | protected function generateEntityImagesMarkup() | CODE |
| LOW | app/Utils/VendorHtmlEngine.php | 823 | protected function generateEntityImagesMarkup() | CODE |
| LOW | app/Utils/Traits/MakesInvoiceValues.php | 197 | private function transformColumnsForHeader(array $columns): array | CODE |
| LOW | app/Utils/Traits/MakesInvoiceValues.php | 229 | private function transformColumnsForLineItems(array $columns): array | CODE |
| LOW | app/Utils/Traits/GeneratesConvertedQuoteCounter.php | 236 | public function getNextRecurringInvoiceNumber(Client $client, $recurring_invoice) | CODE |
| LOW | app/Utils/Traits/GeneratesConvertedQuoteCounter.php | 250 | public function getNextRecurringQuoteNumber(Client $client, $recurring_quote) | CODE |
| LOW | app/Utils/Traits/GeneratesConvertedQuoteCounter.php | 379 | public function getNextRecurringExpenseNumber(RecurringExpense $expense): string | CODE |
| LOW | app/Utils/Traits/MakesDates.php | 133 | public function calculateStartAndEndDates(array $data, ?Company $company = null): array | CODE |
| LOW | app/Utils/Traits/MakesDates.php | 168 | public function calculatePreviousPeriodStartAndEndDates(array $data, ?Company $company = null): array | CODE |
| LOW | app/Utils/Traits/GeneratesCounter.php | 108 | public function getNextRecurringInvoiceNumber(Client $client, $recurring_invoice) | CODE |
| LOW | app/Utils/Traits/GeneratesCounter.php | 122 | public function getNextRecurringQuoteNumber(Client $client, $recurring_quote) | CODE |
| LOW | app/Utils/Traits/GeneratesCounter.php | 163 | private function getNextCompanyEntityNumber(string $entity, $model): string | CODE |
| LOW | app/Utils/Traits/GeneratesCounter.php | 240 | public function getNextPurchaseOrderNumber(PurchaseOrder $purchase_order): string | CODE |
| LOW | app/Utils/Traits/GeneratesCounter.php | 251 | public function getNextRecurringExpenseNumber(RecurringExpense $expense): string | CODE |
| LOW | app/Utils/Traits/AppSetup.php | 67 | private function updateEnvironmentProperty(string $property, $value): void | CODE |
| LOW | app/Utils/Traits/Payment/Refundable.php | 45 | private function refundPaymentWithNoInvoices(array $data) | CODE |
| LOW | app/Utils/Traits/Payment/Refundable.php | 88 | private function refundPaymentWithInvoices($data) | CODE |
| LOW | app/Utils/Traits/Notifications/UserNotifies.php | 32 | public function findUserNotificationTypes($invitation, $company_user, $entity_name, $required_permissions): array | CODE |
| LOW | app/Utils/Traits/Notifications/UserNotifies.php | 63 | public function findUserEntityNotificationType($entity, $company_user, array $required_permissions): array | CODE |
| LOW | app/Utils/Traits/Notifications/UserNotifies.php | 89 | private function addSpecialUserPermissionForEntity($entity, array $required_permissions): array | CODE |
| LOW | app/Utils/Traits/Notifications/UserNotifies.php | 94 | private function removeSpecialUserPermissionForEntity($entity, $required_permissions) | CODE |
| LOW | app/Utils/Traits/Notifications/UserNotifies.php | 117 | public function findCompanyUserNotificationType($company_user, $required_permissions): array | CODE |
| LOW | app/Utils/Traits/Notifications/UserNotifies.php | 175 | public function findEntityAssignedNotification(\App\Models\CompanyUser $company_user, string $entity) | CODE |
| LOW | app/Repositories/CompanyGatewayRepository.php | 55 | public function addGatewayToCompanyGatewayIds(CompanyGateway $company_gateway) | CODE |
| LOW | app/Repositories/CompanyGatewayRepository.php | 74 | public function removeGatewayFromCompanyGatewayIds(CompanyGateway $company_gateway) | CODE |
| LOW | app/Repositories/PaymentRepository.php | 102 | private function paymentablesDerivedFromDate(array $data, Payment $payment, ?string $original_date): Collection | CODE |
| LOW | app/Repositories/ClientRepository.php | 191 | private function invalidateFranceReportingClients(?Company $company, array $clientIds): void | CODE |
| LOW | app/Repositories/TaskRepository.php | 94 | private function userScopedCalendarEventId(int $userId, string $calendarEventId): string | CODE |
| 4618 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/DataMapper/CompanyDefaults/CountryDefaults.php | 42 | // ── Americas ────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/DataMapper/CompanyDefaults/CountryDefaults.php | 113 | // ── Europe (EU) ────────────────────────────────────────── | COMMENT |
| MEDIUM | app/DataMapper/CompanyDefaults/CountryDefaults.php | 385 | // ── Europe (Non-EU) ────────────────────────────────────── | COMMENT |
| MEDIUM | app/DataMapper/CompanyDefaults/CountryDefaults.php | 438 | // ── Asia & Middle East ─────────────────────────────────── | COMMENT |
| MEDIUM | app/DataMapper/CompanyDefaults/CountryDefaults.php | 536 | // ── Oceania ────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/DataMapper/CompanyDefaults/CountryDefaults.php | 562 | // ── Africa ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/HelcimPaymentDriver.php | 374 | // ── Status check ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/HelcimPaymentDriver.php | 390 | // ── Amount check ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/HelcimPaymentDriver.php | 415 | // ── Currency check ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/Services/Chart/AnalyticsQueries.php | 552 | // ─── Chartable Time-Series Queries ────────────────────────────── | COMMENT |
| MEDIUM | app/Services/Chart/AnalyticsQueries.php | 1201 | // ─── Recurring Expense Analytics ──────────────────────────────── | COMMENT |
| MEDIUM | app/Services/Chart/AnalyticsQueries.php | 1325 | // ─── Project Analytics ────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/BcMathIrregularFloatsTest.php | 72 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/BcMathIrregularFloatsTest.php | 75 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 88 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 90 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 97 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 99 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 104 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 107 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 112 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 115 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 123 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 126 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 134 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 136 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 143 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/Unit/BcMathIrregularFloatsTest.php | 146 | // ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 129 | // ─── getClientPaymentDelays ───────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 251 | // ─── getClientPaymentSummary ──────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 322 | // ─── getCompanyPaymentSummary ─────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 358 | // ─── getOutstandingInvoicesForForecasting ──────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 490 | // ─── getRecurringInvoiceProjections ───────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 573 | // ─── getRecurringExpenseProjections ────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 620 | // ─── getUpcomingExpenses ──────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 721 | // ─── getQuoteConversionHistory ────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 814 | // ─── getOpenQuotesForForecasting ──────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 944 | // ─── getPaymentDelayTrend ─────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 986 | // ─── Cross-company isolation ──────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1054 | // ─── Chart Queries: MRR ───────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1226 | // ─── Chart Queries: MRR/ARR Totals ────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1327 | // ─── Chart Queries: Payment Delay Chart ───────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1356 | // ─── Chart Queries: Quote Pipeline ────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1489 | // ─── Chart Queries: Late Payment Rate ─────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1542 | // ─── Chart Queries: AR Aging Buckets ──────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1660 | // ─── Service Layer: analytics_summary / analytics_totals ──────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1720 | // ─── API Endpoints ────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1779 | // ─── Quote Pipeline: Non-Zero Results ─────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 127 | // ─── Green Indicators ─────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 153 | // ─── Red Indicators ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 176 | // ─── Risk Score Ordering ──────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 209 | // ─── Risk Level Mapping ───────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 229 | // ─── Company Summary Included ─────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 245 | // ─── Thresholds Included ──────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 259 | // ─── Empty Results ────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/ClientPaymentAnalyticsTest.php | 272 | // ─── API Endpoint ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/CashFlowForecastTest.php | 123 | // ─── Outstanding Invoice Projection ───────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/CashFlowForecastTest.php | 191 | // ─── Recurring Invoice Projection ─────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/CashFlowForecastTest.php | 299 | // ─── Recurring Expenses ───────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/CashFlowForecastTest.php | 334 | // ─── One-Off Expenses ─────────────────────────────────────────── | COMMENT |
| 248 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/DataMapper/Sources/PayPalBalanceAffecting.php | 241 | // $data = iterator_to_array($stmt->process($csv)); | COMMENT |
| LOW | app/DataMapper/Sources/PayPalBalanceAffecting.php | 261 | // $client_repo = new ClientRepository(new ClientContactRepository()); | COMMENT |
| LOW | app/DataMapper/Sources/PayPalBalanceAffecting.php | 281 | // if(!$contact) { | COMMENT |
| LOW | app/Providers/AppServiceProvider.php | 41 | /** | COMMENT |
| LOW | app/Utils/TranslationHelper.php | 41 | COMMENT | |
| LOW | app/Utils/TranslationHelper.php | 81 | // return $term; | COMMENT |
| LOW | app/Utils/VendorHtmlEngine.php | 901 | // <td class="new_button" style="padding: 12px 18px 12px 18px; border-radius:5px;" align="center"> | COMMENT |
| LOW | app/Utils/PaymentHtmlEngine.php | 361 | // <tr style="border: 0 !important; "> | COMMENT |
| LOW | app/Utils/Ninja.php | 181 | COMMENT | |
| LOW | app/Utils/Traits/WithSecureContext.php | 61 | // { | COMMENT |
| LOW | app/Models/Product.php | 121 | self::PRODUCT_TYPE_REVERSE_TAX => 'AE', // VAT_REVERSE_CHARGE = | COMMENT |
| LOW | app/Models/PurchaseOrder.php | 441 | // { | COMMENT |
| LOW | app/Models/CompanyGateway.php | 121 | 4 => ['card' => 'images/credit_cards/Test-AmericanExpress-Icon.png', 'text' => 'American Express'], | COMMENT |
| LOW | app/Models/Invoice.php | 801 | Product::PRODUCT_TYPE_ZERO_RATED => $tax_type = ctrans('texts.zero_rated'), | COMMENT |
| LOW | app/Models/BankTransactionRule.php | 161 | // foreach($this->rules as $key => $rule) | COMMENT |
| LOW | app/Models/BankTransactionRule.php | 181 | // //search invoices | COMMENT |
| LOW | app/Models/BankTransactionRule.php | 201 | // { | COMMENT |
| LOW | app/Models/CompanyToken.php | 101 | { | COMMENT |
| LOW | app/Models/BaseModel.php | 201 | // // Replace multiple spaces or underscores with a single underscore | COMMENT |
| LOW | app/PaymentDrivers/SquarePaymentDriver.php | 361 | COMMENT | |
| LOW | app/PaymentDrivers/PayFast/PaymentCompletedWebhook.php | 41 | // 'payment_status' => 'COMPLETE', | COMMENT |
| LOW | …p/PaymentDrivers/Authorize/AuthorizeCreateCustomer.php | 121 | // $controller = new net\authorize\api\controller\GetCustomerProfileController($request); | COMMENT |
| LOW | …p/PaymentDrivers/Authorize/AuthorizeCreateCustomer.php | 141 | // $request = new net\authorize\api\contract\v1\GetCustomerProfileIdsRequest(); | COMMENT |
| LOW | app/PaymentDrivers/Authorize/AuthorizeCreditCard.php | 121 | } | COMMENT |
| LOW | app/PaymentDrivers/Factory/ForteCustomerFactory.php | 41 | "region" => $client->state, | COMMENT |
| LOW | app/PaymentDrivers/Stripe/SEPA.php | 161 | $data['client'] = $this->stripe->client; | COMMENT |
| LOW | app/Livewire/RequiredClientInfo.php | 141 | // 'client.shipping_postal_code' => '', | COMMENT |
| LOW | app/Http/Requests/Project/InvoiceProjectRequest.php | 41 | COMMENT | |
| LOW | app/Http/Requests/Company/UpdateCompanyRequest.php | 101 | $rules['settings.ses_region'] = 'required_if:settings.email_sending_method,client_ses'; //ses specific rules | COMMENT |
| LOW | app/Http/Controllers/BaseController.php | 281 | // $permissions_array = [ | COMMENT |
| LOW | app/Http/Controllers/SelfUpdateController.php | 141 | return response()->json(['message' => 'Update completed'], 200); | COMMENT |
| LOW | app/Export/CSV/CreditExport.php | 241 | // } | COMMENT |
| LOW | app/Export/CSV/BaseExport.php | 2081 | // foreach ($grouped as $group_value => $group_rows) { | COMMENT |
| LOW | app/Export/CSV/VendorExport.php | 181 | COMMENT | |
| LOW | app/Jobs/PostMark/ProcessPostmarkWebhook.php | 141 | // "FirstOpen": true, | COMMENT |
| LOW | app/Jobs/PostMark/ProcessPostmarkWebhook.php | 201 | // "MessageStream": "outbound", | COMMENT |
| LOW | app/Jobs/PostMark/ProcessPostmarkWebhook.php | 241 | // "example_2": "value" | COMMENT |
| LOW | app/Jobs/PostMark/ProcessPostmarkWebhook.php | 281 | if ($sl) { | COMMENT |
| LOW | app/Jobs/PostMark/ProcessPostmarkWebhook.php | 301 | // "MessageID": "00000000-0000-0000-0000-000000000000", | COMMENT |
| LOW | app/Jobs/Ninja/MailWebhookSync.php | 101 | COMMENT | |
| LOW | app/Jobs/Ninja/MailWebhookSync.php | 121 | COMMENT | |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 141 | // "tags": [ | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 161 | // ], | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 221 | // "date": "2023-12-21 18:42:31", | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 261 | // { | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 281 | // "email": "gloria46@example.com", | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 301 | // "date" : "yyyy-mm-dd hh:i:s", | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 361 | // "email" : "example@example.com", | COMMENT |
| LOW | app/Jobs/Company/CompanyImport.php | 2241 | // $obj_array['contact_key'] = Str::random(32); | COMMENT |
| LOW | app/Events/Invoice/InvoiceWasCreated.php | 61 | { | COMMENT |
| LOW | app/Listeners/LogResponseReceived.php | 41 | // nlog(json_encode($event->request->headers())); | COMMENT |
| LOW | app/Listeners/Activity/PaymentUpdatedActivity.php | 61 | COMMENT | |
| LOW | app/Notifications/Admin/EntityViewedNotification.php | 121 | // [ | COMMENT |
| LOW | app/Notifications/Admin/EntityViewedNotification.php | 141 | // "texts.notification_{$this->entity_name}_viewed_subject", | COMMENT |
| LOW | app/Services/Quote/UpdateReminder.php | 81 | // $this->settings->schedule_reminder2 == 'after_valid_until_date') { | COMMENT |
| LOW | app/Services/Quote/UpdateReminder.php | 101 | COMMENT | |
| LOW | app/Services/Quote/UpdateReminder.php | 121 | // } | COMMENT |
| LOW | app/Services/Quote/UpdateReminder.php | 141 | // $partial_or_due_date = ($this->quote->partial > 0 && isset($this->quote->partial_due_date)) ? $this->quot | COMMENT |
| LOW | app/Services/Quote/UpdateReminder.php | 181 | // return Carbon::parse($date)->addDay()->startOfDay(); | COMMENT |
| LOW | app/Services/Quote/UpdateReminder.php | 201 | // return Carbon::parse($date)->addYears(2)->startOfDay(); | COMMENT |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | database/seeders/BanksSeeder.php | 33 | $banks = '[{"id":"421","name":"ING DIRECT (Canada)","fid":"061400152","org":"INGDirectCanada","url":"https://ofx | CODE |
| LOW | app/Utils/Ninja.php | 23 | public const TEST_USERNAME = 'user@example.com'; | CODE |
| LOW | app/Utils/Traits/MakesTemplateData.php | 139 | $data['$email'] = ['value' => 'user@example.com', 'label' => ctrans('texts.email')]; | CODE |
| LOW | app/Utils/Traits/MakesTemplateData.php | 176 | $data['$company.phone'] = ['value' => '555-3432', 'label' => ctrans('texts.phone')]; | CODE |
| LOW | app/Utils/Traits/MakesTemplateData.php | 177 | $data['$company.email'] = ['value' => 'user@example.com', 'label' => ctrans('texts.email')]; | CODE |
| LOW | app/PaymentDrivers/Factory/SquareCustomerFactory.php | 56 | "address_line_1": "123 Main St", | CODE |
| LOW | app/Http/ValidationRules/Account/BlackListRule.php | 1271 | "fake-email.pp.ua", | CODE |
| LOW | app/Rules/CommaSeparatedEmails.php | 28 | * - "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 152 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 170 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 188 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 233 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 277 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 295 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 311 | // "sender_email": "user@example.com", | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 328 | // "sender_email": "user@example.com" | COMMENT |
| LOW | app/Jobs/Brevo/ProcessBrevoWebhook.php | 370 | // "sender_email": "user@example.com", | COMMENT |
| LOW | app/Import/Pancake/CsvTransformer.php | 26 | private const IGNORED_EMAIL_ADDRESSES = ['test@test.com']; | CODE |
| LOW | app/Import/Pancake/DatabaseTransformer.php | 1058 | ), fn(string $email): bool => filter_var($email, FILTER_VALIDATE_EMAIL) !== false && $email !== 'test@test.com') | CODE |
| LOW | app/Services/Template/TemplateMock.php | 30 | public string $purchase_order_data = '[{"vendor":{"name":"Venny the Vendor","vat_number":"VAT:DE3384577","currency": | CODE |
| LOW | app/Console/Commands/CreateSingleAccount.php | 401 | $cc->email = 'user@example.com'; | CODE |
| LOW | app/Console/Commands/CreateAccount.php | 86 | $email = $this->option('email') ?? 'admin@example.com'; | CODE |
| LOW | config/former.php | 61 | 'placeholder', | CODE |
| LOW | config/ninja.php | 86 | 'username' => 'user@example.com', | CODE |
| LOW | …iews/themes/ninja2020/auth/passwords/request.blade.php | 30 | placeholder="user@example.com" | CODE |
| LOW | resources/views/email/example.blade.php | 38 | Lorem ipsum dolor sit amet. I love InvoiceNinja. | CODE |
| LOW | resources/views/email/example.blade.php | 38 | Lorem ipsum dolor sit amet. I love InvoiceNinja. | CODE |
| LOW | tests/MockAccountData.php | 255 | $fake_email = uniqid('testuser') . '@gmail.com'; | CODE |
| LOW | tests/MockAccountData.php | 285 | $settings->email = $fake_email; | CODE |
| LOW | tests/MockAccountData.php | 304 | $user = User::whereEmail($fake_email)->first(); | CODE |
| LOW | tests/MockAccountData.php | 310 | 'email' => $fake_email, | CODE |
| LOW⚡ | tests/Unit/GeneratesConvertedQuoteCounterTest.php | 69 | $fake_email = uniqid('testuser') . '@gmail.com'; | CODE |
| LOW⚡ | tests/Unit/GeneratesConvertedQuoteCounterTest.php | 71 | $user = User::whereEmail($fake_email)->first(); | CODE |
| LOW⚡ | tests/Unit/GeneratesConvertedQuoteCounterTest.php | 77 | 'email' => $fake_email, | CODE |
| LOW | tests/Unit/JsonDesignEmptyFieldVisibilityTest.php | 38 | '$client.name' => 'Acme Corp', | CODE |
| LOW | …Unit/Services/Quickbooks/QbClientDuplicateNameTest.php | 149 | $clientName = 'Acme Corp'; | CODE |
| LOW | …Unit/Services/Quickbooks/QbClientDuplicateNameTest.php | 154 | ->with("SELECT Id FROM Customer WHERE DisplayName = 'Acme Corp'", 1, 1) | CODE |
| LOW⚡ | tests/Unit/Services/Client/RFFServiceTest.php | 91 | $this->assertTrue(Validator::make(['contact_email' => 'user@example.com'], $rules)->fails()); | CODE |
| LOW⚡ | tests/Unit/Services/Client/RFFServiceTest.php | 93 | $this->assertTrue(Validator::make(['contact_email' => 'user@example.org'], $rules)->passes()); | CODE |
| LOW⚡ | tests/Unit/Services/Client/RFFServiceTest.php | 101 | $contact->email = 'jane.doe@example.org'; | CODE |
| LOW | tests/Unit/Services/Client/RFFServiceTest.php | 135 | $contact->email = 'user@example.com'; | CODE |
| LOW | tests/Integration/CompanyLedgerTest.php | 63 | $fake_email = uniqid('testuser') . '@gmail.com'; | CODE |
| LOW | tests/Integration/CompanyLedgerTest.php | 80 | $settings->email = $fake_email; | CODE |
| LOW | tests/Integration/CompanyLedgerTest.php | 94 | $user = User::whereEmail($fake_email)->first(); | CODE |
| LOW | tests/Integration/CompanyLedgerTest.php | 98 | 'email' => $fake_email, | CODE |
| LOW⚡ | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 492 | ->with(290868, '01234567890', 'John Doe', 'john@gmail.com') | CODE |
| LOW⚡ | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 496 | $result = $this->proxy->c5Activate('John Doe', 'john@gmail.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 510 | $result = $this->proxy->c5Activate('John Doe', 'john@gmail.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 523 | $result = $this->proxy->c5Activate('John Doe', 'john@gmail.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 534 | ->with(290868, '01234567890', 'John Doe', 'john@gmail.com') | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 538 | $result = $this->proxy->c5Deactivate('John Doe', 'john@gmail.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 579 | $result = $this->proxy->c5Activate('John Doe', 'john@gmail.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 594 | $result = $this->proxy->c5Deactivate('John Doe', 'john@gmail.com'); | CODE |
| LOW | …Mock/Quickbooks/Http/Response/200-cutomer-response.txt | 757 | "Line1": "123 Main Street", | CODE |
| LOW | tests/Pdf/PdfServiceTest.php | 44 | private string $fake_email; | CODE |
| LOW | tests/Pdf/PdfServiceTest.php | 83 | $this->fake_email = uniqid('testuser') . '@gmail.com'; | CODE |
| LOW | tests/Pdf/PdfServiceTest.php | 292 | $settings->email = $this->fake_email; | CODE |
| LOW | tests/Pdf/PdfServiceTest.php | 356 | $settings->email = $this->fake_email; | CODE |
| LOW | tests/Pdf/PdfServiceTest.php | 422 | $settings->email = $this->fake_email; | CODE |
| LOW | tests/Pdf/PdfServiceTest.php | 475 | $settings->email = $this->fake_email; | CODE |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/Jobs/Company/CompanyImport.php | 2281 | * In the case of users - we need to check if the system | COMMENT |
| LOW | resources/js/clients/payments/stripe-ach.js | 133 | // Step 1: Collect bank account using Financial Connections | COMMENT |
| LOW | tests/Feature/Payments/DeletePaymentTest.php | 189 | // Step 1: Delete the CREDIT first | COMMENT |
| LOW | tests/Feature/Payments/DeletePaymentTest.php | 201 | // Step 2: Delete the PAYMENT second | COMMENT |
| LOW | tests/Feature/Payments/DeletePaymentTest.php | 289 | // Step 1: Delete the PAYMENT first | COMMENT |
| LOW | tests/Feature/Payments/CreditRefundDoubleSpendTest.php | 264 | // Step 1: Create payment with credit | COMMENT |
| LOW | tests/Feature/Payments/CreditRefundDoubleSpendTest.php | 297 | // Step 2: Refund the full amount | COMMENT |
| LOW | tests/Feature/Payments/CreditRefundDoubleSpendTest.php | 331 | // Step 3: Re-apply the credit to the same invoice | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/js/clients/payments/stripe-ach.js | 133 | // Step 1: Collect bank account using Financial Connections | COMMENT |
| LOW | tests/Feature/Payments/DeletePaymentTest.php | 189 | // Step 1: Delete the CREDIT first | COMMENT |
| LOW | tests/Feature/Payments/DeletePaymentTest.php | 201 | // Step 2: Delete the PAYMENT second | COMMENT |
| LOW | tests/Feature/Payments/DeletePaymentTest.php | 289 | // Step 1: Delete the PAYMENT first | COMMENT |
| LOW | tests/Feature/Payments/CreditRefundDoubleSpendTest.php | 264 | // Step 1: Create payment with credit | COMMENT |
| LOW | tests/Feature/Payments/CreditRefundDoubleSpendTest.php | 297 | // Step 2: Refund the full amount | COMMENT |
| LOW | tests/Feature/Payments/CreditRefundDoubleSpendTest.php | 331 | // Step 3: Re-apply the credit to the same invoice | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/Services/Quickbooks/Models/QbQuote.php | 193 | //new quote scaffold | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ocument/Standards/Validation/Verifactu/EntityLevel.php | 360 | // // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/cors.php | 36 | // don't forget to check app/Http/Middleware/Cors.php | COMMENT |