summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/phpunit.yaml6
-rw-r--r--.scrutinizer.yml69
-rw-r--r--README.md3
3 files changed, 1 insertions, 77 deletions
diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml
index cde3d08..ce3bd65 100644
--- a/.github/workflows/phpunit.yaml
+++ b/.github/workflows/phpunit.yaml
@@ -54,10 +54,4 @@ jobs:
color: green
if: matrix.php-versions == '7.4'
continue-on-error: true # if is fork
- - name: Scrutinizer Code Coverage
- run: |
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/coverage/coverage.clover
- if: matrix.php-versions == '7.4'
- continue-on-error: true # if is fork
diff --git a/.scrutinizer.yml b/.scrutinizer.yml
deleted file mode 100644
index d694e19..0000000
--- a/.scrutinizer.yml
+++ /dev/null
@@ -1,69 +0,0 @@
-build:
- nodes:
- analysis:
- tests:
- override:
- - php-scrutinizer-run
-filter:
- paths: [lib/*]
- excluded_paths:
- - tests/
- - vendor/
- - build/
- - tools/
- - docs/
-checks:
- php:
- code_rating: true
- excluded_dependencies:
- - composer/xdebug-handler
- - doctrine/annotations
- - friendsofphp/php-cs-fixer
- - phpspec/prophecy
- - phpunit/php-code-coverage
- - phpunit/php-text-template
- - phpunit/php-timer
- - phpunit/phpunit
- - sebastian/code-unit
- - sebastian/comparator
- - sebastian/complexity
- - sebastian/diff
- - sebastian/exporter
- - sebastian/global-state
- - sebastian/lines-of-code
- - sebastian/object-enumerator
- - sebastian/object-reflector
- - sebastian/recursion-context
- - sebastian/type
- - squizlabs/php_codesniffer
- - symfony/console
- - symfony/event-dispatcher
- - symfony/filesystem
- - symfony/options-resolver
- - symfony/polyfill-ctype
- - symfony/polyfill-intl-grapheme
- - symfony/polyfill-intl-normalizer
- - symfony/polyfill-mbstring
- - symfony/polyfill-php72
- - symfony/polyfill-php73
- - symfony/polyfill-php80
- - symfony/process
- - symfony/string
- - webmozart/assert
- - yoast/phpunit-polyfills
-tools:
- php_analyzer:
- enabled: true
- extensions:
- - php
- php_code_coverage: true
- php_code_sniffer:
- config:
- standard: PSR2
- filter:
- paths: ['lib']
- php_loc:
- enabled: true
- excluded_dirs: [vendor, spec]
- sensiolabs_security_checker:
- enabled: true \ No newline at end of file
diff --git a/README.md b/README.md
index 980b922..2966bb9 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,5 @@
[![Build Status](https://github.com/dshafik/php7-mysql-shim/workflows/phpunit/badge.svg)](https://github.com/dshafik/php7-mysql-shim/actions)
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/dshafik/php7-mysql-shim/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/dshafik/php7-mysql-shim/?branch=master)
-[![Code Coverage](https://scrutinizer-ci.com/g/dshafik/php7-mysql-shim/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/dshafik/php7-mysql-shim/?branch=master)
+![Code Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/dshafik/ee79527e0098afea147bffc33bf710d3/raw/coverage.json)
# PHP 7 Shim for ext/mysql
This library attempts to create a drop-in replacement for ext/mysql on PHP 7 using mysqli.