-
Notifications
You must be signed in to change notification settings - Fork 48
Issues: phpstan/phpstan-phpunit
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
Author
Label
Projects
Milestones
Assignee
Sort
Issues list
Wrong type detection when variable is changed by reference
bug
#4
opened Dec 12, 2017 by
ossinkine
updated Dec 12, 2017
Incorrect resolution of assertInstanceOf with __NAMESPACE__ + string
#27
opened Aug 18, 2018 by
Majkl578
updated Aug 18, 2018
[Feature request] Report willReturn values incompatible with method signature
#48
opened Jun 13, 2019 by
Slamdunk
updated Jun 14, 2019
Can't convince phpstan about existing offset
#53
opened Nov 14, 2019 by
ostrolucky
updated Dec 19, 2019
Mocking multiple types reports errors with phpstan 0.12
#58
opened Jan 17, 2020 by
Khartir
updated Jan 18, 2020
Unable to resolve the template type error when calling statement twice
#77
opened Jul 11, 2020 by
m-vo
updated Jul 11, 2020
StatementWithoutSideEffectsRule with expected exception shouldn't raise error
#86
opened Oct 26, 2020 by
Slamdunk
updated Oct 26, 2020
assertNotFalse() doesn't remove FALSE from the union type
#83
opened Oct 17, 2020 by
morozov
updated Oct 22, 2021
Call to method PHPUnit\Framework\Assert::assertSame() with {int} and int will always evaluate to false.
#64
opened Feb 19, 2020 by
teohhanhui
updated Feb 15, 2022
Wrong types for
assertIsNotNumeric
#124
opened Mar 17, 2022 by
ZebulanStanphill
updated Mar 21, 2022
Inconsistent behavior with
class_string
of mocks for intersection types
#131
opened May 7, 2022 by
oliverklee
updated May 8, 2022
PhpStan does not consider usage of Phpunit Assert::assertNotEmpty and Assert::assertContainsOnlyInstancesOf when returning an Array
#158
opened Dec 16, 2022 by
Lreus
updated Dec 16, 2022
False positives with
assertSame
on generics with compatible subtypes
#105
opened Oct 1, 2021 by
oliverklee
updated Jan 20, 2023
Parent call inside a try-catch block(which is always executed) isn't recognised.
#187
opened May 23, 2023 by
omkar-podey
updated May 23, 2023
Type Inference Issue with Named Parameters in PHPUnit Assertions Leading to Mixed Type Error in PHPStan
#198
opened Nov 7, 2023 by
lukasojd
updated Nov 7, 2023
1.3.16 throwing errors on arrays after assertCount
#206
opened Feb 28, 2024 by
acbramley
updated Feb 29, 2024
markTestIncomplete and markTestSkipped as earlyTerminatingMethodCalls
#52
opened Oct 3, 2019 by
arnaud-lb
updated May 17, 2024
AssertArrayHasKey seems to be not supported
#100
opened Jun 30, 2021 by
VincentLanglet
updated Aug 9, 2024
Raise an error in PHPunit when calling createMock where createStub is enough
#210
opened Sep 24, 2024 by
ChinaskiJr
updated Mar 5, 2025
Previous Next
ProTip!
Exclude everything labeled
bug
with -label:bug.