PHP 8 named arguments color
See original GitHub issueThere are a mish mash coloring for the PHP 8 named arguments.
Screenshot:
For reproduction:
<?php
sample('string', param: 1);
figure(sprintf('pattern %d', 1), param: 1);
type(Class::func(), param: 1);
throw new \Exception(sprintf('pattern %d', 1), param: 1);
type(
Class::func(),
param: 1
);
throw new \Exception(
"Error Processing Request",
param: 1,
option: 0
);
Class::func('string', mode: 0);
type(Class::func(), param: 1);
Screenshot of the code above:
Thank you for your great work!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
PHP 8 Named Arguments - YouTube
Please consider supporting Anna Filina's Ukrainian relatives https://afilina.com/donate/ua-suppliesOther ways to support the people of ...
Read more >Named Arguments and Variadics in PHP 8 | Mark Baker's Blog
It means that we can instantiate a new car using named arguments for those optional values rather than passing them as an associative...
Read more >Named arguments in PHP 8 | Arsouyes.org
This class has all needed to create an image, draw it and build colors for subsequent uses. Lets say that I then add...
Read more >Understanding named arguments | PHP 8 Programming Tips ...
Named arguments represent a way to avoid confusion when calling functions or methods with a large number of arguments. This not only helps...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! Seems to be working fine. However, I still added the
entity.name.goto-label.php
key. If I notice anything else, I’ll get in touch again. Thanks!you can add this snippet in your settions.json before I release next version