Skip to content

Commit

Permalink
feat: autorun all quality checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Pryx committed Oct 22, 2024
1 parent 5f7b4c8 commit 223e104
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 52 deletions.
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 }}
107 changes: 56 additions & 51 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,55 +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": "[email protected]"
},{
"name": "Vojtěch Sajdl",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"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": "[email protected]"
},
"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"
]
{
"name": "Vojtěch Sajdl",
"email": "[email protected]"
}
],
"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"
]
}
}

0 comments on commit 223e104

Please sign in to comment.