Skip to content

Commit bd669f5

Browse files
author
skiera
committed
New version number
1 parent 016d944 commit bd669f5

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

META-INF/MANIFEST.MF

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: PHP Depend
44
Bundle-SymbolicName: org.phpsrc.eclipse.pti.tools.phpdepend;singleton:=true
5-
Bundle-Version: 0.4.0.I20100519000000
5+
Bundle-Version: 0.4.0.R20110619000000
66
Bundle-Activator: org.phpsrc.eclipse.pti.tools.phpdepend.PHPDependPlugin
77
Bundle-Vendor: Sven Kiera
88
Require-Bundle: org.eclipse.ui,
@@ -19,7 +19,7 @@ Require-Bundle: org.eclipse.ui,
1919
org.eclipse.ui.editors;bundle-version="3.5.0",
2020
org.eclipse.jface.text;bundle-version="3.5.1",
2121
org.eclipse.wst.validation;bundle-version="1.2.0",
22-
org.eclipse.gmf.runtime.draw2d.ui.render;bundle-version="1.2.0",
22+
org.eclipse.gmf.runtime.draw2d.ui.render;bundle-version="1.4.1",
2323
org.eclipse.draw2d;bundle-version="3.5.0"
2424
Bundle-RequiredExecutionEnvironment: J2SE-1.5
2525
Bundle-ActivationPolicy: lazy

php/tools/pdepend.php

+15-5
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
*
55
* PHP Version 5
66
*
7-
* Copyright (c) 2008-2009, Manuel Pichler <[email protected]>.
7+
* Copyright (c) 2008-2011, Manuel Pichler <[email protected]>.
88
* All rights reserved.
99
*
1010
* Redistribution and use in source and binary forms, with or without
1111
* modification, are permitted provided that the following conditions
1212
* are met:
13-
1413
*
1514
* * Redistributions of source code must retain the above copyright
1615
* notice, this list of conditions and the following disclaimer.
@@ -40,17 +39,28 @@
4039
* @category QualityAssurance
4140
* @package PHP_Depend
4241
* @author Manuel Pichler <[email protected]>
43-
* @copyright 2008-2009 Manuel Pichler. All rights reserved.
42+
* @copyright 2008-2011 Manuel Pichler. All rights reserved.
4443
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
4544
* @version SVN: $Id$
4645
* @link http://pdepend.org/
4746
*/
4847

4948
// PEAR/svn workaround
5049
if (strpos('/usr/bin/php', '@php_bin') === 0) {
51-
set_include_path('.' . PATH_SEPARATOR . dirname(__FILE__));
50+
set_include_path('.' . PATH_SEPARATOR . dirname(__FILE__) . '/../main/php');
51+
}
52+
53+
require_once 'PHP/Depend/Autoload.php';
54+
55+
// Allow as much memory as possible by default
56+
ini_set('memory_limit', -1);
57+
58+
// Disable E_STRICT for all PHP versions < 5.3.x
59+
if (version_compare(phpversion(), '5.3.0')) {
60+
error_reporting(error_reporting() & ~E_STRICT);
5261
}
5362

54-
require_once 'PHP/Depend/TextUI/Command.php';
63+
$autoload = new PHP_Depend_Autoload();
64+
$autoload->register();
5565

5666
exit(PHP_Depend_TextUI_Command::main());

0 commit comments

Comments
 (0)