@@ -231,7 +231,7 @@ public function setLang($lang)
231231 $ obj = new $ lang ();
232232 if (! ($ obj instanceof LanguageInterface)) {
233233 throw new InvalidArgumentException (
234- '$className must implement the ' . LanguageInterface::class
234+ '$className must implement the \phpCAS\CAS\Languages\ LanguageInterface '
235235 );
236236 }
237237 $ this ->_lang = $ lang ;
@@ -631,7 +631,7 @@ public function setExtraCurlOption($key, $value)
631631 * By default CurlRequest is used, but this may be overridden to
632632 * supply alternate request mechanisms for testing.
633633 */
634- private $ _requestImplementation = CurlRequest::class ;
634+ private $ _requestImplementation = ' \phpCAS\CAS\Request\ CurlRequest' ;
635635
636636 /**
637637 * Override the default implementation used to make web requests in readUrl().
@@ -1975,7 +1975,7 @@ public function setCasServerCACert($cert, $validate_cn)
19751975 if (gettype ($ validate_cn ) != 'boolean ' ) {
19761976 throw new TypeMismatchException ($ validate_cn , '$validate_cn ' , 'boolean ' );
19771977 }
1978- if (! file_exists ($ cert ) && $ this ->_requestImplementation !== DummyRequest::class ) {
1978+ if (! file_exists ($ cert ) && $ this ->_requestImplementation !== ' \phpCAS\CAS\TestHarness\ DummyRequest' ) {
19791979 throw new InvalidArgumentException ('Certificate file does not exist ' .$ this ->_requestImplementation );
19801980 }
19811981 $ this ->_cas_server_ca_cert = $ cert ;
@@ -2581,7 +2581,7 @@ public function setPGTStorage(AbstractStorage $storage)
25812581
25822582 // check to make sure a valid storage object was specified
25832583 if (! ($ storage instanceof AbstractStorage)) {
2584- throw new TypeMismatchException ($ storage , '$storage ' , AbstractStorage::class. ' object ' );
2584+ throw new TypeMismatchException ($ storage , '$storage ' , ' \phpCAS\CAS\PGTStorage\AbstractStorage object ' );
25852585 }
25862586
25872587 // store the PGTStorage object
@@ -4005,7 +4005,7 @@ private function _rebroadcast($type)
40054005 if (! empty ($ ip )) {
40064006 $ dns = gethostbyaddr ($ ip );
40074007 }
4008- $ multiClassName = CurlMultiRequest::class ;
4008+ $ multiClassName = ' \phpCAS\CAS\Request\ CurlMultiRequest' ;
40094009 $ multiRequest = new $ multiClassName ();
40104010
40114011 for ($ i = 0 ; $ i < sizeof ($ this ->_rebroadcast_nodes ); $ i ++) {
0 commit comments