CyberSource / CyberSource/cybersource-rest-client-php

GMP PHP Extension dependency causing issues

Open
#228 0 comments 1 reaction 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

The newly introduced dependency on the GMP PHP Extension is causing issues with many of our installations. GMP is not a standard PHP extension which is affecting clients on Managed hosting providers as well as hardened linux installs on VPS deployments.

Searching the codebase, I could not find any cases of gmp_* functions being used.

If it's not being used, I would suggest removing that dependency. If it is being used, it would be highly preferrable to use alternative methods which do not add this dependency.

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

Search the codebase for gmp_* calls and inspect where the GMP PHP Extension dependency is declared. Determine whether the dependency is actually required or whether an alternative is needed. Done means installations no longer require GMP, with the existing client behavior preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.