Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@
"pestphp/pest-plugin-laravel": "^2",
"phpstan/phpstan": "^1",
"phpstan/phpstan-strict-rules": "^1",
"psalm/plugin-laravel": "^2.12",
"psalm/plugin-laravel": "^3.9.2",
"psr-mock/http": "^1",
"rector/rector": "^1",
"spatie/laravel-ray": "^1.40",
"squizlabs/php_codesniffer": "^3",
"symfony/cache": "^6 || ^7",
"vimeo/psalm": "^5 || ^6 <6.5",
"vimeo/psalm": "^6.16.1",
"wikimedia/composer-merge-plugin": "^2"
},
"minimum-stability": "dev",
Expand Down
1 change: 1 addition & 0 deletions psalm.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<DeprecatedClass errorLevel="suppress"/>
<DeprecatedInterface errorLevel="suppress"/>
<MissingOverrideAttribute errorLevel="suppress"/>
<RedundantCondition errorLevel="info"/>
</issueHandlers>

<plugins>
Expand Down
3 changes: 3 additions & 0 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ public static function get(
* @codeCoverageIgnore
*
* @psalm-suppress DocblockTypeContradiction
* @psalm-suppress NoEnvOutsideConfig

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or config('app.env') should be used instead of env('APP_ENV'); (line number 361)

*/
public static function getEnvironment(): array
{
Expand Down Expand Up @@ -431,6 +432,8 @@ public static function getEnvironment(): array

/**
* @codeCoverageIgnore
*
* @psalm-suppress NoEnvOutsideConfig
*/
public static function getJson(): array
{
Expand Down
Loading