<?xml version="1.0"?>
<documentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd"
    title="New Constant Visibility"
    >
    <standard>
    <![CDATA[
    Class constants can be declared with visibility since PHP 7.1.
    ]]>
    </standard>
    <code_comparison>
        <code title="Cross-version compatible: not using a visibility modifier.">
        <![CDATA[
class Foo {
    const BAR = 10;
}
        ]]>
        </code>
        <code title="PHP >= 7.1: using a visibility modifier.">
        <![CDATA[
class Foo {
    <em>protected</em> const BAR = 10;
}
        ]]>
        </code>
    </code_comparison>
</documentation>
