Adding basic project settings

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Initial check-in of sources.

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Cleaned up the browser / inspector model

Now the Browser is the main object, which fires events at inspection opportunities.

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Adding Inspection namespace

Signed-off-by: John Lianoglou <prometheas@gmail.com>
PSR-2 compliance source code fixes

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Relocating document and header inspector classes

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Added namespace declaration and phpdoc to HttpResponseInspector class

Signed-off-by: John Lianoglou <prometheas@gmail.com>
HttpResponseInspector's access to request data is now self-contained and complete

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Always registering the header inspector, now directly in the HttpResponseInspector

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Renaming HttpResponseInspector to InspectableResponse

This was done to avoid conflation of this class with the specialized inspector type classes.

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Fixing property name typo

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Fixing array_map() call.

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Actually fixing property name typo (last commit with this message adjusted mime string handling… sigh)

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Normalizing all HTTP headers to lowercase

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Fixing bad boolean check

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Applying sanitization to all $key arguments in HttpHeaderInspector

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Fixing bugs related to HtmlDocumentTreeInspector's DocumentElement property

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Actually capturing matches in preg_match() for $context string

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Completed the Browser class's API

Signed-off-by: John Lianoglou <prometheas@gmail.com>
Fixed a parse error in composer.json

Turns out you can't leave comments behind for yourself.

Signed-off-by: John Lianoglou <prometheas@gmail.com>