Hi,

With the version v1.49.15818 (pre-release) of your tool, the reference for a method between the trait and the class does not work.

<?php
    namespace Devsense\Common;

    trait MyTrait
    {
        public function test()
        {
            $this->myMethod();
        }

        abstract public function myMethod();
    }

    final class MyClass
    {
        use MyTrait;

        /**
         * Check the references to this method
         */
        public function myMethod()
        {
            return null;
        }
    }

Regards,

21 days later
a month later
a month later
Write a Reply...