Skip to content

Conversation

@slapoguzov
Copy link
Contributor

Several breaking changes are coming with PHPStorm 2020.2 version:

  1. Generic types were added to function signatures from LineMarkerProvider interface. I just updated all implementations of LineMarkerProvider in the project.

  2. Now type declarations are able to contain several ClassReferences(for union types support) therefore a new wrapper PhpTypeDeclaration to get all ClassReferences from type declaration was introduced. (see more information here https://www.jetbrains.org/intellij/sdk/docs/products/phpstorm/php_open_api_breaking_changes.html).
    I found only one affected place in the project - PhpElementsUtil#getMethodParameterTypeHints().

  3. Twig PsiComment used to be atomic, and now contains COMMENT_START, COMMENT_TEXT, COMMENT_END tokens. I removed COMMENT_START ({#) and COMMENT_END(#}) from doc patterns.

slapoguzov and others added 4 commits June 24, 2020 15:42
…er (union types support) - now a parameter can contain several class references

[support for 2020.2 version] process all class references for parameter (union types support) - now a parameter can contain several class references

fixup! [support for 2020.2 version] process all class references for parameter (union types support) - now a parameter can contain several class references
…atterns & migrate to non-atomic PsiComment structure
# Conflicts:
#	src/main/java/fr/adrienbrault/idea/symfony2plugin/config/ServiceLineMarkerProvider.java
@Haehnchen Haehnchen merged commit 2d4afda into Haehnchen:master Aug 4, 2020
@Haehnchen
Copy link
Owner

@JetBrains @slapoguzov thank for support; its merged via #1531 and new version release for PhpStorm 2020.2

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

Successfully merging this pull request may close these issues.

2 participants