Skip to content

Commit

Permalink
API phpunit 9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Oct 13, 2021
1 parent 4d7cae7 commit 544c5bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"silverstripe/cms": "^4.0"
},
"require-dev": {
"sminnee/phpunit": "^5.7",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.0"
},
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion tests/SitewideContentReportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SitewideContentReportTest extends SapphireTest
*/
protected static $fixture_file = 'SitewideContentReportTest.yml';

public function setUp()
protected function setUp(): void
{
// Stop default page creation from occuring - just use fixtures
Config::modify()->set(SiteTree::class, 'create_default_pages', false);
Expand Down

0 comments on commit 544c5bf

Please sign in to comment.