PageRenderTime 1758ms queryFilters 1ms Sphinxql 1052ms GetByIds 628ms meta 0ms repositoryFilters 10ms languageFilters 9ms sourceFilters 2ms

1,542,995 results for 'php empty repo:facebook/hiphop-php' (1758 ms)

Source

Language

Repository

v1.php https://github.com/ntws/agilebill.git | PHP | 1,618 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.74 2008/01/03 20:26:36 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
install.php https://github.com/mikmagic/sugarcrm_dev.git | PHP | 587 lines
1<?php
2 if(!defined('sugarEntry'))define('sugarEntry', true);
39if (version_compare(phpversion(),'5.2.0') < 0) {
40	$msg = 'Minimum PHP version required is 5.2.0.  You are using PHP version  '. phpversion();
41    die($msg);
50require_once('include/SugarLogger/LoggerManager.php');
51require_once('sugar_version.php');
52require_once('include/utils.php');
284// Add check here to see if a silent install config file exists; if so then launch silent installer
285elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
286    echo <<<EOHTML
326
327$exclude_files = array('register.php','download_modules.php');
328
487        // check to see if installer has been disabled
488        if(is_readable('config.php') && (filesize('config.php') > 0)) {
489            include_once('config.php');
SugarView.php https://github.com/mikmagic/sugarcrm_dev.git | PHP | 1,244 lines
1<?php
2/*********************************************************************************
213            //Also, do not track save actions where there is no bean id
214            if($monitor->visible && empty($this->bean->id)) {
215            $trackerManager->unsetMonitor($monitor);
306        $company_logo_attributes = sugar_cache_retrieve('company_logo_attributes');
307        if(!empty($company_logo_attributes)) {
308            $ss->assign("COMPANY_LOGO_MD5", $company_logo_attributes[0]);
345        $global_control_links = array();
346        require("include/globalControlLinks.php");
347
847    {
848        if (isset($this->bean) && !empty($this->bean->id) && (file_exists('modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/Ext/Layoutdefs/layoutdefs.ext.php'))) {
849            $GLOBALS['focus'] = $this->bean;
857    {
858        if (!empty($GLOBALS['current_user']) && empty($GLOBALS['modListHeader']))
859            $GLOBALS['modListHeader'] = query_module_access_list($GLOBALS['current_user']);
admin.php https://bitbucket.org/cubeee/wp-fin.git | PHP | 926 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
main.php https://github.com/gbby/folders2web.git | PHP | 814 lines
1<?php
2
34 *
35 * Please have a look at the "mediamanager.php" and "detail.php" file in the
36 * same folder, they are also influencing the var's value.
53}
54if (!empty($vector_action) &&
55    $vector_action !== "article" &&
417    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
418<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo hsc($conf["lang"]); ?>" lang="<?php echo hsc($conf["lang"]); ?>" dir="<?php echo hsc($lang["direction"]); ?>">
419<head>
432//are slashes "/" used for the keynames (see bugreport for more information:
433//<http://bugs.php.net/bug.php?id=49692>). to trigger this workaround, simply
434//delete/rename vector's style.ini.
435if (!file_exists(DOKU_TPLINC."style.ini")){
436    echo  "<link rel=\"stylesheet\" media=\"all\" type=\"text/css\" href=\"".DOKU_TPL."bug49642.php".((!empty($lang["direction"]) && $lang["direction"] === "rtl") ? "?langdir=rtl" : "")."\" />\n"; //var comes from DokuWiki core
437}
v1.php https://github.com/svn2github/efront-lms.git | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
Themes.php https://github.com/Arantor/Elkarte.git | PHP | 2,214 lines
396		foreach ($context['themes'] as $k => $v)
397			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
398				unset($context['themes'][$k]);
706
707	if (empty($_GET['th']) && empty($_GET['id']))
708		return action_admintheme();
1441		// This happens when the admin session is gone and the user has to login again
1442		if (empty($_FILES['theme_gz']) && empty($_REQUEST['theme_gz']))
1443			redirectexit('action=admin;area=theme;sa=admin;' . $context['session_var'] . '=' . $context['session_id']);
2097	{
2098		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2099			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2112	{
2113		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2114			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
Themes.php https://github.com/smf-portal/SMF2.1.git | PHP | 2,205 lines
392		foreach ($context['themes'] as $k => $v)
393			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
394				unset($context['themes'][$k]);
1437		// This happens when the admin session is gone and the user has to login again
1438		if (empty($_FILES['theme_gz']) && empty($_REQUEST['theme_gz']))
1439			redirectexit('action=admin;area=theme;sa=admin;' . $context['session_var'] . '=' . $context['session_id']);
1546
1547					if (empty($explicit_images) && !empty($install_info['base_theme_url']))
1548						$install_info['theme_url'] = $install_info['base_theme_url'];
2086	{
2087		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2088			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2101	{
2102		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2103			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
SugarView.php https://github.com/vincentamari/SuperSweetAdmin.git | PHP | 1,249 lines
1<?php
2/*********************************************************************************
302        $company_logo_attributes = sugar_cache_retrieve('company_logo_attributes');
303        if(!empty($company_logo_attributes)) {
304            $ss->assign("COMPANY_LOGO_MD5", $company_logo_attributes[0]);
341        $global_control_links = array();
342        require("include/globalControlLinks.php");
343
449                // We are using grouped tabs
450                require_once('include/GroupedTabs/GroupedTabStructure.php');
451                $groupedTabsClass = new GroupedTabStructure();
848    {
849        if (isset($this->bean) && !empty($this->bean->id) && (file_exists('modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/Ext/Layoutdefs/layoutdefs.ext.php'))) {
850            $GLOBALS['focus'] = $this->bean;
858    {
859        if (!empty($GLOBALS['current_user']) && empty($GLOBALS['modListHeader']))
860            $GLOBALS['modListHeader'] = query_module_access_list($GLOBALS['current_user']);
fiche.php https://github.com/zeert/dolibarr.git | PHP | 1,341 lines
1<?php
2/* Copyright (C) 2002-2007	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
28require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
29require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
30require_once(DOL_DOCUMENT_ROOT."/core/modules/fichinter/modules_fichinter.php");
30require_once(DOL_DOCUMENT_ROOT."/core/modules/fichinter/modules_fichinter.php");
31require_once(DOL_DOCUMENT_ROOT."/core/lib/fichinter.lib.php");
32require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php");
37}
38if (! empty($conf->global->FICHEINTER_ADDON) && is_readable(DOL_DOCUMENT_ROOT ."/core/modules/fichinter/mod_".$conf->global->FICHEINTER_ADDON.".php"))
39{
886
887    $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
888
1271            $newlang='';
1272            if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1273            if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
class-supportflow-admin.php https://github.com/SupportFlow/supportflow.git | PHP | 1,296 lines
68
69		if ( in_array( $pagenow, array( 'post.php', 'post-new.php' ) ) ) {
70			wp_enqueue_media();
256
257		$class    = empty( $class ) && empty( $_REQUEST['post_status'] ) && empty( $_REQUEST['show_sticky'] ) ? ' class="current"' : '';
258		$view_all = "<a href='edit.php?post_type=$post_type'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
790							<?php foreach ( $post_statuses as $slug => $post_status ) : ?>
791								<option value="<?php esc_attr_e( $slug ) ?>"<?php selected( $current_status_id, $slug ) ?>><?php esc_html_e( $post_status['label'] ) ?></option>;
792							<?php endforeach; ?>
1183
1184		if ( in_array( $pagenow, array( 'edit.php', 'post-new.php' ) ) && ! empty( $_GET['post_type'] ) && $_GET['post_type'] == SupportFlow()->post_type ) {
1185			return $pagenow;
1185			return $pagenow;
1186		} elseif ( 'post.php' == $pagenow && ! empty( $_GET['action'] ) && 'edit' == $_GET['action'] && ! empty( $_GET['post'] ) ) {
1187			$the_post = get_post( absint( $_GET['post'] ) );
sitepress.class.php https://bitbucket.org/acipriani/madeinapulia.com | PHP | 11,455 lines
2573		// also fix links to category and tag pages
2574		if ( ( 'edit.php' == $pagenow || 'edit-pages.php' == $pagenow || 'categories.php' == $pagenow || 'edit-tags.php' == $pagenow ) && $current_language != $default_language ) {
2575			?>
5140								<label><input name="icl_mcs_custom_taxs_<?php echo $ctax ?>" class="icl_mcs_custom_taxs" type="radio"
5141											  value="<?php echo $ctax ?>" <?php echo $checked1; ?><?php echo $radio_disabled ?> />&nbsp;<?php _e( 'Translate', 'sitepress' ) ?></label>
5142								<label><input name="icl_mcs_custom_taxs_<?php echo $ctax ?>" type="radio" value="0" <?php echo $checked0; ?><?php echo $radio_disabled ?> />&nbsp;<?php _e( 'Do nothing', 'sitepress' ) ?></label>
5726} ?>
5727				<option value="<?php echo $lang[ 'code' ] ?>"<?php if ( $selected_language == $lang[ 'code' ] ): ?> selected="selected"<?php endif; ?>><?php echo $lang[ 'display_name' ] ?></option>
5728			<?php endforeach; ?>
5887					(<a class="icl_toggle_show_translations" href="#" <?php if (empty( $this->settings[ 'show_translations_flag' ] )): ?>style="display:none;"<?php endif; ?>><?php _e( 'hide', 'sitepress' ) ?></a><a
5888						class="icl_toggle_show_translations" href="#" <?php if (!empty( $this->settings[ 'show_translations_flag' ] )): ?>style="display:none;"<?php endif; ?>><?php _e( 'show', 'sitepress' ) ?></a>)
5889
9035				<input type="hidden" id="icl_dismiss_help_nonce" value="<?php echo $icl_dhn = wp_create_nonce( 'dismiss_help_nonce' ) ?>"/>
9036				<a href="admin.php?page=<?php echo basename( ICL_PLUGIN_PATH ) . '/menu/languages.php&icl_action=dismiss_help&_icl_nonce=' . $icl_dhn; ?>" class="button"><?php _e( 'No thanks, I will configure myself', 'sitepress' ) ?></a>&nbsp;
9037				<a title="<?php _e( 'Stop showing this message', 'sitepress' ) ?>" id="icl_dismiss_help" href=""><?php _e( 'Dismiss', 'sitepress' ) ?></a>
admin.php https://github.com/p13t3rm/wpaustralia.git | PHP | 926 lines
165	$key_status_strings = array( 
166	 	'empty'   => __( 'Empty' ), 
167		'valid'   => __( 'Valid' ), 
218						<td>
219							<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
220							<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
227							<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
228							<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
229							<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
322	if ( !$api_key ) :?>
323	<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
324	else :?>
324	else :?>
325	<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
326	endif;?>
functions.php https://github.com/ngocphuuit/wordpress-tax.git | PHP | 812 lines
1<?php
2/*
31            return maybe_unserialize( $cache[$post_id][$meta_key][0] );
32        } else if ( !$single && !empty( $cache[$post_id][$meta_key] ) ) {
33            return maybe_unserialize( $cache[$post_id][$meta_key] );
71    $custom_types = get_option( 'wpcf-custom-types', array() );
72    if ( !empty( $custom_types ) ) {
73        foreach ( $custom_types as $post_type => $data ) {
73        foreach ( $custom_types as $post_type => $data ) {
74            if ( !empty( $data['supports']['thumbnail'] ) ) {
75                if ( !current_theme_supports( 'post-thumbnails' ) ) {
422    global $wpcf;
423    $is_windows = PHP_OS == "WIN32" || PHP_OS == "WINNT";
424    if ( isset( $wpcf->debug ) ) {
779                'checked' => (!empty( $field['value'][$option_key] )// Also check new post
780                || ($pagenow == 'post-new.php' && !empty( $option['checked'] ))) ? true : false,
781                'name' => 'wpcf[' . $field['id'] . '][' . $option_key . ']',
admin.php https://bitbucket.org/matyhaty/senses-avj-printclub | PHP | 851 lines
146?>
147<?php if ( !empty($_POST['submit'] ) ) : ?>
148<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
224		<td><?php echo htmlspecialchars($ip); ?></td>
225		<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
226		
310					<p><?php esc_html_e( $alert['msg'] ); ?></p>
311					<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
312				</div>
327		return;
328	} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) &&  wp_next_scheduled('akismet_schedule_cron_recheck') ) {
329		function akismet_warning() {
766function akismet_add_comment_author_url() {
767    if ( !empty( $_POST['id'] ) && !empty( $_POST['url'] ) && check_admin_referer( 'comment_author_url_nonce' ) ) {
768        global $wpdb;
Themes.php https://github.com/leftnode/nooges.com.git | PHP | 2,508 lines
450		foreach ($context['themes'] as $k => $v)
451			if (empty($v['theme_dir'])  || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
452				unset($context['themes'][$k]);
748
749	if (empty($_GET['th']) && empty($_GET['id']))
750		return ThemeAdmin();
2207	// If linktree is empty, just return - also allow an override.
2208	if (empty($context[\'linktree\']) || (!empty($context[\'dont_default_linktree\']) && !$force_show))
2209		return;
2255		/* IE6 can\'t do multiple class selectors */
2256		if ($context[\'browser\'][\'is_ie6\'] && !empty($button[\'active_button\']) && !empty($button[\'is_last\']))
2257			$classes[] = \'lastactive\';
2261		echo \'
2262				<a id="button_\', $act, \'"\', !empty($classes) ? \' class="\' . $classes . \'"\' : \'\', \' title="\', !empty($button[\'alttitle\']) ? $button[\'alttitle\'] : $button[\'title\'], \'" href="\', $button[\'href\'], \'">\', ($settings[\'use_image_buttons\'] ? \'<img src="\' . $settings[\'images_url\'] . \'/\' . $context[\'user\'][\'language\'] . \'/home.gif" alt="\' . $txt[\'home\'] . \'" border="0" />\' : $txt[\'home\']), \'</a>\', (empty($button[\'is_last\']) ? $context[\'menu_separator\'] : \'\');
2263
install.php https://github.com/item/sugarcrm_dev.git | PHP | 586 lines
1<?php
2 if(!defined('sugarEntry'))define('sugarEntry', true);
39if (version_compare(phpversion(),'5.2.0') < 0) {
40	$msg = 'Minimum PHP version required is 5.2.0.  You are using PHP version  '. phpversion();
41    die($msg);
50require_once('include/SugarLogger/LoggerManager.php');
51require_once('sugar_version.php');
52require_once('include/utils.php');
284// Add check here to see if a silent install config file exists; if so then launch silent installer
285elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
286    echo <<<EOHTML
326
327$exclude_files = array('register.php','download_modules.php');
328if(isset($next_step) && isset($workflow[$next_step]) && !in_array($workflow[$next_step],$exclude_files) && isset($sugar_config['installer_locked']) && $sugar_config['installer_locked'] == true) {
486        // check to see if installer has been disabled
487        if(is_readable('config.php') && (filesize('config.php') > 0)) {
488            include_once('config.php');
v1.php https://bitbucket.org/Yason/hg-armory | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://bitbucket.org/AndreasLoew/piecrust | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://bitbucket.org/ywarnier/chamilo-dev | PHP | 1,712 lines
243/**
244 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
245 */
1034                PEAR_PACKAGEFILE_ERROR_CHANNELVAL => 'Channel validator error: field "%field%" - %reason%', 
1035                PEAR_PACKAGEFILE_ERROR_PHP5 => 'Error, PHP5 token encountered in %file%, analysis should be in PHP5', 
1036                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND => 'File "%file%" in package.xml does not exist', 
1167                }
1168                if ($d['type'] == 'php' && ! empty($d['name']))
1169                {
1172                }
1173                elseif ($d['type'] != 'php' && empty($d['name']))
1174                {
1176                }
1177                if ($d['type'] == 'php' && empty($d['version']))
1178                {
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21