Fix missing Undefined index 'posData'

This value does is not always returned from the api
Update instructions to use branch alias
Add phpcs ruleset