summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authortailor <cygnus@janrain.com>2006-01-16 23:36:45 +0000
committertailor <cygnus@janrain.com>2006-01-16 23:36:45 +0000
commit1af777dfcba59bd1d768432655d6d8d210e899da (patch)
tree2daa5390620bc9ede3e22e81ed7f123660c3df45 /admin
parent8ee5a5830f2cd3d9f9a15df133d8aebbbc74a562 (diff)
downloadphp-openid-1af777dfcba59bd1d768432655d6d8d210e899da.zip
php-openid-1af777dfcba59bd1d768432655d6d8d210e899da.tar.gz
php-openid-1af777dfcba59bd1d768432655d6d8d210e899da.tar.bz2
[project @ Moved modules from Net::OpenID namespace to Auth::OpenID for better PEAR categorization]
Diffstat (limited to 'admin')
-rw-r--r--admin/docblocks2
-rw-r--r--admin/makedoc.sh2
-rw-r--r--admin/mathlib4
-rw-r--r--admin/nobadbraces2
-rw-r--r--admin/nobadcase6
-rw-r--r--admin/nolonglines2
-rw-r--r--admin/open_tag2
-rw-r--r--admin/texttest.php2
8 files changed, 11 insertions, 11 deletions
diff --git a/admin/docblocks b/admin/docblocks
index 56cafe6..cb4f9b2 100644
--- a/admin/docblocks
+++ b/admin/docblocks
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#set -e
-bad_files=$(find Net Tests -name \*.php |
+bad_files=$(find Auth Tests -name \*.php |
xargs -l1 /usr/bin/env perl admin/docblocks.pl)
if [ "$bad_files" ]
diff --git a/admin/makedoc.sh b/admin/makedoc.sh
index e5b2560..a6596aa 100644
--- a/admin/makedoc.sh
+++ b/admin/makedoc.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-phpdoc -p -t doc -d Net -ti "JanRain OpenID Library" -dn "OpenID"
+phpdoc -p -t doc -d Auth -ti "JanRain OpenID Library" -dn "OpenID"
diff --git a/admin/mathlib b/admin/mathlib
index d2a7012..6cabc91 100644
--- a/admin/mathlib
+++ b/admin/mathlib
@@ -4,9 +4,9 @@
require_once('adminutil.php');
includeAdd(getParent());
-require_once('Net/OpenID/CryptUtil.php');
+require_once('Auth/OpenID/CryptUtil.php');
-$lib =& Net_OpenID_MathLibrary::getLibWrapper();
+$lib =& Auth_OpenID_MathLibrary::getLibWrapper();
if ($lib === null) {
fwrite(STDERR, 'No math library present\n');
diff --git a/admin/nobadbraces b/admin/nobadbraces
index c72ef80..7573fc7 100644
--- a/admin/nobadbraces
+++ b/admin/nobadbraces
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
-bad_functions=$(find Net Tests -name \*.php |
+bad_functions=$(find Auth Tests -name \*.php |
xargs -l1 --replace=FILENAME /usr/bin/env perl admin/brace_style.pl FILENAME)
if [ "$bad_functions" ]
diff --git a/admin/nobadcase b/admin/nobadcase
index e34aa4e..f3eadf2 100644
--- a/admin/nobadcase
+++ b/admin/nobadcase
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
-bad_true=$(grep -l "TRUE" $(find Net Tests -name \*.php | grep -v darcs))
-bad_false=$(grep -l "FALSE" $(find Net Tests -name \*.php | grep -v darcs))
-bad_null=$(grep -l "NULL" $(find Net Tests -name \*.php | grep -v darcs))
+bad_true=$(grep -l "TRUE" $(find Auth Tests -name \*.php | grep -v darcs))
+bad_false=$(grep -l "FALSE" $(find Auth Tests -name \*.php | grep -v darcs))
+bad_null=$(grep -l "NULL" $(find Auth Tests -name \*.php | grep -v darcs))
if [ "$bad_true" ]
then
diff --git a/admin/nolonglines b/admin/nolonglines
index b857904..6f1eaf1 100644
--- a/admin/nolonglines
+++ b/admin/nolonglines
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-files_with_long_lines=$(find Net Tests -name \*.php |
+files_with_long_lines=$(find Auth Tests -name \*.php |
xargs -l1 wc -L |
awk '$1 > 80 { print $2 }' |
xargs -l1 --replace=FILENAME /usr/bin/env perl admin/longlines.pl FILENAME 80)
diff --git a/admin/open_tag b/admin/open_tag
index 086e761..f60cccc 100644
--- a/admin/open_tag
+++ b/admin/open_tag
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-bad_files=$(find Net Tests -type f -name \*.php |
+bad_files=$(find Auth Tests -type f -name \*.php |
xargs -l1 grep -H -m 1 "<?php" -c |
grep ":0" |
awk -F: '{ print $1 }')
diff --git a/admin/texttest.php b/admin/texttest.php
index 8575500..55f6417 100644
--- a/admin/texttest.php
+++ b/admin/texttest.php
@@ -45,7 +45,7 @@ array_shift($argv);
$t = array_search('--thorough', $argv);
if ($t !== false && $t !== null) {
- define('Tests_Net_OpenID_thorough', true);
+ define('Tests_Auth_OpenID_thorough', true);
}
$suites = loadSuite($argv);