Skip to content

Update code for compatibility with PHP 8.2 - #63

Open
realwahl wants to merge 19 commits into
zulucrypto:masterfrom
realwahl:master
Open

realwahl wants to merge 19 commits into
zulucrypto:masterfrom
realwahl:master

Conversation

@realwahl

@realwahl realwahl commented Sep 9, 2026

Copy link
Copy Markdown

No description provided.

- Add Account::getPaymentOperations() + unit tests
- Standardize amount formatting (7 decimals) and clarify PHPDocs
- PHP 8.3 / PHPUnit 9 compatibility + deprecation fixes
- Improve Horizon error handling and integration test resilience
- Use only STELLAR_NETWORK_PASSPHRASE; update README with env examples
- Add CHANGELOG 0.7.1 and release notes
- Add PHP version requirement (^7.3 || ^8.0)
  - Transaction/Operation/Ledger: parse Horizon RFC3339 via DateTime; return ?DateTime for createdAt/closedAt; null on parse
  failure
  - Operation: add createdAt and transactionSuccessful; hydrate from response
  - docs: add “Timestamps and Nullability” to README
  - changelog: add 0.7.2 patch notes
…e the ENV variables are not set.

Added step-by-step guide in Readme.md
  - Add tests/bootstrap.php to locate vendor autoload both in-repo and in consumer projects.
  - Point phpunit.xml.dist to the new bootstrap and set default excluded groups.
  - Make tests/setup-integration-network.php use the portable bootstrap and provide sane env fallbacks.
Fix method signatures for compatibility with PHP 8.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant