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

fgetcsv accepts null for $length #3077

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

staabm
Copy link
Contributor

@staabm staabm commented May 14, 2024

fixes

Parameter #2 $length of function fgetcsv expects int<0, max>, null given.

on https://phpstan.org/r/856a86eb-7d7b-4265-9aa5-baf3c83d4321
for PHP 7.x see https://www.php.net/manual/en/function.fgetcsv.php

@staabm staabm closed this May 14, 2024
@staabm staabm deleted the allow-null-fgetcsv branch May 14, 2024 12:35
@sreichel
Copy link
Contributor

Can you please re-open?

@staabm staabm restored the allow-null-fgetcsv branch November 17, 2024 07:02
@staabm staabm reopened this Nov 17, 2024
@staabm staabm force-pushed the allow-null-fgetcsv branch from 2772718 to 24c942c Compare November 17, 2024 07:02
@staabm staabm force-pushed the allow-null-fgetcsv branch from 24c942c to 0da10ff Compare November 17, 2024 07:47
@staabm staabm changed the base branch from 1.11.x to 1.12.x November 17, 2024 07:47
@ondrejmirtes ondrejmirtes merged commit 09f7c00 into phpstan:1.12.x Nov 17, 2024
449 of 456 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the allow-null-fgetcsv branch November 17, 2024 14:06
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.

3 participants