llaville / php-compatinfo

Library that find out the minimum version and the extensions required for a piece of code to run
https://llaville.github.io/php-compatinfo/7.1/
Other
373 stars 20 forks source link

What's the letter in the fist column? #236

Closed LucasKovacs closed 7 years ago

LucasKovacs commented 7 years ago

Well as the question says, what that letter? What's indicating?

For example I get sometimes 'U', and in some others 'C'.

I went through the user documentation and command documentation and couldn't find what's the meaning of those.

llaville commented 7 years ago

The U tells (User) that component came from vendor sources and are not from main project files The Ctells (Conditional) that element is found on a conditional code

LucasKovacs commented 7 years ago

What does it means that came from a conditional code?

llaville commented 7 years ago

If we found one of these instructions (see https://github.com/llaville/php-compat-info/blob/master/src/Bartlett/CompatInfo/PhpParser/ConditionalCodeNodeProcessor.php#L45)