You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/09/25 14:44:13 UTC
[GitHub] [netbeans] terax6669 opened a new issue, #4683: [PHP] No IDE hint for promoted properties with @mixin
terax6669 opened a new issue, #4683:
URL: https://github.com/apache/netbeans/issues/4683
### Apache NetBeans version
Apache NetBeans 15
### What happened
NetBeans fails to provide hints for promoted properties in a child property when introduced via `@mixin`.
![image](https://user-images.githubusercontent.com/19204073/192149508-795a5244-1f09-4067-8c53-e98e1bf755e2.png)
### How to reproduce
```php
<?php
/**
* @property-read Data $data
*/
class IdeHelperDataContainer
{
}
/**
* @mixin IdeHelperDataContainer
*/
class DataContainer
{
}
class Data
{
public function __construct(
public readonly array $foo,
) {
}
}
$container = new DataContainer();
$data = new Data([]);
$container->data; // works
$container->data->foo; // no ide hint!
$data->foo; // works
```
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Windows 11 Pro 22000.978
### JDK
OpenJDK 19.0.0 (from Chocolatey)
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
Only when using `@mixin`.
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] terax6669 commented on issue #4683: [PHP] No IDE hint for promoted properties with @mixin
Posted by GitBox <gi...@apache.org>.
terax6669 commented on issue #4683:
URL: https://github.com/apache/netbeans/issues/4683#issuecomment-1337765141
Still happening on NetBeans 16.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] tmysik closed issue #4683: [PHP] No IDE hint for promoted properties with @mixin
Posted by "tmysik (via GitHub)" <gi...@apache.org>.
tmysik closed issue #4683: [PHP] No IDE hint for promoted properties with @mixin
URL: https://github.com/apache/netbeans/issues/4683
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] zeleznypa commented on issue #4683: [PHP] No IDE hint for promoted properties with @mixin
Posted by "zeleznypa (via GitHub)" <gi...@apache.org>.
zeleznypa commented on issue #4683:
URL: https://github.com/apache/netbeans/issues/4683#issuecomment-1451597343
Still happening on NetBeans17.
More info for `@mixin`: https://phpstan.org/writing-php-code/phpdocs-basics#mixins
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[GitHub] [netbeans] junichi11 commented on issue #4683: [PHP] No IDE hint for promoted properties with @mixin
Posted by "junichi11 (via GitHub)" <gi...@apache.org>.
junichi11 commented on issue #4683:
URL: https://github.com/apache/netbeans/issues/4683#issuecomment-1489543832
Reproducible. Thanks for your report.
BTW, Need not "Still happening on NetBeans **." because it does not happen anything if anyone does not work on it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists