2017 © Pedro Peláez
 

library wtw

Whatthewhat clonse for PHP

image

xsist10/wtw

Whatthewhat clonse for PHP

  • Wednesday, February 19, 2014
  • by xsist10
  • Repository
  • 1 Watchers
  • 10 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

WhatTheWhat PHP clone

Build Status, (*1)

A PHP clone of WhatTheWhat., (*2)

Flavours

Inline

This script loads the WhatTheWhat checker inline with your code so you can set levels on what kind of errors you're looking for. This can cause problems with code conflicts or autoloading issues., (*3)

Dump

This script takes the standard error of the script and checks that. No chance of code conflicts but does not have the refined control of the inline version., (*4)

Getting Started

Install

Via Composer, (*5)

``` json { "require": { "xsist10/wtw": "~1.0" } }, (*6)


Direct Download ``` bash wget https://github.com/xsist10/wtw/raw/master/wtw.phar wget https://github.com/xsist10/wtw/raw/master/wtw-inline.phar

Usage

``` bash $ ./wtw.phar script.php $ ./wtw-inline.phar script.php, (*7)


Change the search engine ``` bash $ ./wtw.phar script.php --search=StackOverflow $ ./wtw.phar script.php --search=DuckDuckGo $ ./wtw-inline.phar script.php --search=StackOverflow $ ./wtw-inline.phar script.php --search=DuckDuckGo

Catch strict messages ``` bash $ ./wtw-inline.phar script.php -s, (*8)


Catch warnings ``` bash $ ./wtw-inline.phar script.php -w

Catch deprecated notices ``` bash $ ./wtw-inline.phar script.php -d, (*9)



## Testing ``` bash $ phpunit

Contributing

Please see CONTRIBUTING for details., (*10)

Credits

License

The MIT License (MIT). Please see License File for more information., (*11)

The Versions

19/02 2014

dev-master

9999999-dev

Whatthewhat clonse for PHP

  Sources   Download

MIT

The Requires