Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring and improvements list #58

Open
15 of 31 tasks
vudaltsov opened this issue Jul 25, 2024 · 0 comments
Open
15 of 31 tasks

Refactoring and improvements list #58

vudaltsov opened this issue Jul 25, 2024 · 0 comments
Assignees
Milestone

Comments

@vudaltsov
Copy link
Member

vudaltsov commented Jul 25, 2024

  • 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
@vudaltsov vudaltsov added this to the 0.4.0 milestone Jul 25, 2024
@vudaltsov vudaltsov self-assigned this Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant