GitHub / phpstan/phpstan-phpunit issues and pull requests
#232 - return type altered from list<> to array{}
Issue -
State: open - Opened by greg0ire about 1 month ago
#231 - assertStringStartsWith after assertNotEmpty fails
Issue -
State: open - Opened by gisostallenberg 2 months ago
- 2 comments
#230 - Rule to enforce class naming
Issue -
State: open - Opened by aivchen 3 months ago
- 2 comments
#229 - `assertTrue` seems to lose inferred type
Issue -
State: open - Opened by eliashaeussler 3 months ago
#228 - chore(deps): update metcalfc/changelog-generator action to v4.6.2
Pull Request -
State: closed - Opened by renovate[bot] 4 months ago
#227 - Invalid "phpunit.mockMethod" error
Issue -
State: closed - Opened by liayn 4 months ago
- 9 comments
#226 - chore(deps): update metcalfc/changelog-generator action to v4.5.0
Pull Request -
State: closed - Opened by renovate[bot] 4 months ago
#225 - Add non regression test for #222
Pull Request -
State: closed - Opened by VincentLanglet 4 months ago
- 1 comment
#224 - Test PHPUnit v12
Pull Request -
State: closed - Opened by ondrejmirtes 4 months ago
#223 - Test multiple PHPUnit versions
Pull Request -
State: closed - Opened by ondrejmirtes 4 months ago
#222 - Add support for PHPUnit 12.0.9
Issue -
State: closed - Opened by VincentLanglet 4 months ago
- 12 comments
#221 - fix build
Pull Request -
State: closed - Opened by staabm 5 months ago
- 4 comments
#220 - Fix error message for "assertNotEquals" usage referencing "assertSame" and "assertEquals"
Pull Request -
State: closed - Opened by PrinsFrank 6 months ago
- 1 comment
#219 - Support `assertNotEquals` in AssertEqualsIsDiscouragedRule
Pull Request -
State: closed - Opened by staabm 7 months ago
- 2 comments
#218 - Internal error: Class "PHPStan\Type\PHPUnit\Assert\AssertTypeSpecifyingExtensionHelper" not found while analysing
Issue -
State: closed - Opened by christianlerch 8 months ago
- 3 comments
#217 - Rules: Use more specific node-type
Pull Request -
State: closed - Opened by staabm 8 months ago
- 1 comment
#216 - Implement AssertEqualsIsDiscouragedRule
Pull Request -
State: closed - Opened by staabm 8 months ago
- 9 comments
#215 - Add rule that enforces PHPUnit naming conventions
Pull Request -
State: closed - Opened by cs278 8 months ago
- 1 comment
#214 - Rule to enforce class naming
Issue -
State: closed - Opened by cs278 8 months ago
- 8 comments
#213 - fix: Make sure Assert::assertIsList correctly asserts an array as list
Pull Request -
State: closed - Opened by mitelg 9 months ago
- 1 comment
#212 - After `Assert::assertIsList` variable is not a list
Issue -
State: closed - Opened by mitelg 9 months ago
- 5 comments
#211 - Detect invalid phpunit `@dataProvider`
Issue -
State: closed - Opened by staabm 10 months ago
- 5 comments
#210 - Raise an error in PHPunit when calling createMock where createStub is enough
Issue -
State: open - Opened by ChinaskiJr 10 months ago
- 3 comments
#209 - chore(deps): update eomm/why-don-t-you-tweet action to v2
Pull Request -
State: open - Opened by renovate[bot] about 1 year ago
#208 - assertCount with remembered values causing false positives
Issue -
State: closed - Opened by janedbal about 1 year ago
- 8 comments
#207 - Addition of rule for cases better represented with assertSameSize() method
Pull Request -
State: open - Opened by o0h over 1 year ago
- 2 comments
#206 - 1.3.16 throwing errors on arrays after assertCount
Issue -
State: open - Opened by acbramley over 1 year ago
- 1 comment
#205 - Narrow type on assertCount and assertNotCount
Pull Request -
State: closed - Opened by michalbundyra over 1 year ago
- 1 comment
#204 - Narrow type on assertCount to non-empty-*
Issue -
State: closed - Opened by michalbundyra over 1 year ago
- 3 comments
#203 - Update cbrgm/mastodon-github-action action to v2
Pull Request -
State: closed - Opened by renovate[bot] over 1 year ago
#202 - Update metcalfc/changelog-generator action to v4.3.1
Pull Request -
State: closed - Opened by renovate[bot] over 1 year ago
#200 - Update dessant/lock-threads action to v5
Pull Request -
State: closed - Opened by renovate[bot] over 1 year ago
#199 - Update metcalfc/changelog-generator action to v4.2.0 - autoclosed
Pull Request -
State: closed - Opened by renovate[bot] over 1 year ago
#198 - Type Inference Issue with Named Parameters in PHPUnit Assertions Leading to Mixed Type Error in PHPStan
Issue -
State: open - Opened by lukasojd over 1 year ago
#197 - AssertTypeSpecifyingExtensionHelper: rootExpr with unknown variable to avoid always-true false positives
Pull Request -
State: closed - Opened by janedbal almost 2 years ago
- 2 comments
#196 - Setting checkUninitializedProperties to true reports errors in all tests for properties that are initialised in setUp
Issue -
State: closed - Opened by MetalArend almost 2 years ago
- 6 comments
#195 - Update actions/checkout action to v4
Pull Request -
State: closed - Opened by renovate[bot] almost 2 years ago
#194 - fix assertEquals(false into assertFalse(
Issue -
State: closed - Opened by gemal almost 2 years ago
- 5 comments
#193 - `assertContains` always claiming it'll return true
Issue -
State: closed - Opened by simon-tma almost 2 years ago
- 3 comments
#192 - Add support for `assertObjectHasProperty`
Pull Request -
State: closed - Opened by Wirone almost 2 years ago
- 3 comments
#191 - Add support for assertContains and assertContainsEquals
Pull Request -
State: closed - Opened by villfa about 2 years ago
- 1 comment
#190 - False positive of unused use inside willReturnCallback() and match()
Issue -
State: closed - Opened by cheldt about 2 years ago
- 3 comments
#189 - Microoptimize AssertRuleHelper.
Pull Request -
State: closed - Opened by mad-briller about 2 years ago
- 2 comments
#188 - Static dataProviders are detected as unused
Issue -
State: closed - Opened by pascalheidmann about 2 years ago
- 4 comments
#187 - Parent call inside a try-catch block(which is always executed) isn't recognised.
Issue -
State: open - Opened by omkar-podey about 2 years ago
- 1 comment
#186 - Add regression test for #185
Pull Request -
State: closed - Opened by Jean85 about 2 years ago
- 1 comment
#185 - assertInstanceOf doesn't refine type when used with generic class-string
Issue -
State: closed - Opened by Jean85 about 2 years ago
- 3 comments
#184 - Update dependency slevomat/coding-standard to v8.12.1 - autoclosed
Pull Request -
State: closed - Opened by renovate[bot] about 2 years ago
#183 - Update dependency slevomat/coding-standard to v8.12.0
Pull Request -
State: closed - Opened by renovate[bot] about 2 years ago
#182 - Improve support of assertArrayHasKey()
Pull Request -
State: closed - Opened by villfa about 2 years ago
- 3 comments
#181 - Update dependency slevomat/coding-standard to v8.11.1
Pull Request -
State: closed - Opened by renovate[bot] about 2 years ago
#180 - Add partial support for assertContainsOnlyInstancesOf
Pull Request -
State: closed - Opened by villfa about 2 years ago
- 2 comments
#179 - Update dependency slevomat/coding-standard to v8.11.0
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#178 - Allow defining a target PHPUnit version
Issue -
State: open - Opened by mondrake over 2 years ago
- 3 comments
#177 - Update dependency slevomat/coding-standard to v8.10.0
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#176 - Update build-cs
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#175 - Update dependency slevomat/coding-standard to v8.9.0
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#174 - Warn when trying to cover an interface.
Pull Request -
State: closed - Opened by mad-briller over 2 years ago
- 1 comment
#173 - Update PHPCS
Pull Request -
State: closed - Opened by staabm over 2 years ago
- 1 comment
#172 - Usage of a method in the @dataProvider docblock is not being recognized
Issue -
State: closed - Opened by MetalArend over 2 years ago
- 3 comments
#171 - Update metcalfc/changelog-generator action to v4.1.0
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#170 - Extension doesn't work with phpstan 1.10
Issue -
State: open - Opened by garak over 2 years ago
- 6 comments
#169 - Fixed false positive when covering a global function.
Pull Request -
State: closed - Opened by mad-briller over 2 years ago
- 1 comment
#168 - Add tip to error when a not fully qualified name is seen in @covers annotation.
Pull Request -
State: closed - Opened by mad-briller over 2 years ago
- 1 comment
#167 - ArrayObject will always evaluate to false
Issue -
State: closed - Opened by altdovydas over 2 years ago
- 5 comments
#166 - Fixed deprecations in phpstan.
Pull Request -
State: closed - Opened by mad-briller over 2 years ago
- 1 comment
#165 - Fix empty @covers annotation causing a crash.
Pull Request -
State: closed - Opened by mad-briller over 2 years ago
- 2 comments
#164 - Empty cover breaks phpstan
Issue -
State: closed - Opened by shyim over 2 years ago
- 5 comments
#163 - chore(deps): update dependency phpunit/phpunit to v12
Pull Request -
State: open - Opened by renovate[bot] over 2 years ago
#162 - Add an option to check for non static dataprovider even without deprecation rules
Issue -
State: closed - Opened by VincentLanglet over 2 years ago
- 1 comment
#161 - Security policy question
Issue -
State: closed - Opened by longwave over 2 years ago
- 2 comments
#160 - Ease the usage of AssertRuleHelper::isMethodOrStaticCallOnAssert()
Pull Request -
State: closed - Opened by villfa over 2 years ago
- 1 comment
#159 - Add support for data provider attributes
Pull Request -
State: closed - Opened by villfa over 2 years ago
- 1 comment
#158 - PhpStan does not consider usage of Phpunit Assert::assertNotEmpty and Assert::assertContainsOnlyInstancesOf when returning an Array
Issue -
State: open - Opened by Lreus over 2 years ago
#157 - protected dataProvider method reported as required to be public
Issue -
State: closed - Opened by janedbal over 2 years ago
- 8 comments
#156 - Discover data providers from other classes
Pull Request -
State: closed - Opened by villfa over 2 years ago
- 1 comment
#155 - Update .gitattributes
Pull Request -
State: closed - Opened by kubawerlos over 2 years ago
- 2 comments
#154 - Do not use "strtolower" when there is a dedicated method
Pull Request -
State: closed - Opened by kubawerlos over 2 years ago
- 1 comment
#153 - Discover data providers from other classes
Pull Request -
State: closed - Opened by kubawerlos over 2 years ago
- 3 comments
#152 - validate dataProvider return/parameter types
Pull Request -
State: closed - Opened by staabm over 2 years ago
- 6 comments
#151 - Report data providers deprecated usage
Pull Request -
State: closed - Opened by villfa over 2 years ago
- 1 comment
#150 - Add rule to check @dataProvider
Pull Request -
State: closed - Opened by villfa over 2 years ago
- 4 comments
#149 - Update dessant/lock-threads action to v4
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#148 - Add a rule that checks for non-static data providers
Issue -
State: closed - Opened by villfa over 2 years ago
- 1 comment
#147 - Update metcalfc/changelog-generator action to v4
Pull Request -
State: closed - Opened by renovate[bot] over 2 years ago
#146 - False positive for array assertions
Issue -
State: closed - Opened by amorimjuliana over 2 years ago
- 3 comments
#145 - prophesize deprecation error when using traits
Issue -
State: closed - Opened by Fabex over 2 years ago
- 2 comments
#144 - Fix covers rule for functions.
Pull Request -
State: closed - Opened by mad-briller almost 3 years ago
- 2 comments
#143 - @coverage annotation for function outside class
Issue -
State: closed - Opened by darthf1 almost 3 years ago
- 1 comment
#142 - Multiple services of type PHPStan\Rules\PHPUnit\CoversHelper found error since phpstan-phpunit >1.2.0
Issue -
State: closed - Opened by samsonasik almost 3 years ago
- 5 comments
#141 - Regression with assertEmpty extension
Issue -
State: closed - Opened by Seldaek almost 3 years ago
- 12 comments
#140 - `assertSame(NAN, ...)` should emit an error
Issue -
State: open - Opened by mvorisek almost 3 years ago
#139 - ensure use of assertInstanceOf
Issue -
State: closed - Opened by arderyp almost 3 years ago
- 2 comments
#138 - Support for php 8.1?
Issue -
State: closed - Opened by garak almost 3 years ago
- 4 comments
#137 - Rules to check `@covers` and `@coversDefaultClass` for methods and classes
Pull Request -
State: closed - Opened by mad-briller about 3 years ago
- 6 comments
#136 - Check for assertSame to assertNull
Issue -
State: closed - Opened by gemal about 3 years ago
- 2 comments
#135 - Update build-cs (major) - autoclosed
Pull Request -
State: closed - Opened by renovate[bot] about 3 years ago
- 1 comment
#134 - Update dependency slevomat/coding-standard to v7.2.1
Pull Request -
State: closed - Opened by renovate[bot] about 3 years ago
#133 - Analysis of `assertSame` cannot infer type if expected value is constant from symfony `Response` object
Issue -
State: closed - Opened by keulinho about 3 years ago
- 9 comments
#132 - Update dependency slevomat/coding-standard to v7.2.0
Pull Request -
State: closed - Opened by renovate[bot] about 3 years ago