Skip to content

Commit

Permalink
Fix PHP fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
girishpanchal30 committed Jul 17, 2024
1 parent 402eb94 commit 9a68579
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
php-version: '7.4'
extensions: simplexml
- name: Checkout source code
uses: actions/checkout@v2
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup PHP version
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
php-version: '7.4'
extensions: simplexml, mysql
tools: phpunit-polyfills
- name: Checkout source code
Expand Down
2 changes: 1 addition & 1 deletion tests/test-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Test_Visualizer_Ajax extends WP_Ajax_UnitTestCase {
/**
* Set up.
*/
public function setUp() {
public function setUp(): void {
parent::setUp();
$this->admin_user_id = $this->factory->user->create(
array(
Expand Down

0 comments on commit 9a68579

Please sign in to comment.