Skip to content

Refactoring and improvements list #58

@vudaltsov

Description

@vudaltsov
  • soft type warnings via logger
  • add recursive replacer test that checks types are equal
  • mark more constructors internal
  • extract simple from string type parser from phpstorm hook
  • __construct parameter type inheritance (decided to keep inheriting)
  • float range
  • TypeData to TypedMap
  • revert TypeData.annotatedInherited
  • add hooks for all ids (props, const, params, methods) (bad idea, does not simplify code)
  • hide InMemoryCache via recommended cache static constructor
  • locator priority? (no need currently)
  • context resolve column? revert commet endColumn, add a test
  • use namemap in Data for props and friends?
  • support PhpStormStubsElementAvailable, see other attributes
  • support native function overloading
  • implement getPrototype in method adapter
  • skip symfony polyfills
  • move Locators to API
  • param enum byref/bybval/byany
  • expose Visibility and ClassKind enums isXXX() (methods are more convenient)
  • Investigate https://github.com/typhoon-php/typhoon/actions/runs/10088320051/job/27893896538 ZMQContext, ZMQPoll fails
  • include dependencies' hash in cache keys
  • Refactor inner exceptions
  • Return Resource::$code? (this will not allow to use code in hooks)
  • class constant value type resolution (Introduce TypeKind::Value, infer constant value types #60)
  • prohibit serialization of Reflector, *Reflection
  • add visitors for aliases and class constant mask resolution
  • what location should be used for inherited elements?
  • Self, patent could be fully resolved when inherited.
  • resolve aliases when class is inherited to eliminate possible templates inside the type alias. does template inside alias make sense?
  • const $a, $b location, @var

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions