Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
namespace Zend\Config;

/**
* @uses \Zend\Exception
* @category Zend
* @package Zend_Config
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
10 changes: 4 additions & 6 deletions test/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,11 @@ public function testLoadSingleSection()

public function testIsset()
{
if (version_compare(PHP_VERSION, '5.1', '>=')) {
$config = new Config($this->_all, false);
$config = new Config($this->_all, false);

$this->assertFalse(isset($config->notarealkey));
$this->assertTrue(isset($config->hostname)); // top level
$this->assertTrue(isset($config->db->name)); // one level down
}
$this->assertFalse(isset($config->notarealkey));
$this->assertTrue(isset($config->hostname)); // top level
$this->assertTrue(isset($config->db->name)); // one level down
}

public function testModification()
Expand Down

0 comments on commit 6bda391

Please sign in to comment.