소스 검색

make YourlsProxyTest compatible with newer phpunit

El RIDO 3 년 전
부모
커밋
8ed9fccf25
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tst/YourlsProxyTest.php

+ 2 - 2
tst/YourlsProxyTest.php

@@ -12,7 +12,7 @@ class YourlsProxyTest extends TestCase
 
     private $_mock_yourls_service;
 
-    public function setUp()
+    public function setUp(): void
     {
         /* Setup Routine */
         $this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
@@ -29,7 +29,7 @@ class YourlsProxyTest extends TestCase
         $this->_conf = new Configuration;
     }
 
-    public function tearDown()
+    public function tearDown(): void
     {
         /* Tear Down Routine */
         unlink(CONF);