Skip to content

Commit

Permalink
Refactor constructors to use shorthand syntax and remove unused recto…
Browse files Browse the repository at this point in the history
…r.php file
  • Loading branch information
mr-chetan committed Nov 16, 2024
1 parent fcad976 commit 40ab963
Show file tree
Hide file tree
Showing 8 changed files with 328 additions and 507 deletions.
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ phpstan.neon.dist export-ignore
phpstan-baseline.neon export-ignore
phpunit.xml.dist export-ignore
README.md export-ignore
rector.php export-ignore
9 changes: 2 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"require": {
"php": "^8.2.0",
"psr/simple-cache": "^3.0",
"illuminate/support": "^v11.10"
"illuminate/support": "^v11.32"
},
"require-dev": {
"laravel/pint": "^v1.16",
Expand All @@ -37,8 +37,7 @@
"pestphp/pest-plugin-arch": "^v2.7",
"pestphp/pest-plugin-mock": "^2.0",
"pestphp/pest-plugin-type-coverage": "^v2.8",
"phpstan/phpstan": "^1.11",
"rector/rector": "^1.1",
"phpstan/phpstan": "^1.12",
"symfony/var-dumper": "^v7.1"
},
"autoload": {
Expand All @@ -65,21 +64,17 @@
},
"scripts": {
"refactor:lint": "pint -v",
"refactor:rector": "rector",
"test:lint": "pint --test -v",
"test:refactor": "rector --dry-run",
"test:types": "phpstan analyse --ansi",
"test:type-coverage": "pest --type-coverage --min=100",
"test:pest": "pest --colors=always",
"test": [
"@test:lint",
"@test:refactor",
"@test:types",
"@test:type-coverage",
"@test:pest"
],
"refactor": [
"@refactor:rector",
"@refactor:lint"
]
}
Expand Down
Loading

0 comments on commit 40ab963

Please sign in to comment.