Skip to content

Commit

Permalink
Refactor GitHub Actions workflow and update type checks; modify valid…
Browse files Browse the repository at this point in the history
…ators to ensure boolean return type; enhance code clarity with callable type hinting; update development dependencies in composer.json.
  • Loading branch information
mr-chetan committed Nov 16, 2024
1 parent dcb6a76 commit c5fc24c
Show file tree
Hide file tree
Showing 8 changed files with 340 additions and 667 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/formats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ jobs:
- name: Type Checks
run: composer test:types

- name: Type Coverage
run: composer test:type-coverage min=100
13 changes: 4 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@
"illuminate/support": "^v11.32"
},
"require-dev": {
"laravel/pint": "^v1.16",
"nunomaduro/collision": "^v8.1",
"pestphp/pest": "^v2.34",
"pestphp/pest-plugin-arch": "^v2.7",
"pestphp/pest-plugin-mock": "^2.0",
"pestphp/pest-plugin-type-coverage": "^v2.8",
"phpstan/phpstan": "^1.12",
"laravel/pint": "^v1.18",
"nunomaduro/collision": "^v8.5",
"pestphp/pest": "^v3.2",
"phpstan/phpstan": "^2.0",
"symfony/var-dumper": "^v7.1"
},
"autoload": {
Expand Down Expand Up @@ -66,12 +63,10 @@
"refactor:lint": "pint -v",
"test:lint": "pint --test -v",
"test:types": "phpstan analyse --ansi",
"test:type-coverage": "pest --type-coverage --min=100",
"test:pest": "pest --colors=always",
"test": [
"@test:lint",
"@test:types",
"@test:type-coverage",
"@test:pest"
],
"refactor": [
Expand Down
Loading

0 comments on commit c5fc24c

Please sign in to comment.