Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ jobs:
with:
php-version: 8.3
- run: composer install --no-progress --prefer-dist
- run: vendor/bin/phpunit
- run: composer run check-quality
env:
API_KEY: ${{ secrets.API_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.phpunit.result.cache
phpunit.xml
vendor
var
86 changes: 56 additions & 30 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,60 @@
{
"name": "foxentry/php-api-client",
"description": "Foxentry.com PHP API client",
"keywords": ["Foxentry", "Foxentry.com"],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Dominik Hošic",
"email": "hosic@avantro.cz"
},{
"name": "Vojtěch Sajdl",
"email": "sajdl@avantro.cz"
}
],
"require": {
"php": ">=7.4",
"guzzlehttp/guzzle": "^7.8",
"ext-json": "*"
"name": "foxentry/php-api-client",
"description": "Foxentry.com PHP API client",
"keywords": [
"Foxentry",
"Foxentry.com"
],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Dominik Hošic",
"email": "hosic@avantro.cz"
},
"require-dev": {
"phpunit/phpunit": "^11.3.1"
},
"autoload": {
"psr-4": {
"Foxentry\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/",
"Tests\\Unit\\": "tests/Unit/"
}
{
"name": "Vojtěch Sajdl",
"email": "sajdl@avantro.cz"
}
],
"require": {
"php": ">=8.1",
"guzzlehttp/guzzle": "^7.8",
"ext-json": "*"
},
"require-dev": {
"phpunit/phpunit": "^11.3.1",
"phpstan/phpstan": "^1.12",
"squizlabs/php_codesniffer": "^3.10",
"slevomat/coding-standard": "^8.15",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/extension-installer": "^1.4"
},
"autoload": {
"psr-4": {
"Foxentry\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/",
"Tests\\Unit\\": "tests/Unit/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"lint": "phpcs -s",
"lint-fix": "phpcbf",
"phpstan": "phpstan analyse -c phpstan.neon",
"test": "phpunit",
"check-quality": [
"@lint",
"@phpstan",
"@test"
]
}
}
Loading