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

Commit

Permalink
Merge branch 'feature/di' of github.com:ralphschindler/zf2 into featu…
Browse files Browse the repository at this point in the history
…re/rackspace
  • Loading branch information
ezimuel committed May 31, 2011
9 parents ffbd904 + 633cda5 + 5b7f14c + 5a4a15d + f06099b + 860f855 + b812661 + f9abe33 + 61559f2 commit 77efb4b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/CreditCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public function isValid($value)
$this->_error(self::SERVICE, $value);
return false;
}
} catch (\Zend\Exception $e) {
} catch (\Exception $e) {
$this->_error(self::SERVICEFAILURE, $value);
return false;
}
Expand Down
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\Validator;

/**
* @uses \Zend\Exception
* @category Zend
* @package Zend_Validate
* @copyright Copyright (c) 2005-2011 Zend Technologies USA Inc. (http://www.zend.com)
Expand Down
2 changes: 1 addition & 1 deletion test/EmailAddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ public function testInstanceWithOldOptions()
$this->assertEquals(Hostname::ALLOW_ALL, $options['allow']);
$this->assertTrue($options['mx']);
set_error_handler($handler);
} catch (\Zend\Exception $e) {
} catch (\Zend\Validator\Exception\InvalidArgumentException $e) {
$this->markTestSkipped('MX not available on this system');
}
}
Expand Down

0 comments on commit 77efb4b

Please sign in to comment.