Skip to content

Añadir documentación sobre el manejo de bloques en el MailNotifier y …#1797

Merged
NeoRazorX merged 2 commits intoNeoRazorX:masterfrom
daniel89fg:doc-bloques-mail
Sep 26, 2025
Merged

Añadir documentación sobre el manejo de bloques en el MailNotifier y …#1797
NeoRazorX merged 2 commits intoNeoRazorX:masterfrom
daniel89fg:doc-bloques-mail

Conversation

@daniel89fg
Copy link
Copy Markdown
Contributor

…comentar la adición de adjuntos.

¿Cómo has probado los cambios?

Toda modificación debe haber sido mínimamente probada. Marca o describe las pruebas que has realizado:

  • He revisado mi código antes de enviarlo.
  • He probado que funciona correctamente en mi PC.
  • He probado que funciona correctamente con una base de datos vacía.
  • He ejecutado los tests unitarios.

Copilot AI review requested due to automatic review settings September 23, 2025 07:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds documentation and makes adjustments to the MailNotifier class to improve code clarity and understanding. The changes focus on documenting how blocks are handled in email notifications and temporarily commenting out attachment functionality.

  • Added comprehensive documentation explaining block handling mechanism
  • Commented out attachment addition functionality
  • Minor comment formatting improvement

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


foreach ($attach as $adjunto) {
$newMail->addAttachment($adjunto, basename($adjunto));
//$newMail->addAttachment($adjunto, basename($adjunto));
Copy link

Copilot AI Sep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented-out code should be removed rather than left in the codebase. If this functionality needs to be temporarily disabled, consider using a feature flag or configuration option instead.

Suggested change
//$newMail->addAttachment($adjunto, basename($adjunto));

Copilot uses AI. Check for mistakes.
@NeoRazorX NeoRazorX merged commit 3bb8883 into NeoRazorX:master Sep 26, 2025
22 checks passed
@daniel89fg daniel89fg deleted the doc-bloques-mail branch September 29, 2025 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants