Skip to content

feat: update default company email prompt in install command and fix … - #74

Open
luizhakan wants to merge 34 commits into
mazer-dev:mainfrom
luizhakan:main
Open

feat: update default company email prompt in install command and fix …#74
luizhakan wants to merge 34 commits into
mazer-dev:mainfrom
luizhakan:main

build: promover laravel/mcp para dependência de produção

dd5f6ce
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 15, 2026 in 1m 12s

Quality Gate failed

Failed conditions
D Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 19 in app/Filament/App/Resources/WorkSessionResource/Pages/CreateWorkSession.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this "TODO" comment.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AaAGFxlwRLbti20rG5fb&open=AaAGFxlwRLbti20rG5fb&pullRequest=74

Check warning on line 141 in app/Services/Ai/OpenAiAudioTranscriber.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9Ck2LsYQpZGCMVeS4L&open=AZ9Ck2LsYQpZGCMVeS4L&pullRequest=74

Check failure on line 58 in tests/Feature/WhatsappGroupSupportTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "5554999999999@s.whatsapp.net" 3 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9x4P9PjoH1FwVlh4TV&open=AZ9x4P9PjoH1FwVlh4TV&pullRequest=74

Check failure on line 202 in tests/Feature/WhatsappGroupSupportTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Grupo A" 5 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9x4P9PjoH1FwVlh4TS&open=AZ9x4P9PjoH1FwVlh4TS&pullRequest=74

Check warning on line 232 in app/Filament/App/Resources/InvoiceResource.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function "table" has 215 lines, which is greater than the 150 lines authorized. Split it into smaller functions.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9Ck2IwYQpZGCMVeS4D&open=AZ9Ck2IwYQpZGCMVeS4D&pullRequest=74

Check warning on line 32 in tests/Feature/Planner/GenerateDailyPlanJobTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "$company".

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ-ZnmUSRVSYGxsIMjnI&open=AZ-ZnmUSRVSYGxsIMjnI&pullRequest=74

Check warning on line 152 in tests/Feature/Planner/DailyPlanGeneratorTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the unused function parameter "$images".

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ-ZjOrfTAUVQ8sYaFTO&open=AZ-ZjOrfTAUVQ8sYaFTO&pullRequest=74

Check failure on line 98 in tests/Feature/EvolutionApiClientTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "image/png" 3 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DC4DEavlM4_6d-0Nw&open=AZ9DC4DEavlM4_6d-0Nw&pullRequest=74

Check warning on line 102 in app/Services/Evolution/EvolutionWebhookHandler.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9HzbvES0ctZWBBBYgu&open=AZ9HzbvES0ctZWBBBYgu&pullRequest=74

Check failure on line 181 in export_emails.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

LLMs running this code with faulty CLI arguments can escape file system restrictions. Refactor this code to validate the constructed path before accessing the file system.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ83ZG3Tl5yntLbkHsrt&open=AZ83ZG3Tl5yntLbkHsrt&pullRequest=74

Check failure on line 66 in tests/Feature/Assistant/AssistantChatServiceTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "America/Sao_Paulo" 4 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9SGiZ-Ku499Cc-GFhD&open=AZ9SGiZ-Ku499Cc-GFhD&pullRequest=74

Check warning on line 250 in resources/views/livewire/assistant-chat.blade.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add an "id" attribute to this input field and associate it with a label.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DjRPocYLyWAeW7VbG&open=AZ9DjRPocYLyWAeW7VbG&pullRequest=74

Check warning on line 332 in resources/views/filament/app/resources/whatsapp-conversation-resource/messages-chat.blade.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A form label must be associated with a control and have accessible text.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DjRRdcYLyWAeW7VbH&open=AZ9DjRRdcYLyWAeW7VbH&pullRequest=74

Check failure on line 22 in tests/Unit/Evolution/WhatsappJidNormalizerTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "5554999371490" 7 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9bIvJK2VrreL12id0v&open=AZ9bIvJK2VrreL12id0v&pullRequest=74

Check failure on line 135 in tests/Feature/Assistant/AssistantWhatsappWebhookHandlerTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "5511999990000@s.whatsapp.net" 5 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9bIvGA2VrreL12id0p&open=AZ9bIvGA2VrreL12id0p&pullRequest=74

Check failure on line 21 in app/Services/Ai/Context/InvoicesContextSection.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DjRLwcYLyWAeW7Va-&open=AZ9DjRLwcYLyWAeW7Va-&pullRequest=74

Check warning on line 216 in app/Services/Planner/DailyPlanContextBuilder.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ-ZtdmR1GZaXg3BjbIh&open=AZ-ZtdmR1GZaXg3BjbIh&pullRequest=74

Check failure on line 45 in tests/Feature/WhatsappGroupSupportTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "120363123456789012@g.us" 12 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9x4P9PjoH1FwVlh4TU&open=AZ9x4P9PjoH1FwVlh4TU&pullRequest=74

Check failure on line 126 in app/Console/Commands/AiBriefing.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal " dia(s)" 4 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DjRHlcYLyWAeW7Va6&open=AZ9DjRHlcYLyWAeW7Va6&pullRequest=74

Check failure on line 22 in tests/Unit/Evolution/WhatsappJidNormalizerTest.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "555499371490" 3 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9bIvJK2VrreL12id0x&open=AZ9bIvJK2VrreL12id0x&pullRequest=74

Check warning on line 74 in app/Services/Ai/AssistantAttachmentProcessor.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define and throw a dedicated exception instead of using a generic one.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9bIvOd2VrreL12id08&open=AZ9bIvOd2VrreL12id08&pullRequest=74

Check warning on line 54 in app/Services/Ai/AssistantQuickAnswers.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 4 returns, which is more than the 3 allowed.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ-ZjO4ETAUVQ8sYaFTS&open=AZ-ZjO4ETAUVQ8sYaFTS&pullRequest=74

Check warning on line 393 in app/Services/Ai/AssistantChatService.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 5 returns, which is more than the 3 allowed.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DjRNUcYLyWAeW7VbE&open=AZ9DjRNUcYLyWAeW7VbE&pullRequest=74

Check warning on line 440 in app/Services/Ai/AssistantChatService.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This method has 4 returns, which is more than the 3 allowed.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9SGigNKu499Cc-GFhF&open=AZ9SGigNKu499Cc-GFhF&pullRequest=74

Check failure on line 118 in app/Console/Commands/AiBriefing.php

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Sem cliente" 3 times.

See more on https://sonarcloud.io/project/issues?id=mazer-dev_pejota&issues=AZ9DjRHlcYLyWAeW7Va7&open=AZ9DjRHlcYLyWAeW7Va7&pullRequest=74