diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c8170ef..daa2c68 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,31 +20,29 @@ jobs: php-version: ['7.4'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - tools: composer - name: Validate composer.json - run: composer validate --strict + run: composer validate behat: needs: lint strategy: matrix: - php-version: ['7.4', '8.2'] + php-version: ['7.4', '8.2', '8.5'] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - tools: composer - run: composer install diff --git a/composer.json b/composer.json index 8be5cd7..5fddad0 100644 --- a/composer.json +++ b/composer.json @@ -30,8 +30,8 @@ }, "require": { "php": ">=5.5", - "illuminate/container": ">=5.1 <5.7 || ^6.5.1 || ^7 || ^8", - "symfony/filesystem": "^2.7 || ^3 || ^4", + "illuminate/container": ">=5.1 <5.7 || >=6", + "symfony/filesystem": ">=2.7", "wp-cli/config-command": "^1 || ^2", "wp-cli/core-command": "^1 || ^2", "wp-cli/db-command": "^1 || ^2", diff --git a/features/valet-new-project-bedrock.feature b/features/valet-new-project-bedrock.feature index dac57e9..d3bfa93 100644 --- a/features/valet-new-project-bedrock.feature +++ b/features/valet-new-project-bedrock.feature @@ -55,7 +55,7 @@ Feature: It can create new installs for Valet-supported WordPress projects. """ DB_PREFIX='foo' """ - And I run `wp eval 'echo $_SERVER["DB_PREFIX"];' --path={PATH}/{PROJECT}/web/wp/` + And I run `wp eval 'echo getenv("DB_PREFIX");' --path={PATH}/{PROJECT}/web/wp/` Then STDOUT should be: """ foo @@ -70,7 +70,7 @@ Feature: It can create new installs for Valet-supported WordPress projects. """ DB_HOST='127.0.0.1' """ - And I run `wp eval 'echo $_SERVER["DB_HOST"];' --path={PROJECT}/web/wp/` + And I run `wp eval 'echo getenv("DB_HOST");' --path={PROJECT}/web/wp/` Then STDOUT should be: """ 127.0.0.1