Skip to content

Commit 7f2eec5

Browse files
committed
Improve scrutinizer config to run with composer 2
1 parent c408e52 commit 7f2eec5

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

.scrutinizer.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
build:
2+
#image: default-bionic
3+
4+
environment:
5+
php: 8.2.0
6+
7+
dependencies:
8+
before:
9+
# Download and verify latest Composer installer. See more https://getcomposer.org/download
10+
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
11+
- php -r "if (hash_file('sha384', 'composer-setup.php') === 'ed0feb545ba87161262f2d45a633e34f591ebb3381f2e0063c345ebea4d228dd0043083717770234ec00c5a9f9593792') { echo 'Installer verified'.PHP_EOL; } else { echo 'Installer corrupt'.PHP_EOL; unlink('composer-setup.php'); exit(1); }"
12+
- php composer-setup.php --install-dir=$HOME/bin --filename=composer
13+
- php -r "unlink('composer-setup.php');"
14+
- $HOME/bin/composer --version
15+
override:
16+
- $HOME/bin/composer install --no-interaction --prefer-source --optimize-autoloader
17+
218
nodes:
319
analysis:
420
tests:
@@ -14,5 +30,5 @@ filter:
1430
excluded_paths:
1531
- vendor/*
1632

17-
before_commands:
18-
- "composer install --prefer-source"
33+
#before_commands:
34+
# - "composer install --prefer-source"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This package is to displaying the model data in a Grid table.
2626

2727
Run the composer command:
2828

29-
`composer require itstructure/laravel-grid-view "^1.1.7"`
29+
`composer require itstructure/laravel-grid-view "^1.1.8"`
3030

3131
### If you are testing this package from a local server directory
3232

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### CHANGE LOG:
22

3+
**1.1.8 October 23, 2025:**
4+
- Improve scrutinizer config to run with composer 2.
5+
36
**1.1.7 February 28, 2025:**
47
- Small README fix.
58

0 commit comments

Comments
 (0)