Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.2 ]
php: [ 8.4 ]

steps:
- name: Checkout code
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.4
extensions: dom, curl, libxml, mbstring, zip
tools: composer:v2
coverage: none
Expand All @@ -85,7 +85,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.2 ]
php: [ 8.4 ]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Commands

Here are some of the commands that you'll need:
- install dependencies: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer install`
- run tests with phpunit: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer test`
- reformat using php-cs-fixer: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer cs-fix`
- analyse with phpstan: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.2 composer phpstan`
- install dependencies: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.4 composer install`
- run tests with phpunit: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.4 composer test`
- reformat using php-cs-fixer: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.4 composer cs-fix`
- analyse with phpstan: `docker run -it --rm -v $PWD:/app -w /app chialab/php-dev:8.4 composer phpstan`
25 changes: 12 additions & 13 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,21 @@
"description": "Snappt laravel partner API SDK.",
"license": "MIT",
"require": {
"php": ">=8.2",
"illuminate/contracts": "^9.0|^10.0",
"php": ">=8.3",
"guzzlehttp/guzzle": "^7.8",
"tenantcloud/guzzle-helper": "^1.5",
"tenantcloud/data-transfer-objects": "^1.6"
"tenantcloud/guzzle-helper": "^1.5|^2.0",
"tenantcloud/data-transfer-objects": "^1.6|^2.0"
},
"require-dev": {
"pestphp/pest": "^2.8",
"php-cs-fixer/shim": "^3.54",
"tenantcloud/php-cs-fixer-rule-sets": "~3.3.1",
"phpstan/phpstan": "~1.10.21",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-webmozart-assert": "^1.2",
"phpstan/phpstan-mockery": "^1.1",
"nunomaduro/larastan": "^2.6",
"orchestra/testbench": "^7.0 || ^8.5"
"pestphp/pest": "^3.8",
"php-cs-fixer/shim": "^3.75",
"tenantcloud/php-cs-fixer-rule-sets": "~3.4.1",
"phpstan/phpstan": "^2.1.17",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-webmozart-assert": "^2.0",
"phpstan/phpstan-mockery": "^2.0",
"nunomaduro/larastan": "^3.0",
"orchestra/testbench": "^7.0|^8.5|^9.0|^10.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/Properties/DTO/PropertyDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
* @method int|null getPaystub()
* @method bool hasPaystub()
* @method self setSupportedDoctypes(?SupportedDoctypesDTO $supportedDoctypes)
* @method array|null getSupportedDoctypes()
* @method array<string, int>|null getSupportedDoctypes()
* @method bool hasSupportedDoctypes()
* @method list<IdentityVerificationReportImageType>|null getIdentityVerificationReportImageTypes()
* @method bool hasIdentityVerificationReportImageTypes()
Expand Down