

3.1.0 · Tags · php-integrator / core · GitLab
source link: https://gitlab.com/php-integrator/core/tags/3.1.0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Major Changes
- Anonymous classes are now properly supported
- Indexing performance has been improved in various ways, for both small and large files
-
A new command
GotoDefinition
to provide code navigation has been added- Class names inside comments are currently no longer supported, but this may change in the future. This should however pose less of a problem now, as docblock types should be accompanied by type hints, which are clickable.
- This moves us one step closer to becoming a language server in the long run.
-
Folder indexing requests are now transparently split up into multiple file index requests
- This will allow for request cancelation and prioritization in the future.
Bugs Fixed
- Fix using traits in interfaces crashing the server
- Fix tooltips not working on grouped use statements
- Fix project paths containing the tilde not being expanded to the user's home folder
- Fix core shrugging and bailing whenever the entity manager closed due to a database error
- Fix unsupported meta file static method types throwing an error instead of being silently skipped
- Fix some edge case bugs with name (type) resolution by upgrading to name-qualification-utilities 0.2.0
- Fix function and method docblock
@return
tag types not being validated against the actual return type - Fix crash with variable expressions in method calls during type deduction of the expression based on meta files
- Make disk I/O and locked database errors propagate as fatal errors, as they currently can't be recovered from and to notify the user
- Fix folder scanning occurring twice during indexing, once for counting the total amount of items (for progress streaming) and once for actual indexing
- Fix occasional "Position out of bounds" logic exception during requests, such as signature help, containing code not explicitly indexed beforehand
- Fix bodies of anonymous classes not being subject to any parsing or linting
- This fixes use statements not being identified as used, among other issues
-
Fix initialize command failing to reinitialize when database was locked or I/O errors occurred
- This happened in spite of the original database connection being closed and the database itself completely being removed due to the WAL and SHM files lingering. This seems to cause sqlite to try and reuse them for the new database during schema creation afterwards, which in turn resulted in never being able to break the chain of errors without removing all database files manually.
Structural changes (mostly relevant to clients)
- Properties now also return a
filename
property, which was missing before - The namespace list will now return a map of ID's to values rather than just values, consistent with other lists
- Anonymous classes are now included in class lists, carrying a special name and FQCN so they can be easily distinguished
- Classes now also include a new
isAnonymous
field that is set totrue
for these classes.
- Classes now also include a new
- The
reindex
command no longer takes astream-progress
argument (it will be silently ignored)- Progress is now only streamed for folder index requests and is always on. If you don't want these notifications, you can simply ignore them.
Recommend
-
68
Socket server that indexes and performs static analysis on PHP code, providing functionalities such as signature help, tooltips, linting, type analysis and other information about the code to clients.
-
82
v1.0.0 · Tags · Mikkel Kjeldsen Announcing git mr-to v1.0.0: git mr-to opens a browser at the new-merge-request URL for a supported provider.
-
57
Free and open source server providing code assistance for PHP.
-
47
Gratis, libre and open source server providing code assistance for PHP. https://serenata.gitlab.io/
-
37
README.md WSO2 Micro Integrator
-
44
v1.0 · Tags · Robert Zenz Changes Initial release. Downloads
-
22
The System Integrator Support Challenge This website stores cookies on your computer. These cookies are used to improve your website and provide more personalized services to you, both on this website...
-
10
New Integrator Photos+ Offers Freedom From iCloud Headaches May 13, 2021 by Lora Maslenitsyna //
-
9
EBS Design System A React-based UI toolkit for enterprise grade applications WARNING The UI...
-
5
Accelerate App Delivery with Cognizant's Next Gen Continuous IntegratorThe phrase “digital transformation” is ubiquitous these days. But what does it actually mean? Often, the heart of a successful digital transformation lies in a co...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK