<NME> FooInterface.php
<BEF> <?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2016 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace ZendTest\Code\TestAsset;

interface FooInterface extends \ArrayAccess
{
    const BAR = 5;
    const FOO = self::BAR;

    public function fooBarBaz();

}

<MSG> Feature: constant visibility

As we support already only PHP 7.1+ we can define visibility for constants.

<DFF> @@ -11,8 +11,8 @@ namespace ZendTest\Code\TestAsset;
 
 interface FooInterface extends \ArrayAccess
 {
-    const BAR = 5;
-    const FOO = self::BAR;
+    public const BAR = 5;
+    public const FOO = self::BAR;
 
     public function fooBarBaz();
 

Feature: constant visibility