added Google Cloud Storage support

This commit is contained in:
Mark van Holsteijn
2021-05-28 22:39:50 +02:00
parent b6460616ba
commit 342270d6dd
19 changed files with 1621 additions and 16 deletions

39
.scrutinizer.yml Normal file
View File

@@ -0,0 +1,39 @@
checks:
php: true
javascript: true
filter:
paths:
- "css/privatebin.css"
- "css/bootstrap/privatebin.css"
- "js/privatebin.js"
- "lib/*.php"
- "index.php"
excluded_paths:
- lib/Data/GoogleCloudStorage.php
- tst/Data/GoogleCloudStorageTest.php
coding_style:
php:
spaces:
around_operators:
additive: false
concatenation: true
build:
environment:
php:
version: '7.2'
tests:
override:
-
command: 'composer require google/cloud-storage && cd tst && ../vendor/bin/phpunit'
coverage:
file: 'tst/log/coverage-clover.xml'
format: 'clover'
nodes:
tests: true
analysis:
tests:
override:
-
command: phpcs-run
use_website_config: true
- php-scrutinizer-run