Skip to content

[Insight] Your project should not contain "FIXME" comments - in src/…/PictureUploadListener.php, line 14 #11

@tcheuD

Description

@tcheuD

in src/EventListener/PictureUploadListener.php, line 14

Tasks comments are left in the code when a feature (or a bug) isn't completely developed (or fixed). You should complete the implementation and remove the comment.

use Doctrine\ORM\Event\LifecycleEventArgs;
use Doctrine\ORM\Event\PreUpdateEventArgs;
use Symfony\Component\HttpFoundation\File\File;
use Symfony\Component\HttpFoundation\File\UploadedFile;

//TODO: current status: handle only uploads from Picture entity, need to handle Tick's main pic as wel
class PictureUploadListener
{
    private $uploader;

    public function __construct(FileUploader $uploader)

Posted from SymfonyInsight

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions