mirror of
https://github.com/archtechx/gloss.git
synced 2025-12-12 03:04:04 +00:00
Initial commit
This commit is contained in:
commit
f73d6e2dce
14 changed files with 838 additions and 0 deletions
37
phpstan.neon
Normal file
37
phpstan.neon
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
includes:
|
||||
- ./vendor/nunomaduro/larastan/extension.neon
|
||||
|
||||
parameters:
|
||||
paths:
|
||||
- src
|
||||
- tests
|
||||
|
||||
level: 8
|
||||
|
||||
universalObjectCratesClasses:
|
||||
- Illuminate\Routing\Route
|
||||
|
||||
ignoreErrors:
|
||||
-
|
||||
message: '#has no return typehint specified#'
|
||||
paths:
|
||||
- tests/*
|
||||
- src/GlossTranslator.php
|
||||
-
|
||||
message: '#Cannot call method (.*?) on Lean\\Gloss\\GlossTranslator\|#'
|
||||
paths:
|
||||
- tests/*
|
||||
-
|
||||
message: '#with no typehint specified#'
|
||||
paths:
|
||||
- src/GlossTranslator.php
|
||||
-
|
||||
message: '#of function str_replace expects#'
|
||||
paths:
|
||||
- src/GlossTranslator.php
|
||||
-
|
||||
message: '#should return Lean\\Gloss\\GlossTranslator\|string\|void\|null but returns array\|string#'
|
||||
paths:
|
||||
- src/helpers.php
|
||||
|
||||
checkMissingIterableValueType: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue