Skip to content

Commit

Permalink
Merge pull request #1 from macellan/badges
Browse files Browse the repository at this point in the history
Badges
  • Loading branch information
envercigal authored May 30, 2022
2 parents 8319cd7 + 1d76b79 commit 3a3e2f9
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 2 deletions.
21 changes: 21 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
filter:
excluded_paths: [tests/*]

checks:
php:
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
order_alphabetically: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true

tools:
external_code_coverage: true
1 change: 1 addition & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
preset: laravel
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: php

php:
- 8.1

env:
matrix:
- COMPOSER_FLAGS="--prefer-lowest"
- COMPOSER_FLAGS=""

before_script:
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source

script:
- composer validate
- composer test:coverage

after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Changed features

Rename method names for permission driver
Rename method names for permission driver
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
## Contents

[![Latest Version on Packagist](https://img.shields.io/packagist/v/macellan/iys.svg?style=flat-square)](https://packagist.org/packages/macellan/onesignal)
[![Build Status](https://scrutinizer-ci.com/g/macellan/iys/badges/build.png?b=main)](https://scrutinizer-ci.com/g/macellan/iys/build-status/main)
[![StyleCI](https://github.styleci.io/repos/463069750/shield?branch=main)](https://github.styleci.io/repos/463069750?branch=main)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/macellan/iys/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/macellan/iys/?branch=main)
[![Code Coverage](https://scrutinizer-ci.com/g/macellan/iys/badges/coverage.png?b=main)](https://scrutinizer-ci.com/g/macellan/iys/?branch=main)
[![Total Downloads](https://img.shields.io/packagist/dt/macellan/iys.svg?style=flat-square)](https://packagist.org/packages/macellan/iys)

- [Installation](#installation)
- [Setting up the Iys service](#setting-up-the-IYS-service)
- [Enums](#enums)
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
"scripts": {
"test": "vendor/bin/phpunit",
"check-style": "phpcs -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
"fix-style": "phpcbf -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"test:coverage": "vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover"
},
"config": {
"sort-packages": true,
Expand Down

0 comments on commit 3a3e2f9

Please sign in to comment.