Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove deprecated config option of phpstan #287

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

hana979
Copy link
Contributor

@hana979 hana979 commented Jul 28, 2024

When the following steps were followed to run phpstan, a deprecated warning was displayed.
So I remove deprecated config option of phpstan.neon.

composer install

./vendor/bin/phpstan --memory-limit=2G

Note: Using configuration file /xxx/pint/phpstan.neon.
⚠️  You're using a deprecated config option checkGenericClassInNonGenericObjectType ⚠️️

It's strongly recommended to remove it from your configuration file
and add the missing generic typehints.

If you want to continue ignoring missing typehints from generics,
add missingType.generics error identifier to your ignoreErrors:

parameters:
	ignoreErrors:
		-
			identifier: missingType.generics

 27/27 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


                                                                                                                        
 [OK] No errors  

@taylorotwell taylorotwell merged commit 14dd6f5 into laravel:main Jul 29, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants