This file contains hidden or 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 hidden or 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 hidden or 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>[email protected]</document.mail> | |
<response> |
This file contains hidden or 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 hidden or 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) | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 <[email protected]>. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without |
This file contains hidden or 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 <[email protected]>. | |
* All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without |
This file contains hidden or 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'; |
NewerOlder