Repository navigation
Releases
Releases · dejwCake/sms-client
3.0.2 — CI and PHP 8.5 tooling
Maintenance release. Nothing to do when upgrading.
Internal
- CI on GitHub Actions: phpcs, phpstan, phpmd, and tests on PHP 8.4 and 8.5
- Dev tooling on PHP 8.5 images; PHPMD config moved to
phpmd.yml,phpunit.xml.dist→phpunit.xml - Dist archives no longer ship tests, CI and dev config (
.gitattributesexport-ignore)
Minor fix in composer
Allow higher phpunit version than 12.5
Release Notes: 3.0.0
Release Notes: 3.0.0 (Namespace migration, tests & tooling)
Summary
Major release that migrates the library to the DejwCake\SmsClient namespace, updates tests to PHPUnit 12 with pcov coverage, and refreshes project tooling and docs.
Breaking Changes
- Legacy namespace
Matthewbdaly\SMSremoved. - All imports must use
DejwCake\SmsClient.
Changes
- Composer: PSR-4 updated to
DejwCake\SmsClient\; tests mapped toDejwCake\SmsClient\Tests\. - Source: namespaces updated across Client, Contracts, Drivers (Aws, Clockwork, Log, Mail, Nexmo, NullDriver, O2SK, RequestBin, TextLocal, Twilio), and Exceptions.
- Tests: migrated namespaces; added endpoint override tests for Clockwork, RequestBin, TextLocal, Nexmo, Twilio, O2SK.
- Coverage: PHPUnit 12-compatible setup using
pcov(Ubuntu 24.04). - PHPCS:
rootNamespacesaligned to new namespaces. - README: added fork note and namespace change section.
Upgrade Guide
- Update imports to the new namespace:
Matthewbdaly\SMS\...→DejwCake\SmsClient\....
- Refresh autoload:
docker compose run --rm cli composer dump-autoload
- (Optional) Enable coverage with pcov:
docker compose run --rm test ./vendor/bin/phpunit \ -d pcov.enabled=1
Verification
# Run unit tests
docker compose run --rm test ./vendor/bin/phpunit --configuration=/var/www/html/phpunit.xml.distRelease improved version for php 8.1
Upgrade third party libs to latest versions
Rewrite code for php 8.1
Improvements in codebase
Fixing some issues with O2SK driver
Adding test for O2SK
Improve codebase