This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// set up include path | |
set_include_path(realpath(__DIR__ . '/../pflow/lib/') . PATH_SEPARATOR . get_include_path() . PATH_SEPARATOR); | |
require_once 'staticReflection/Autoloader.php'; | |
spl_autoload_register(array(new org\pdepend\reflection\Autoloader, 'autoload')); | |
require_once 'ReflectionFileSetQuery.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is part of the static reflection component. | |
* | |
* PHP Version 5 | |
* | |
* Copyright (c) 2008-2009, Manuel Pichler <mapi@pdepend.org>. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file is part of the static reflection component. | |
* | |
* PHP Version 5 | |
* | |
* Copyright (c) 2008-2009, Manuel Pichler <mapi@pdepend.org>. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
private $_superGlobals = array( | |
'$GLOBALS', | |
'$_SERVER', | |
'$_GET', | |
... | |
); | |
public function apply(PHP_PMD_AbstractNode $node) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class MyClass | |
{ | |
static function myMethod( | |
$x = <<<'FOO' | |
Hello | |
FOO | |
, $y = <<<'BAR' | |
PHP_Depend | |
BAR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<response> | |
<document.id>42</document.id> | |
<document.name>Foo</document.name> | |
<document.desc>Foo Foo Foo Foo</document.desc> | |
<document.mail>foo@bar.de</document.mail> | |
<response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
trait A { | |
function f( ) { | |
return __METHOD__; | |
} | |
} | |
class C { | |
use A { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Just type: | |
~ $ pear upgrade pdepend/PHP_Depend-snapshot | |
to test the latest, memory&performance optimized version of PHP_Depend. | |
Symfony2 Standard (All vendor code) - NCLOC(286749) | |
=================================================== | |
PHP 5.3.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://pdepend.org/schema/configuration" | |
xsi:schemaLocation="http://pdepend.org/schema/configuration http://pdepend.org/schema/1.0/configuration.xsd"> | |
<parser> | |
<nesting>423</nesting> | |
</parser> | |
</configuration> |
OlderNewer