-
-
Notifications
You must be signed in to change notification settings - Fork 888
Insights: phpstan/phpstan
Overview
Could not load contribution data
Please try again later
2 Pull requests merged by 1 person
-
Larastan update
#12050 merged
Nov 15, 2024 -
Enable integration tests again
#12016 merged
Nov 12, 2024
1 Pull request opened by 1 person
-
Update baselines for refs/heads/1.12.x
#12020 opened
Nov 12, 2024
36 Issues closed by 4 people
-
Intersection type with custom classes in phpdoc property definiton does not work
#12071 closed
Nov 17, 2024 -
PHPStan 2: not subtype of native type mixed
#12070 closed
Nov 17, 2024 -
Type `array<mixed>` should be equivalent to `array<int|string, mixed>`
#12051 closed
Nov 17, 2024 -
curl_setopt second option is int as per the PHP documentation
#12064 closed
Nov 16, 2024 -
Is phpstan treating a callable's signature as a plain signature ?
#12055 closed
Nov 16, 2024 -
Local Type Aliases and optional entry of Array Shapes not detected
#12059 closed
Nov 16, 2024 -
PHPDoc tag @phpstan-assert for $array has no value type specified in iterable type list.
#12061 closed
Nov 16, 2024 -
Property is never assigned null so it can be removed from the property type.
#12060 closed
Nov 16, 2024 -
No error with identifier xxx is reported, phpstan-ignore
#12043 closed
Nov 15, 2024 -
`@phpstan-ignore` not ignoring `assign.propertyType` error
#12044 closed
Nov 15, 2024 -
bug in loop analysis
#12036 closed
Nov 15, 2024 -
Argument of an invalid type [CLASS] supplied for foreach
#12047 closed
Nov 15, 2024 -
Error with classes with same name but different namespaces
#2707 closed
Nov 15, 2024 -
intval and strval methods accept mixed value but it triggers an error
#12041 closed
Nov 14, 2024 -
`@phpstan-ignore` cannot be before another doc annotation
#12040 closed
Nov 14, 2024 -
static makes type mixed
#12034 closed
Nov 14, 2024 -
Incorrect claim that variable might not be defined
#12031 closed
Nov 13, 2024 -
Result cache not used because not comparing well
#12027 closed
Nov 13, 2024 -
argument #1 of extract() may be either by-ref or by-val
#11759 closed
Nov 13, 2024 -
Array return type ignores missing definitions
#12025 closed
Nov 13, 2024 -
False Positive: Variable $XYZ on the left side of ?? always exists and is not nullable
#11851 closed
Nov 13, 2024 -
False positive: Type of `self::CONST` is not recognized correctly when called in a PHP attribute
#10314 closed
Nov 13, 2024 -
Prevent evaluation of non reachable code
#12024 closed
Nov 13, 2024 -
False-positive: property.readOnlyAssignNotInConstructor in __wakeup
#11940 closed
Nov 12, 2024 -
Offset access type - inconsistent behaviour between named and magic methods
#12018 closed
Nov 12, 2024 -
Level 10 should not report passing undefined scoped variable to nullable reference parameter
#12015 closed
Nov 12, 2024 -
Fatal PHP Error with api-platform
#12019 closed
Nov 12, 2024 -
Parameter #1 $name of attribute class Table constructor expects string|null, mixed given. Level 10
#12011 closed
Nov 12, 2024 -
Constants can get expanded in error outputs, preventing baseline from being stable
#12017 closed
Nov 12, 2024 -
Too few arguments to function Lexer::__construct() passed in StringTypeResolver.php
#12014 closed
Nov 12, 2024 -
PHPStan 2.0 seems not compatible with phpstan/phpdoc-parser 1.x
#12009 closed
Nov 12, 2024 -
unclear error message when comparing an array element
#11997 closed
Nov 12, 2024 -
Intersection of arrays is incorrectly widened
#12006 closed
Nov 12, 2024
25 Issues opened by 21 people
-
Detection number of CPU cores 2.0.2
#12076 opened
Nov 18, 2024 -
(2.x) "but returns mixed" with ??= and static variables
#12075 opened
Nov 18, 2024 -
Accept classes with __toString() method as valid string arguments (Regression)
#12074 opened
Nov 18, 2024 -
Incorrect `method.childParameterType` when implementing abstract trait function
#12073 opened
Nov 18, 2024 -
missing "is always true" after property narrowing
#12072 opened
Nov 18, 2024 -
incorrect type narrowing of array key's value
#12067 opened
Nov 17, 2024 -
Parameter #3 `$encoding` of function `htmlspecialchars` expects string, null given
#12066 opened
Nov 17, 2024 -
Error report changes depending on whether collector is included
#12065 opened
Nov 16, 2024 -
Call to function is_callable() with array{...} will always evaluate to true
#12063 opened
Nov 16, 2024 -
False positive "has no effect" on call to late static binding method of abstract class
#12062 opened
Nov 16, 2024 -
Listing modifiers on web is too little on 14" laptop
#12058 opened
Nov 15, 2024 -
incorrect type narrowing triggered by `($a ?? null) === false`
#12057 opened
Nov 15, 2024 -
PHPStan doesn't catch accessing properties on string
#12049 opened
Nov 15, 2024 -
Hash functions are considered impure.
#12048 opened
Nov 15, 2024 -
Anonymous polymorphic functions are not composable
#12038 opened
Nov 14, 2024 -
Only first variadic param is checked
#12037 opened
Nov 14, 2024 -
`PDOException` is not a list / `null` is not a list.
#12033 opened
Nov 14, 2024 -
Internal error: Internal error: Secret is not set.
#12032 opened
Nov 14, 2024 -
`Fatal error: Cannot call abstract method` not reported when `static::` call is used in static method
#12030 opened
Nov 13, 2024 -
`method_exists` and `is_callable` confusion
#12029 opened
Nov 13, 2024 -
htmlentities(<non-empty-string>) or htmlspecialchars(<non-empty-string>) is not always a non-empty-string
#12021 opened
Nov 12, 2024 -
detect local dead code and assigments
#12012 opened
Nov 12, 2024 -
Constructor args are not checked in `new $class(...)` when the `$class` is `class-string`
#12010 opened
Nov 12, 2024 -
Template covariance false positive with nullable type on level < 8
#12008 opened
Nov 12, 2024 -
Conditional return type does not work as expected
#12007 opened
Nov 12, 2024
15 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
`No error with identifier xxx is reported` altough it is reported
#12000 commented on
Nov 12, 2024 • 0 new comments -
`extract` with `EXTR_SKIP` should not override existing types
#10436 commented on
Nov 13, 2024 • 0 new comments -
Checking if a variable is declared using get_defined_vars() does not work
#11948 commented on
Nov 13, 2024 • 0 new comments -
`str_replace` considered impure
#11884 commented on
Nov 15, 2024 • 0 new comments -
DOM stubbed properties not working
#8837 commented on
Nov 15, 2024 • 0 new comments -
implement loose comparison semantics
#8224 commented on
Nov 16, 2024 • 0 new comments -
`false` doesn't get subtracted after loose comparison
#10338 commented on
Nov 17, 2024 • 0 new comments -
Using phpstan-import-type between classes makes alias unresolvable
#11463 commented on
Nov 17, 2024 • 0 new comments -
PHPDoc block is ignored for closures/anonymous functions
#3770 commented on
Nov 18, 2024 • 0 new comments -
Dependency Dashboard
#6533 commented on
Nov 18, 2024 • 0 new comments -
Update website (major)
#10067 commented on
Nov 18, 2024 • 0 new comments -
Update website
#11987 commented on
Nov 15, 2024 • 0 new comments -
Update github-actions
#11988 commented on
Nov 12, 2024 • 0 new comments -
Update playground-api
#11989 commented on
Nov 13, 2024 • 0 new comments -
Update playground-runner
#11990 commented on
Nov 18, 2024 • 0 new comments