Skip to content

Commit

Permalink
phpstan fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Sep 18, 2024
1 parent 6d0e30c commit 59d5c56
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .idea/leantime-oss.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/phpspec.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ parameters:
scanDirectories:
- vendor
- config
ignoreErrors:
#ignoreErrors:
# Rules for level 1. Templates use variables through include which are not detected by phpstan
-
messages:
- '#Attribute class Leantime\\Domain\\Connector\\Models\\DbColumn does not exist\.#'
- '#Variable \$__data might not be defined\.#'
- '#Variable \$tpl might not be defined\.#'
- '#Constant BASE_URL not found\.#'
- '#Constant CURRENT_URL not found\.#'
- '#Variable \$login might not be defined\.#'
- '#Variable \$roles might not be defined\.#'
paths:
- app/Domain/*/Templates/*.tpl.php
- app/Domain/*/Templates/*.inc.php
- app/Domain/*/Templates/submodules/*.sub.php
#-
# messages:
# - '#Attribute class Leantime\\Domain\\Connector\\Models\\DbColumn does not exist\.#'
# - '#Variable \$__data might not be defined\.#'
# - '#Variable \$tpl might not be defined\.#'
# - '#Constant BASE_URL not found\.#'
# - '#Constant CURRENT_URL not found\.#'
# - '#Variable \$login might not be defined\.#'
# - '#Variable \$roles might not be defined\.#'
# paths:
# - app/Domain/*/Templates/*.tpl.php
# - app/Domain/*/Templates/*.inc.php
# - app/Domain/*/Templates/submodules/*.sub.php
universalObjectCratesClasses:
- Leantime\Core\Environment
earlyTerminatingMethodCalls:
Expand Down
14 changes: 14 additions & 0 deletions public/dist/mix-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@
"/fonts/Atkinson-Hyperlegible-Italic-102a.woff2": "/fonts/Atkinson-Hyperlegible-Italic-102a.woff2",
"/fonts/Atkinson-Hyperlegible-Regular-102.ttf": "/fonts/Atkinson-Hyperlegible-Regular-102.ttf",
"/fonts/Atkinson-Hyperlegible-Regular-102a.woff2": "/fonts/Atkinson-Hyperlegible-Regular-102a.woff2",
"/fonts/HankenGrotesk-Italic-VariableFont_wght.ttf": "/fonts/HankenGrotesk-Italic-VariableFont_wght.ttf",
"/fonts/HankenGrotesk-VariableFont_wght.ttf": "/fonts/HankenGrotesk-VariableFont_wght.ttf",
"/fonts/Hanken_Grotesk/HankenGrotesk-Italic-VariableFont_wght.ttf": "/fonts/Hanken_Grotesk/HankenGrotesk-Italic-VariableFont_wght.ttf",
"/fonts/Hanken_Grotesk/HankenGrotesk-VariableFont_wght.ttf": "/fonts/Hanken_Grotesk/HankenGrotesk-VariableFont_wght.ttf",
"/fonts/Hanken_Grotesk/OFL.txt": "/fonts/Hanken_Grotesk/OFL.txt",
"/fonts/Hanken_Grotesk/README.txt": "/fonts/Hanken_Grotesk/README.txt",
"/fonts/Roboto-Bold.ttf": "/fonts/Roboto-Bold.ttf",
"/fonts/Roboto-Bold.woff2": "/fonts/Roboto-Bold.woff2",
"/fonts/Roboto-Italic.ttf": "/fonts/Roboto-Italic.ttf",
Expand Down Expand Up @@ -195,6 +201,14 @@
"/fonts/shantell/Shantell_Sans-Informal_Bold_Italic.woff2": "/fonts/shantell/Shantell_Sans-Informal_Bold_Italic.woff2",
"/fonts/shantell/Shantell_Sans-Informal_Regular.woff2": "/fonts/shantell/Shantell_Sans-Informal_Regular.woff2",
"/fonts/shantell/Shantell_Sans-Informal_Regular_Italic.woff2": "/fonts/shantell/Shantell_Sans-Informal_Regular_Italic.woff2",
"/fonts/webfonts/fa-brands-400.ttf": "/fonts/webfonts/fa-brands-400.ttf",
"/fonts/webfonts/fa-brands-400.woff2": "/fonts/webfonts/fa-brands-400.woff2",
"/fonts/webfonts/fa-regular-400.ttf": "/fonts/webfonts/fa-regular-400.ttf",
"/fonts/webfonts/fa-regular-400.woff2": "/fonts/webfonts/fa-regular-400.woff2",
"/fonts/webfonts/fa-solid-900.ttf": "/fonts/webfonts/fa-solid-900.ttf",
"/fonts/webfonts/fa-solid-900.woff2": "/fonts/webfonts/fa-solid-900.woff2",
"/fonts/webfonts/fa-v4compatibility.ttf": "/fonts/webfonts/fa-v4compatibility.ttf",
"/fonts/webfonts/fa-v4compatibility.woff2": "/fonts/webfonts/fa-v4compatibility.woff2",
"/lottie/leo/Dino.json": "/lottie/leo/Dino.json",
"/lottie/leo/Loading_Clock_Animation.json": "/lottie/leo/Loading_Clock_Animation.json",
"/lottie/leo/Lochnes.json": "/lottie/leo/Lochnes.json",
Expand Down

0 comments on commit 59d5c56

Please sign in to comment.