Compare commits
2 commits
dev
...
feat/add-i
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17157da2bd | ||
|
|
eb90702feb |
4 changed files with 85 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,5 +1,8 @@
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
/.infection
|
||||||
/.phpunit.cache
|
/.phpunit.cache
|
||||||
|
infection.log
|
||||||
|
infection-summary.log
|
||||||
/node_modules
|
/node_modules
|
||||||
/public/build
|
/public/build
|
||||||
/public/hot
|
/public/hot
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@
|
||||||
"lthn/php": "*"
|
"lthn/php": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
"infection/infection": "^0.29",
|
||||||
|
"larastan/larastan": "^3.0",
|
||||||
"laravel/pint": "^1.18",
|
"laravel/pint": "^1.18",
|
||||||
"orchestra/testbench": "^9.0|^10.0",
|
"orchestra/testbench": "^9.0|^10.0",
|
||||||
"pestphp/pest": "^3.0"
|
"pestphp/pest": "^3.0"
|
||||||
|
|
@ -35,12 +37,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"analyse": "phpstan analyse",
|
||||||
"lint": "pint",
|
"lint": "pint",
|
||||||
|
"mutate": "infection --show-mutations --threads=max",
|
||||||
"test": "pest"
|
"test": "pest"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"sort-packages": true,
|
"sort-packages": true,
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
|
"infection/extension-installer": true,
|
||||||
"pestphp/pest-plugin": true
|
"pestphp/pest-plugin": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
44
infection.json5
Normal file
44
infection.json5
Normal file
|
|
@ -0,0 +1,44 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/infection/infection/0.29.x/resources/schema.json",
|
||||||
|
"source": {
|
||||||
|
"directories": [
|
||||||
|
"Concerns",
|
||||||
|
"Console",
|
||||||
|
"Contracts",
|
||||||
|
"Controllers",
|
||||||
|
"Database",
|
||||||
|
"Enums",
|
||||||
|
"Events",
|
||||||
|
"Exceptions",
|
||||||
|
"Features",
|
||||||
|
"Jobs",
|
||||||
|
"Listeners",
|
||||||
|
"Mail",
|
||||||
|
"Middleware",
|
||||||
|
"Models",
|
||||||
|
"Notifications",
|
||||||
|
"Routes",
|
||||||
|
"Rules",
|
||||||
|
"Scopes",
|
||||||
|
"Services",
|
||||||
|
"View"
|
||||||
|
],
|
||||||
|
"excludes": [
|
||||||
|
"Database/Factories",
|
||||||
|
"Database/Seeders"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"logs": {
|
||||||
|
"text": "infection.log",
|
||||||
|
"summary": "infection-summary.log"
|
||||||
|
},
|
||||||
|
"mutators": {
|
||||||
|
"@default": true
|
||||||
|
},
|
||||||
|
"testFramework": "pest",
|
||||||
|
"testFrameworkOptions": "--no-coverage",
|
||||||
|
"minMsi": 50,
|
||||||
|
"minCoveredMsi": 70,
|
||||||
|
"timeout": 30,
|
||||||
|
"tmpDir": ".infection"
|
||||||
|
}
|
||||||
33
phpstan.neon
Normal file
33
phpstan.neon
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
includes:
|
||||||
|
- vendor/larastan/larastan/extension.neon
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
level: 5
|
||||||
|
|
||||||
|
paths:
|
||||||
|
- Boot.php
|
||||||
|
- Concerns
|
||||||
|
- Console
|
||||||
|
- Contracts
|
||||||
|
- Controllers
|
||||||
|
- Database
|
||||||
|
- Enums
|
||||||
|
- Events
|
||||||
|
- Exceptions
|
||||||
|
- Features
|
||||||
|
- Jobs
|
||||||
|
- Listeners
|
||||||
|
- Mail
|
||||||
|
- Middleware
|
||||||
|
- Models
|
||||||
|
- Notifications
|
||||||
|
- Routes
|
||||||
|
- Rules
|
||||||
|
- Scopes
|
||||||
|
- Services
|
||||||
|
- View
|
||||||
|
|
||||||
|
excludePaths:
|
||||||
|
- vendor
|
||||||
|
|
||||||
|
checkMissingIterableValueType: false
|
||||||
Loading…
Add table
Reference in a new issue