Skip to content

Commit 289d0b6

Browse files
authored
Change PHP version on Scrutinizer configuration (#1364)
* Change PHP version on Scrutinizer configuration * [tests]: Allow insecure composer installs when running tests * [tests]: Update PHP version on scrutinizer config * [tests]: Update PHP on scrutinizer config to 8.2 and remove redundant composer2 installation
1 parent c6954e1 commit 289d0b6

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ jobs:
9090
# Install the package dependencies.
9191
- name: Install dependencies
9292
run: |
93+
composer config --no-interaction audit.block-insecure false
9394
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
9495
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
9596

.scrutinizer.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
build:
22
environment:
3-
php: 7.3.0
4-
5-
dependencies:
6-
before:
7-
# Download latest Composer installer
8-
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
9-
- php composer-setup.php --install-dir=$HOME/bin --filename=composer
10-
- php -r "unlink('composer-setup.php');"
11-
- $HOME/bin/composer --version
12-
override:
13-
- $HOME/bin/composer install --no-interaction --prefer-dist --optimize-autoloader
3+
php: 8.2
144

155
nodes:
166
analysis:

0 commit comments

Comments
 (0)