From 67e0c267de43dd730658377b4e8c081d863f8127 Mon Sep 17 00:00:00 2001 From: 3m1n3nc3 <52163001+3m1n3nc3@users.noreply.github.com> Date: Sat, 24 Oct 2026 07:49:57 +0000 Subject: [PATCH 1/2] chore: rename the Packagist package to toneflix/paystack The GitHub repo stays at toneflix/paystack-php; only the published Composer package name changes, dropping the redundant -php suffix. --- README.md | 6 +++--- composer.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 068e6fc..5ec709d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Toneflix Paystack PHP -[![Latest Version on Packagist](https://img.shields.io/packagist/v/toneflix/paystack-php.svg?style=flat-square)](https://packagist.org/packages/toneflix/paystack-php) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/toneflix/paystack.svg?style=flat-square)](https://packagist.org/packages/toneflix/paystack) [![Tests](https://github.com/toneflix/paystack-php/actions/workflows/run-tests.yml/badge.svg)](https://github.com/toneflix/paystack-php/actions/workflows/run-tests.yml) -[![Total Downloads](https://img.shields.io/packagist/dt/toneflix/paystack-php.svg?style=flat-square)](https://packagist.org/packages/toneflix/paystack-php) +[![Total Downloads](https://img.shields.io/packagist/dt/toneflix/paystack.svg?style=flat-square)](https://packagist.org/packages/toneflix/paystack) ## Introduction @@ -14,7 +14,7 @@ the transport is swappable for testing). ## Installation ```bash -composer require toneflix/paystack-php +composer require toneflix/paystack ``` ## Usage diff --git a/composer.json b/composer.json index aadb6ab..336bb83 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "toneflix/paystack-php", + "name": "toneflix/paystack", "description": "A modern, dependency-light PHP client for the Paystack API.", "keywords": [ "paystack", From 8f1d4de0aba028d388bf4f7e74b570a4727833e9 Mon Sep 17 00:00:00 2001 From: 3m1n3nc3 <52163001+3m1n3nc3@users.noreply.github.com> Date: Sat, 24 Oct 2026 08:04:34 +0000 Subject: [PATCH 2/2] fix: stop the no-coverage-driver warning from failing CI PHPUnit's TestResult::wasSuccessful() fails on any test-runner-triggered warning (which 'No code coverage driver available' is) independent of failOnWarning -- there's no XML flag that suppresses it. CI never passes a --coverage-* flag, so drop the report block entirely; alone still scopes what a local --coverage-html run measures. Verified locally: vendor/bin/phpunit exits 0 with no warning. --- phpunit.xml.dist | 7 ------- 1 file changed, 7 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a2f765e..b841034 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -20,13 +20,6 @@ ./src - - - - - - -