File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3131 "require-dev" : {
3232 "jakub-onderka/php-parallel-lint" : " 1.0.0" ,
3333 "jakub-onderka/php-console-highlighter" : " 0.3.2" ,
34- "mediawiki/mediawiki-codesniffer" : " 26 .0.0" ,
34+ "mediawiki/mediawiki-codesniffer" : " 28 .0.0" ,
3535 "mediawiki/minus-x" : " 0.3.1" ,
3636 "ockcyp/covers-validator" : " 0.5.1 || 0.6.1" ,
3737 "phpunit/phpunit" : " 4.8.36 || ^6.5"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class CdbTest extends \PHPUnit\Framework\TestCase {
1212 /** @var string */
1313 private $ phpCdbFile , $ dbaCdbFile ;
1414
15- protected function setUp () {
15+ protected function setUp () : void {
1616 parent ::setUp ();
1717 if ( !Reader::haveExtension () ) {
1818 $ this ->markTestSkipped ( 'Native CDB support is not available. ' );
@@ -25,7 +25,7 @@ protected function setUp() {
2525 $ this ->dbaCdbFile = tempnam ( $ temp , get_class ( $ this ) . '_ ' );
2626 }
2727
28- protected function tearDown () {
28+ protected function tearDown () : void {
2929 unlink ( $ this ->phpCdbFile );
3030 unlink ( $ this ->dbaCdbFile );
3131 parent ::tearDown ();
Original file line number Diff line number Diff line change 1010 */
1111class DBATest extends \PHPUnit \Framework \TestCase {
1212
13- protected function setUp () {
13+ protected function setUp () : void {
1414 parent ::setUp ();
1515 if ( !Reader::haveExtension () ) {
1616 $ this ->markTestSkipped ( 'Native CDB support is not available. ' );
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class PHPTest extends \PHPUnit\Framework\TestCase {
1111 /** @var string */
1212 private $ cdbFile ;
1313
14- protected function setUp () {
14+ protected function setUp () : void {
1515 parent ::setUp ();
1616 $ temp = sys_get_temp_dir ();
1717 if ( !is_writable ( $ temp ) ) {
@@ -20,7 +20,7 @@ protected function setUp() {
2020 $ this ->cdbFile = tempnam ( $ temp , get_class ( $ this ) . '_ ' );
2121 }
2222
23- protected function tearDown () {
23+ protected function tearDown () : void {
2424 unlink ( $ this ->cdbFile );
2525 parent ::tearDown ();
2626 }
You can’t perform that action at this time.
0 commit comments