A source-available invoice, quote, project and time-tracking app built with Laravel
This report presents the forensic synthetic code analysis of invoiceninja/invoiceninja, a PHP project with 9,978 GitHub stars. SynthScan v2.0 examined 1,053,695 lines of code across 4252 source files, recording 4292 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 4.6 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4292 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| 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 | 959 | public static function notificationAdminDefaults(): stdClass | CODE |
| LOW | app/DataMapper/CompanySettings.php | 979 | public static function getEntityVariableDefaults(): stdClass | CODE |
| LOW | app/DataMapper/ReportData.php | 59 | public static function fromTransactionEventPayload(array $data, ?int $eventId): self | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportEntryData.php | 72 | public static function fromTransactionEventPayload(array $data, int $eventId): self | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportEntryData.php | 83 | public static function supportsTransactionEventId(int $eventId): bool | CODE |
| LOW | app/DataMapper/FranceEReporting/PartyData.php | 74 | private static function publicIdentifiersFromArray(mixed $data): array | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportData.php | 129 | public static function rectificativeTransactionReport( | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportData.php | 148 | public static function rectificativePaymentReport( | CODE |
| LOW | app/DataMapper/FranceEReporting/FRReportData.php | 167 | public static function combinedRectificativeReport( | CODE |
| LOW | app/DataMapper/FranceEReporting/DeclarantPartyData.php | 73 | 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 | 1194 | protected function generateEntityImagesMarkup() | CODE |
| LOW | app/Utils/VendorHtmlEngine.php | 821 | protected function generateEntityImagesMarkup() | CODE |
| LOW | app/Utils/Traits/MakesInvoiceValues.php | 195 | private function transformColumnsForHeader(array $columns): array | CODE |
| LOW | app/Utils/Traits/MakesInvoiceValues.php | 227 | 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 |
| 3573 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 | 352 | // ── Status check ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/HelcimPaymentDriver.php | 368 | // ── Amount check ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/HelcimPaymentDriver.php | 393 | // ── Currency check ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/Helcim/ACH.php | 277 | // ── Case (a): synchronous ACH — transactionId present ──────────────── | COMMENT |
| MEDIUM | app/PaymentDrivers/Helcim/ACH.php | 326 | // ── Case (b): asynchronous ACH — no transactionId yet ──────────────── | 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 | 1690 | // ─── API Endpoints ────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/Unit/Chart/AnalyticsQueriesTest.php | 1722 | // ─── 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 |
| 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> | 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_EXEMPT => 'E', // EXEMPT_FROM_TAX = | COMMENT |
| LOW | app/Models/CompanyGateway.php | 121 | 4 => ['card' => 'images/credit_cards/Test-AmericanExpress-Icon.png', 'text' => 'American Express'], | COMMENT |
| LOW | app/Models/Quote.php | 481 | } | 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 | // ->where('company_id', $this->company_id) | COMMENT |
| LOW | app/Models/BaseModel.php | 201 | COMMENT | |
| LOW | app/PaymentDrivers/GoCardlessPaymentDriver.php | 301 | //after i resolve the payment hash, ensure the invoice has not been marked as paid and the payment does not alre | COMMENT |
| LOW | app/PaymentDrivers/GoCardlessPaymentDriver.php | 321 | COMMENT | |
| LOW | app/PaymentDrivers/PayPalPPCPPaymentDriver.php | 21 | use App\Exceptions\PaymentFailed; | 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/Controllers/BaseController.php | 281 | // $permissions_array = [ | COMMENT |
| LOW | app/Http/Controllers/SelfUpdateController.php | 141 | } | COMMENT |
| LOW | app/Export/CSV/CreditExport.php | 241 | // } | COMMENT |
| LOW | app/Export/CSV/BaseExport.php | 2081 | 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/Util/Import.php | 2181 | // $client->balance += $credit_balance; | 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/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 |
| 152 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/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 = $this->faker->email(); | 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 = $this->faker->email(); | 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 | tests/Unit/Providers/RouteRateLimiterTest.php | 22 | 'email' => 'user@example.com', | CODE |
| LOW | tests/Unit/Providers/RouteRateLimiterTest.php | 26 | $this->assertSame('user@example.com', $this->keyFor($limits[1])); | CODE |
| LOW | tests/Unit/Providers/RouteRateLimiterTest.php | 54 | 'email' => 'user@example.com', | CODE |
| LOW | tests/Unit/Providers/RouteRateLimiterTest.php | 59 | $this->assertSame('user@example.com', $this->keyFor($limits[1])); | 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 | 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 = $this->faker->email(); | 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⚡ | tests/Integration/UniqueEmailTest.php | 73 | 'email' => 'user@example.com', | CODE |
| LOW⚡ | tests/Integration/UniqueEmailTest.php | 80 | 'email' => 'user@example.com', | CODE |
| LOW⚡ | tests/Integration/UniqueEmailTest.php | 85 | $user_find = User::on('db-ninja-01')->where('email', 'user@example.com')->first(); | CODE |
| LOW⚡ | tests/Integration/UniqueEmailTest.php | 91 | $user_find = User::on('db-ninja-02')->where('email', 'user@example.com')->first(); | CODE |
| LOW⚡ | tests/Integration/UniqueEmailTest.php | 100 | $this->assertFalse($this->rule->passes('email', 'user@example.com')); | CODE |
| LOW⚡ | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 486 | ->with(290868, '01234567890', 'John Doe', 'john@example.com') | CODE |
| LOW⚡ | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 490 | $result = $this->proxy->c5Activate('John Doe', 'john@example.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 504 | $result = $this->proxy->c5Activate('John Doe', 'john@example.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 517 | $result = $this->proxy->c5Activate('John Doe', 'john@example.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 528 | ->with(290868, '01234567890', 'John Doe', 'john@example.com') | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 532 | $result = $this->proxy->c5Deactivate('John Doe', 'john@example.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 573 | $result = $this->proxy->c5Activate('John Doe', 'john@example.com'); | CODE |
| LOW | …/Integration/Einvoice/Storecove/StorecoveProxyTest.php | 588 | $result = $this->proxy->c5Deactivate('John Doe', 'john@example.com'); | CODE |
| LOW | …Mock/Quickbooks/Http/Response/200-cutomer-response.txt | 757 | "Line1": "123 Main Street", | CODE |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/Jobs/Company/CompanyImport.php | 2279 | * In the case of users - we need to check if the system | COMMENT |
| LOW | resources/js/clients/payments/stripe-ach.js | 108 | // 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 | 108 | // 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 | …ocument/Standards/Validation/Verifactu/EntityLevel.php | 349 | // // Example usage: | COMMENT |
| LOW | tests/Unit/Tax/VatNumberTest.php | 30 | // Usage example | COMMENT |
| LOW | tests/Unit/Tax/VatNumberTest.php | 43 | // Usage example | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/Services/Quickbooks/Models/QbQuote.php | 193 | //new quote scaffold | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/cors.php | 36 | // don't forget to check app/Http/Middleware/Cors.php | COMMENT |