emcconville/google-map-polyline-encoding-tool — pull request #4 by martinlindhe (2014-07-11 12:42:49+00:00)
Title: Added importPolyObjects() which extracts polylines from existing objects

To simplify usage, i added a importPolyObjects() method, which allows the user to convert an array of objects to a polyline as long as the objects has the latitude & longitude properties set.

This patch series also contains some code cleanups:
tabs -> spaces
inconsistent opening function bracket { -> used zend convention

Removal of the polyline() function which had 3 different uses embedded inside of it:
parse array => importPolyArray()
parse string => importPolyString()
get existing polyline node => getNode()

I updated the phpunit tests, removed incorrect @covers directives in order to generate a correct code coverage report, and enabled code coverage report generation in phpunit.xml.dist