1
0
Fork 0
mirror of https://github.com/archtechx/gloss.git synced 2025-12-12 03:04:04 +00:00

Initial commit

This commit is contained in:
Samuel Štancl 2020-12-13 03:05:55 +01:00
commit f73d6e2dce
14 changed files with 838 additions and 0 deletions

37
phpstan.neon Normal file
View 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