Skip to content

Add PHPStan rules to forbid some PHP functions #19510

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cedric-anne
Copy link
Member

Checklist before requesting a review

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.

Description

This provides some rules to detect usages of PHP functions that can cause issues. Detected issues should be fixed in GLPI 11.0, or a dedicated // @phpstan-ignore comment should be added for legitimate usages.

@cedric-anne cedric-anne self-assigned this Apr 22, 2025
@cedric-anne cedric-anne mentioned this pull request Apr 24, 2025
2 tasks
@cedric-anne cedric-anne force-pushed the 11.0/no-exit-die-http_response_code branch from 9f1ac0a to 7e9be4b Compare April 24, 2025 14:12
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.

1 participant