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

Add ekino/phpstan-banned-code #474

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

Wahib-L
Copy link
Contributor

@Wahib-L Wahib-L commented Feb 28, 2023

Hello, here is a small PR to add a PHPStan extension that I often use in my projects :

Name Description PHP 8.0 PHP 8.1 PHP 8.2
phpstan-banned-code PHPStan rules for detecting calls to specific functions you don't want in your project

@jakzal
Copy link
Owner

jakzal commented Feb 28, 2023

Thank you @Wahib-L 🍺

@jakzal jakzal merged commit ab14fca into jakzal:master Feb 28, 2023
@jakzal
Copy link
Owner

jakzal commented Feb 28, 2023

@Wahib-L since you're a phpstan user. Have you encountered issues with phpstsan extensions on the phpqa image like described in this issue jakzal/phpqa#349?

github-actions bot pushed a commit to jakzal/phpqa that referenced this pull request Mar 1, 2023
New tools:

* [phpstan-banned-code](https://github.com/ekino/phpstan-banned-code) - PHPStan rules for detecting calls to specific functions you don't want in your project jakzal/toolbox#474 (thanks @Wahib-L)
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