Comments (1)
I saw multiples projects with the syntax
https://phpstan.org/r/df1d060b-9f2b-4b86-a4b6-4d4acac29474
@phpstan-type MyType = int
When adding the "comment-feature",
- either it could still support alternative syntax (like the one with
=
) - either it could be the moment to support only the "official" syntax (without the
=
)
from phpstan.
Related Issues (20)
- Stub validation does not work in an extension HOT 4
- False positive on stream_get_meta_data HOT 4
- Incorrect `\Imagick::identifyImage()` return type HOT 2
- Incorrect expression is always false when using numeric-string array keys HOT 2
- Internal error: Internal error: PhpParser\ParserAbstract::parse(): Argument #1 ($code) must be of type string, false given, called in HOT 3
- 1.10.67 release introduced wrong date format return type HOT 5
- PHP RFC: Deprecate implicitly nullable parameter types HOT 1
- str_getcsv return type sanitization ignored HOT 1
- Applying type-modifying function conditionally drops type info
- param-immediately-invoked-callable should be usable for parameters with a Closure type HOT 1
- Proper usage of the callable lifetime tags should be enforced in static analysis HOT 1
- Setting property in anonymous function is ignored by if.alwaysFalse
- Offset numeric-string does not exist on array<string, ...> HOT 4
- Report possible invocations of destructors as throw points and impure points
- Add a way to ignore/override a stub from an extension HOT 7
- Override nullable to non-nullable parameter in constructor should be detected in PHPStan. HOT 3
- "Variable might not be defined" when always assigning variable in match arm HOT 3
- empty constructor of final class should be pure HOT 1
- PHPDoc tag @var for constant with type string|null is not subtype of native type string HOT 2
- PHPStan not follow DNF Type Declaration Constraints (PHP 8.2+)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpstan.