GitHub / phpstan/phpstan-src / commits
PHPStan's source code. This is where development happens. Check https://github.com/phpstan/phpstan for the distribution repository.
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 5a95e524 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| eac23f0c |
Do not treat `method_exists()` as always true for `@method`-annotated methods...
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m>, Vincent Langlet <v****t@h****r> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 393a9a48 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| a1d48d89 |
Preserve `TemplateType` in `ArrayType` and `IntersectionType` array-mutating ...
Co-authored-by: staabm <1****m@u****m>, Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@r****e> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| ec1b6f9d | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| 33c983f2 | Walk ancestors for stub method PHPDoc on built-in classes without their own s... |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 270bdfc5 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| 4f0ab8e1 | Fix another shuffle() variant (#5696) |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| b4430ff1 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| f0f92bc7 | Preserve `TemplateType` in `IntersectionType::shuffleArray()` when intersecti... |
phpstan-bot <7****t@u****m>
Committed by: Ondřej Mirtes <o****j@m****z> |
28 days ago | |
| 55db2be3 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| dab10faf | Do not narrow array to empty when `array_find_key()` returns null |
phpstan-bot <7****t@u****m>
Committed by: Ondřej Mirtes <o****j@m****z> |
28 days ago | |
| 7d9000b5 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 28 days ago | |
| 6eab97ac |
Skip non-discriminating guards in `createConditionalExpressions` even when ta...
Co-authored-by: VincentLanglet <9****t@u****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 0d61041a | merge Merge remote-tracking branch 'origin/2.1.x' into 2.2.x | Ondrej Mirtes <o****j@m****z> | 28 days ago | |
| 8b09fa5b | Update PHP 8 stubs |
phpstan-bot <7****t@u****m>
Committed by: Ondřej Mirtes <o****j@m****z> |
28 days ago | |
| 3c644c52 |
Skip class name case check for type hints using explicit `use ... as` aliases...
Co-authored-by: Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| c9d33e86 |
Invalidate property types after dynamic method calls (#5679)
Co-authored-by: Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@g****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 4fa45681 |
Infer `numeric-string` for `DateInterval::format('%a')` when interval comes f...
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| b22512d1 | Fix phpstan/phpstan#13539: property.notFound in chained isset() with checkDyn... |
Nicolai <2****8@u****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 9eb9b096 | cs | Markus Staab <m****b@g****m> | 29 days ago | |
| 0d01465b | Fix 2.2.x build after f2af15b571 (#5690) |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| d5ea3cc1 |
Use before-scope for evaluating `array_splice` argument types (#5682)
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: Markus Staab <m****b@g****m> |
29 days ago | |
| 1e062f17 |
Use before-scope for evaluating `array_splice` argument types (#5682)
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 9a9e2830 |
Add regression test for circular class constant PHPDoc type references (#5685)
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 71f35158 |
Add regression test for circular class constant PHPDoc type references (#5685)
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: Markus Staab <m****b@g****m> |
29 days ago | |
| f0de7c2f | Use pre-args scope for value types in array_push/array_unshift (#5579) |
Nicolai <2****8@u****m>
Committed by: Markus Staab <m****b@g****m> |
29 days ago | |
| 5c70842b | Use pre-args scope for value types in array_push/array_unshift (#5579) |
Nicolai <2****8@u****m>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| c6fb24e2 | Memoize ArrayType->isList() (#5680) |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| e6ed7c42 | Memoize ArrayType->isList() (#5680) | Markus Staab <m****b@g****m> | 30 days ago | |
| 6a109562 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | 30 days ago | |
| 9abd515b |
Validate `define()` and `const` values against explicit types in `dynamicCons...
Co-authored-by: staabm <1****m@u****m>, Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@r****e> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
30 days ago | |
| 6fbcf55d | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 93d00a6f | Update issue-bot dependencies | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 35ea901a | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 6147f910 |
Check inner union types before delegating to `isSubTypeOf` for `LateResolvabl...
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@g****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 3e4fa9c0 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 86f8b7aa |
Return `list<mixed>` from `PDOStatement::fetchAll()` (#5643)
Co-authored-by: Vincent Langlet <v****t@h****r>, Claude Opus 4.6 <n****y@a****m>, Vincent Langlet <V****t@u****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ef540823 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 3b4e3e76 |
Respect `@throws void` on `getIterator()` when determining foreach Traversabl...
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@g****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| fd8f60aa | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| a4d403a5 | merge Experiment: fork parallel workers via pcntl_fork() | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 9e6a5cd0 |
Print parallel worker mechanism via DiagnoseExtension
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 0aaaa470 |
Add pcntl_fork() PHPStan Pro worker path
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 009038d4 |
Extract FixerWorkerRunner from FixerWorkerCommand
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 4ac1d65f |
Introduce ProcessPromise interface for the PHPStan Pro worker
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 639b4d47 |
Add pcntl_fork() parallel worker path
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 606bf021 |
Extract WorkerRunner from WorkerCommand
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 1ac76881 |
Introduce Process interface and ProcessBase for parallel workers
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 87ce96f9 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| f8dd187f |
Re-check scalar types after integer range expansion in TypeCombinator::union ...
Co-authored-by: Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@g****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 32cf646b | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| fb53a12a | Fix PHP 7.4 build (#5662) |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| bebabbb4 | Apiref infra cleanup done | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 60541456 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| a25a45ab |
Flip apiref productionAlias to true, trim cutover docs from README
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z>
Committed by: Ondřej Mirtes <o****j@m****z> |
about 1 month ago | |
| 2cbe82ae | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| f2af15b5 | Prevent issue with accessory-only IntersectionType | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 74703f0e |
Add CDK app for apiref.phpstan.org infrastructure
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Ondrej Mirtes <o****j@m****z>
Committed by: Ondřej Mirtes <o****j@m****z> |
about 1 month ago | |
| fa4e7d2f | Prevent creation of IntersectionType with just HasOffsetValueType accessories | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 45d6c36f | merge Merge branch '2.1.x' into merge221 | Vincent Langlet <v****t@h****r> | about 1 month ago | |
| 0c6d698b |
Do not report `non-falsy-string == 0` as always false in `AccessoryNonFalsySt...
Co-authored-by: Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 76733ffa | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 1279c981 | Fix PHP 7.4 build (#5655) |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a38ed484 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 7ff4c71a | Added regression test (#5652) |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| bfa881ca | IntersectionType::toPhpDocNode - check empty types | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 71f025b6 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 8932eec5 | Fix infinite recursion in specifyTypesForCountFuncCall with mixed TypeSpecifi... |
phpstan-bot <7****t@u****m>
Committed by: Ondřej Mirtes <o****j@m****z> |
about 1 month ago | |
| ecc41926 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 4a161af3 | Update PhpStorm stubs |
ondrejmirtes <1****s@u****m>
Committed by: Ondřej Mirtes <o****j@m****z> |
about 1 month ago | |
| 496aafe4 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 6b6301aa | Remove sortArray in favour of shuffleArray | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| df6ebaac | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 76eb2bb2 | Updated BetterReflection | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| b4b35277 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 72e3d208 | callable-array intersection type is a constant array |
Ondrej Mirtes <o****j@m****z>
Committed by: Ondřej Mirtes <o****j@m****z> |
about 1 month ago | |
| 9a96c412 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| b0722579 | Augment `BooleanAnd` falsey and `BooleanOr` truthy type narrowing when left a... |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 5de1c1b2 | merge Merge remote-tracking branch 'origin/2.1.x' into 2.2.x | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 37909c99 |
Switch HasMethodType/HasPropertyType from ObjectTypeTrait to MaybeObjectTypeT...
Co-authored-by: VincentLanglet <9****t@u****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 2794ee9d |
Add multi-variant overloads for `PDOStatement::fetchAll()` in function signat...
Co-authored-by: VincentLanglet <9****t@u****m>, Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@r****e> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| fbc91e15 | Introduce MaybeStringTypeTrait (#5642) |
Vincent Langlet <V****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 1300ea40 |
Collect all remaining callable parameter types for variadic closure parameter...
Co-authored-by: VincentLanglet <9****t@u****m>, Vincent Langlet <v****t@h****r>, Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 460cd50d |
Return `null` from `ArgumentsNormalizer::reorderArgs()` when positional args ...
Co-authored-by: Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@r****e> |
phpstan-bot <7****t@u****m>
Committed by: Markus Staab <m****b@g****m> |
about 1 month ago | |
| 745b400a |
Return `null` from `ArgumentsNormalizer::reorderArgs()` when positional args ...
Co-authored-by: Claude Opus 4.6 <n****y@a****m>, Markus Staab <m****b@r****e> |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a9ebd389 |
Merge branch 2.1.x into 2.2.x (#5638)
Co-authored-by: phpstan-bot <7****t@u****m> |
Vincent Langlet <V****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 8e0e3afb | Introduce MutatingScope::getCallableParameterType (#5635) |
Vincent Langlet <V****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ca001997 | Resolve `ConditionalType` when subject-target relationship is deterministic d... |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| f149ab5d | Update phpbench baseline | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 9f3974b4 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 5679c365 | DateFunctionReturnTypeHelper: prevent unnecessary TypeCombinator::union() (#5... |
Markus Staab <m****b@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ae9cf641 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| a05911a7 | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| bd038aa9 | Update phpbench baseline | Ondrej Mirtes <o****j@m****z> | about 1 month ago | |
| 37da7097 |
Merge NSRT and rule test fixtures for bug-14582 into a single file
Co-authored-by: Claude Opus 4.6 <n****y@a****m> |
phpstan-bot <o****t@m****z>
Committed by: Ondřej Mirtes <o****j@m****z> |
about 1 month ago | |
| 6bed1fdd | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| bdd67bcb | Assign proper types for `$argc` and `$argv` in `global` statements (#5623) |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 85faddce | merge Merge branch 2.1.x into 2.2.x | phpstan-bot <o****t@m****z> | about 1 month ago | |
| 78961487 | Do not report `maybe` in `RandomIntParametersRule` when either argument is an... |
phpstan-bot <7****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago |