Open Monograph Press
3.3.0
VersionTest.php
1
<?php
2
3
namespace
Guzzle\Tests\Common
;
4
5
use
Guzzle\Common\Version
;
6
10
class
VersionTest
extends
\Guzzle\Tests\GuzzleTestCase
11
{
15
public
function
testEmitsWarnings
()
16
{
17
Version::$emitWarnings
=
true
;
18
Version::warn
(
'testing!'
);
19
}
20
21
public
function
testCanSilenceWarnings
()
22
{
23
Version::$emitWarnings
=
false
;
24
Version::warn
(
'testing!'
);
25
Version::$emitWarnings
=
true
;
26
}
27
}
Guzzle\Tests\Common\VersionTest
Definition:
VersionTest.php:10
Guzzle\Tests\GuzzleTestCase
Definition:
GuzzleTestCase.php:22
Guzzle\Common\Version\warn
static warn($message)
Definition:
Version.php:23
Guzzle\Common\Version
Definition:
Version.php:8
Guzzle\Common\Version\$emitWarnings
static $emitWarnings
Definition:
Version.php:16
Guzzle\Tests\Common\VersionTest\testEmitsWarnings
testEmitsWarnings()
Definition:
VersionTest.php:15
Guzzle\Tests\Common
Guzzle\Tests\Common\VersionTest\testCanSilenceWarnings
testCanSilenceWarnings()
Definition:
VersionTest.php:21
plugins
paymethod
paypal
lib
vendor
guzzle
guzzle
tests
Guzzle
Tests
Common
VersionTest.php
Generated on Fri Aug 28 2020 14:53:59 for Open Monograph Press by
1.8.17