From: Michael Wallner Date: Thu, 5 Apr 2007 18:26:21 +0000 (+0000) Subject: - we're not interested in private properties X-Git-Tag: RELEASE_1_5_3~10 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=59a1d06f1498dd2aab19316b7f5405d76b4170e7;p=m6w6%2Fext-http - we're not interested in private properties --- diff --git a/scripts/check_docs.php b/scripts/check_docs.php index 79e5ff5..fb6d931 100755 --- a/scripts/check_docs.php +++ b/scripts/check_docs.php @@ -47,8 +47,8 @@ foreach ($ext->getClasses() as $class) { re($class->getName().".xml", "#>$name<#") or printf("\t%s::%s (%s)\n", $class->getName(), $name, $tmp); } foreach ($class->getProperties() as $prop) { - // blatant guess - re($class->getName().".xml", "#>{$prop->getName()}<#") or printf("\t%s::$%s\n", $class->getName(), $prop->getName()); + /* @var $prop ReflectionProperty */ + $prop->isPrivate() or re($class->getName().".xml", "#>{$prop->getName()}<#") or printf("\t%s::$%s\n", $class->getName(), $prop->getName()); } foreach ($class->getMethods() as $meth) { /* @var $meth ReflectionMethod */