Skip to content

Commit

Permalink
use development ini
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Jan 11, 2025
1 parent 13532b6 commit 6256c3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/php-check-syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
with:
php-version: ${{ matrix.php-versions }}
tools: composer
ini-file: development

- name: checkout repo
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions boxzilla.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
// Exit if not loaded inside a WordPress context
defined('ABSPATH') or exit;

// Exit if PHP lower than 7.2
PHP_VERSION_ID >= 70200 or exit;
// Exit if PHP lower than 7.4
PHP_VERSION_ID >= 70400 or exit;

define('BOXZILLA_FILE', __FILE__);
define('BOXZILLA_DIR', __DIR__);
Expand Down

0 comments on commit 6256c3e

Please sign in to comment.