Sign inSign up

bessa3301/die-dump-detector

By bessa3301

•Updated about 2 years ago

Used for Quality Assurance (QA) pipelines to assure there are no uses of dd() functions in the code.

Image
Developer tools
1

618

bessa3301/die-dump-detector repository overview

⁠dd() Detector

⁠a simple way to Laravel diedump function misuse.

⁠TLDR; How to use this

  1. cd into your laravel application directory.
  2. run this command docker run -v .:/laravel --rm -it bessa3301/die-dump-detector bash find_dd.sh
⁠This package expects you to have a Laravel application with:
  • app folder with your backend logic;
⁠How it works?

it is a simple shell script that reads and evaluates files. It is compatible with popular pipelines such as github, bitbucket and gitlab.

⁠Bitbucket usage

bitbucket-pipelines.yml

pipelines:
  default:
    - stage:
        name: Use your step name here bro
        steps:
          - step:
              name: "DD detector"
              image: bessa3301/die-dump-detector
              script:
                - cp /laravel/find_dd.sh .
                - bash find_dd.sh

Tag summary

Content type

Image

Digest

sha256:b01e2a5c4…

Size

8.6 MB

Last updated

about 2 years ago

docker pull bessa3301/die-dump-detector