diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2017-01-05 23:33:18 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2017-01-05 23:33:35 -0500 |
commit | 60bd24a5fe41dd6d89a83e94f8825887a8b40f68 (patch) | |
tree | d0bd49422b925bd408c20ed0187eb3827f75cfdd /dev-php/phpmd/files | |
parent | net-misc/capi4hylafax: amd64 stable wrt bug #587014 (diff) | |
download | gentoo-60bd24a5fe41dd6d89a83e94f8825887a8b40f68.tar.gz gentoo-60bd24a5fe41dd6d89a83e94f8825887a8b40f68.tar.bz2 gentoo-60bd24a5fe41dd6d89a83e94f8825887a8b40f68.zip |
dev-php/phpmd: replace v1.5.0 with v2.5.0.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php/phpmd/files')
-rw-r--r-- | dev-php/phpmd/files/autoload.php | 14 | ||||
-rw-r--r-- | dev-php/phpmd/files/channel.xml | 16 |
2 files changed, 14 insertions, 16 deletions
diff --git a/dev-php/phpmd/files/autoload.php b/dev-php/phpmd/files/autoload.php new file mode 100644 index 000000000000..b0fa4764c7ca --- /dev/null +++ b/dev-php/phpmd/files/autoload.php @@ -0,0 +1,14 @@ +<?php +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once('/usr/share/php/Fedora/Autoloader/autoload.php'); +} + +\Fedora\Autoloader\Autoload::addPsr4( + 'PHPMD\\', + __DIR__ . '/../src/main/php/PHPMD' +); + + +\Fedora\Autoloader\Dependencies::required( + array('/usr/share/phpdepend/vendor/autoload.php') +); diff --git a/dev-php/phpmd/files/channel.xml b/dev-php/phpmd/files/channel.xml deleted file mode 100644 index 148ac19cf83a..000000000000 --- a/dev-php/phpmd/files/channel.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<channel version="1.0" xmlns="http://pear.php.net/channel-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd"> - <name>pear.phpmd.org</name> - <summary>PHP Mess Detector PEAR channel</summary> - <suggestedalias>phpmd</suggestedalias> - <servers> - <primary> - <rest> - <baseurl type="REST1.0">http://pear.phpmd.org//rest/</baseurl> - <baseurl type="REST1.1">http://pear.phpmd.org//rest/</baseurl> - <baseurl type="REST1.2">http://pear.phpmd.org//rest/</baseurl> - <baseurl type="REST1.3">http://pear.phpmd.org//rest/</baseurl> - </rest> - </primary> - </servers> -</channel>
\ No newline at end of file |