2017 © Pedro Peláez
 

library var-dump-finder-task

Finds instances of var_dump() in your source code.

image

gubler/var-dump-finder-task

Finds instances of var_dump() in your source code.

  • Wednesday, March 2, 2016
  • by dev88
  • Repository
  • 1 Watchers
  • 0 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

var-dump-finder-task

Build Status, (*1)

Phing tasks to check for var_dump() usage in your source code. This is helpful as part of precommit checks to make sure you don't commit debug code into your repository., (*2)

Installation

Install this package through Composer:, (*3)

composer.phar require gubler/var-dump-finder-task

Setup

You can import the task into your build:, (*4)

<import file="./vendor/gubler/var-dump-finder-task/task.xml"/>

Or define the vardumpfinder task in your build.xml file:, (*5)

<taskdef name="vardumpfinder" classname="Gubler\Phing\VarDumpFinderTask\VarDumpFinderTask" />

Usage

VarDumpFinderTask has two attributes and requires a <fileset> of files to check., (*6)

Attributes

Name Type Description Default
haltonmatch Boolean halt and fail the build if match found false
findincomments Boolean find uses of var_dump in comments false

Example

<vardumpfinder
      haltonmatch="true"
      findincomments="true"
>
      <fileset />
</vardumpfinder>

License

gubler/var-dump-finder-task is released under the MIT license., (*7)

The Versions

02/03 2016

dev-master

9999999-dev

Finds instances of var_dump() in your source code.

  Sources   Download

MIT

The Requires

 

The Development Requires

var_dump phing

02/03 2016

v0.1

0.1.0.0

Finds instances of var_dump() in your source code.

  Sources   Download

MIT

The Requires

 

The Development Requires

var_dump phing

02/03 2016

v0.1-alpha

0.1.0.0-alpha

Finds instances of var_dump() in your source code.

  Sources   Download

MIT

The Requires

 

var_dump phing