Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:

steps:
- name: Setup PHP
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # pin@2.25.4
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # pin@2.37.1
with:
php-version: ${{ inputs.php }}
extensions: ${{ inputs.extensions }}
Expand Down
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.11",
"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