Skip to content

Commit 049fd37

Browse files
committed
[ci] upgrade composer to version 2
Signed-off-by: Vitalii Koshura <[email protected]>
1 parent 59665c3 commit 049fd37

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.scrutinizer.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ build:
55
analysis:
66
dependencies:
77
before:
8+
- mkdir -p $HOME/bin
9+
- curl -sS https://getcomposer.org/composer-2.phar -o $HOME/bin/composer
10+
- chmod +x $HOME/bin/composer
11+
- export PATH=$HOME/bin:$PATH
12+
- composer --version
13+
- composer global require squizlabs/php_codesniffer
814
- command: 'mkdir -p 3rdParty/buildCache && wget https://ftp.drupal.org/files/projects/drupal-6.38.tar.gz -O drupal-6.38.tar.gz && tar -C 3rdParty/buildCache/ -xzf drupal-6.38.tar.gz'
915
not_if: 'test -e 3rdParty/buildCache/drupal-6.38'
1016
cache:
@@ -30,6 +36,7 @@ filter:
3036
- 'drupal/sites/default/modules/boinc/*'
3137
- 'drupal/sites/default/themes/boinc/*'
3238
- 'tests/server-test/*'
39+
- '3rdParty/buildCache/*'
3340
dependency_paths:
3441
- 'html/inc/htmLawed.php'
3542
- 'drupal/sites/all/libraries/*'
@@ -58,6 +65,7 @@ checks:
5865
avoid_superglobals: false
5966
security_vulnerabilities: false
6067
no_exit: false
68+
avoid_closing_tag: true
6169
javascript: true
6270
coding_style:
6371
php:

0 commit comments

Comments
 (0)