Use method_exists instead
* try catch does not work in this case, using function_exists instead.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Lint | |||||||||
passed |
#5954
|
lint:lint-php5.4 |
00:00:49
|
|
|||||
passed |
#5955
|
lint:lint-php5.6 |
00:00:50
|
|
|||||
passed |
#5956
|
lint:lint-php7.0 |
00:00:49
|
|
|||||
passed |
#5957
|
lint:lint-php7.1 |
00:00:35
|
|
|||||
Codesniffer | |||||||||
passed |
#5958
|
codesniffer |
00:00:53
|
|
|||||
Unit | |||||||||
passed |
#5959
|
unit:testBasic |
00:00:57
|
|
|||||
passed |
#5960
|
unit:testRead |
00:00:32
|
|
|||||
passed |
#5961
|
unit:testReadAssertFail |
00:00:51
|
|
|||||
passed |
#5962
|
unit:testUserProperty |
00:00:54
|
|
|||||