CyberSource / CyberSource/cybersource-rest-client-php

Issue with PHP 5.6

Open
#95 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
41
Forks
77
Avg merge
26m
Merged PRs (30d)
1

Description

Hello, I have an error when I'm trying to do a request (with PHP 5.6.40 and cybersource/rest-client-php 0.0.29)

Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /usr/src/myapp/vendor/cybersource/rest-client-php/lib/ApiClient.php on line 338

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting lib/ApiClient.php at line 338 and reproduce the request with PHP 5.6.40 and cybersource/rest-client-php 0.0.29. Done means the client no longer produces the reported parse error when making the request under PHP 5.6.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.