question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

public always true

See original GitHub issue

Input:

class MyClass
{
    function myFunction() 
    {
        // Nothing
    }
}

function always interpreted as public. Maybe we can add hiddenVisibility: true (maybe best name)?

Based https://github.com/prettier/plugin-php/issues/72

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ichiriaccommented, Mar 1, 2018

I will work on php-parser bug this week, and I’ll release it under 3.0.0-alpha

1reaction
ichiriaccommented, Feb 20, 2018

@evilebottnawi, now the visibility property is empty when the keyword is not defined.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I getting an "Expression always true" warning?
If your code enters the first else block it means that (varKnownFolder == null) was evaluated to false. So the second check is...
Read more >
Dead Code: Expression is Always true - Fortify Taxonomy
This expression will always evaluate to true. This expression will always evaluate to true ; the program could be rewritten in a simpler...
Read more >
A warning 'Condition is always true' on if-statement, but ...
A warning 'Condition is always true' on if-statement, but actually not always true. 23. Hotlists (5)
Read more >
Unit 3 Test Flashcards
Study with Quizlet and memorize flashcards containing terms like At a certain high school students receive letter grades based on the following scale....
Read more >
Chapter 5 Check Point Questions - Java!
Is count < 100 always true, always false, or sometimes true or sometimes false at ... Scanner; public class Test { public static...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found