summaryrefslogtreecommitdiff
path: root/phpinspect-resolve.el
AgeCommit message (Collapse)Author
2025-06-05Bump version to 3.0.1externals/phpinspectHugo Thunnissen
2025-06-05Update copyright headersHugo Thunnissen
2025-05-30Bump version to 3.0.0Hugo Thunnissen
2025-05-29Fix endless recursion bug in resolving of self-referential variable typeHugo Thunnissen
2025-02-07Only use no-enqueue when it is necessaryHugo Thunnissen
Needs further investigation, but sometimes using no-enqueue can result in a deadlock. A likely cause is the use of no-enqueue while calling the function from the main-thread.
2025-02-07Reindex dynamically resolved property types after change in imported typesHugo Thunnissen
2025-02-06Return unknown-type when derived statement cannot be completely resolvedHugo Thunnissen
2024-11-20Fix bug in indexation and index-deletion of in-buffer constantsHugo Thunnissen
Deletion would crash, as the indexation function could wrongly use a non-string datatype as the name of the constant. This resulted in a failing typecheck (and often a frozen emacs because of the massive stacktrace)
2024-10-29Fix compilation warningsHugo Thunnissen
2024-09-14Bump version to 2.1.0Hugo Thunnissen
2024-09-10Add test for static method suggestion + fix discovered type resolving bugHugo Thunnissen
2024-09-02Fix compilation errorsHugo Thunnissen
2024-09-02Bump version to 2.0.1Hugo Thunnissen
2024-08-31Bump version to 2.0.0Hugo Thunnissen
2024-08-31Implement property cells for more reliable property inheritance modelingHugo Thunnissen
2024-08-31Test and improve typedef index reactivity and lazy loading + fix a bunch of bugsHugo Thunnissen
2024-08-31Replace phpinspect--class with new phpinspect-typedef structureHugo Thunnissen
Typedef is more flexible and allows for more finegrained management of methods and their origins.
2024-08-31Bump version to 1.2.1Hugo Thunnissen
2024-08-22Bump version to 1.2.0Hugo Thunnissen
2024-08-21Format docstringHugo Thunnissen
2024-08-21Add testcase for derived statement starting with function + fix bugHugo Thunnissen
- Derived statements starting with functions were not resolved to a type. This was caused by bugs in `phpinspect--get-derived-statement-type-in-block' and `phpinspect--interpret-expression-type-in-block'. The division in each function's functionalities was blurry and both duplicated some of each other's logic. The situation has now been cleaned up a bit. - An extra testcase was added for derived statements starting with a function call - a bunch of code that broke because of the changes was fixed
2024-08-21Use match-sequence to detect "newed" objectsHugo Thunnissen
2024-08-21Explicitly test and implement the resolving of function call return typesHugo Thunnissen
2024-08-21Bump version to 1.1.0Hugo Thunnissen
2024-08-21Increase version number to 1.0Hugo Thunnissen
2024-08-20Implement indexation of functions nested within blocks/listsHugo Thunnissen
- This fixes a bug that caused laravel helper functions not to be indexed, unless you were to open them in a buffer (the way in which live buffers are indexed is more sophisticated and it already indexed these functions).
2024-08-20Require project when resolving class property typeHugo Thunnissen
2024-08-18Implement resolving types from typecasted statementsHugo Thunnissen
2024-08-18Implement resolving variable types through inline @var annotationsHugo Thunnissen
2024-08-16Resolve types of expressions nested in list tokensHugo Thunnissen
- Resolve "(new Foo())->bar" - Resolve "if ($foo = new Bar()) { $foo->baz"
2024-08-16Refactor use of project root to project obj injection + test and fix some bugsHugo Thunnissen
- Test/Fix indexation of method return types - Get rid of some technical debt (use of project-root and global variables) - Cleanup/refactor tests
2024-08-16Resolve types of suggested variable completionsHugo Thunnissen
2024-08-15Fix another infinite recursion bugHugo Thunnissen
Bug occured in scenario's where array-members were self-referentially assigned in a foreach loop. like so: foreach($things as $thing) { $thing = $this->something; }
2024-08-14Fix infinite recursion bug in `phpinspect--get-pattern-type-in-block'Hugo Thunnissen
2024-08-12Resolve property types using other methods when resolving from constructor failsHugo Thunnissen
Property types of classes in live buffers are now resolved from assignments in other methods when resolving from the __construct method fails.
2024-08-07Add log groups for completion and resolveHugo Thunnissen
2024-08-03Implement support for PHP8.1 property typehintsHugo Thunnissen
2023-08-20Implement stub index for builtin functions and typesHugo Thunnissen
Misc: - Removed Cask in favor of dependency install script - Rework makefile to provide simple build/install process
2023-08-15Update copyright statements and apply some code style improvementsHugo Thunnissen
As suggested by Stefan Monniers patch: - https://mail.gnu.org/archive/html/emacs-devel/2023-08/msg00367.html
2023-08-15Fix all byte compilation warnings and errors (for real this time (probably))Hugo Thunnissen
2023-08-07Fix a variety of bugsHugo Thunnissen
- phpinspect--index-tokens no longer errors upon unexpected return annotation values - phpinspect-fixt-imports now also fixes imports outside of classes - Functions are no longer included in statements when deriving types
2023-07-28Move more functionalities from main file to separate modulesHugo Thunnissen