Skip to content

Commit e8e1190

Browse files
fix: Remove Scrutinizer. Add Composer checks. Update docs.
1 parent 9394023 commit e8e1190

7 files changed

Lines changed: 11 additions & 36 deletions

File tree

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
/.editorconfig export-ignore
77
/.gitattributes export-ignore
88
/.gitignore export-ignore
9-
/.scrutinizer.yml export-ignore
109
/CHANGELOG.md export-ignore
1110
/infection.json.dist export-ignore
1211
/grumphp.yml export-ignore

.github/CONTRIBUTING.md

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

3-
We're using [Travis CI](https://travis-ci.com) as a continuous integration system.
4-
5-
For details, see [`.travis.yml`](../.travis.yml).
6-
7-
## Tests
3+
We're using [Github Actions](https://github.com/drupol/phpcsfixer-configs-php/actions) as a continuous integration system.
4+
5+
For details, see [`workflows`](./.github/workflows).
86

97
We're using [`grumphp/grumphp`](https://github.com/phpro/grumphp) to drive the development.
108

.github/workflows/continuous-integration.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,3 @@ jobs:
4949

5050
- name: Run Grumphp
5151
run: vendor/bin/grumphp run
52-
53-
- name: Send Scrutinizer data
54-
run: |
55-
wget https://scrutinizer-ci.com/ocular.phar
56-
php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
57-
continue-on-error: true

.scrutinizer.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Where the `$configs` parameters must implements `PhpCsFixer/ConfigInterface`.
3838

3939
## Requirements
4040

41-
* PHP >= 7.1.3
41+
* PHP >= 7.4
4242

4343
## Installation
4444

@@ -50,7 +50,7 @@ See the [PHP CS Fixer documentation](https://github.com/FriendsOfPHP/PHP-CS-Fixe
5050

5151
## Code quality, tests and benchmarks
5252

53-
Every time changes are introduced into the library, [Github](https://github.com/drupol/phpcsfixer-configs-php/actions) run the tests and the benchmarks.
53+
Every time changes are introduced into the library, [Github Actions](https://github.com/drupol/phpcsfixer-configs-php/actions) run the tests and the benchmarks.
5454

5555
The library has tests written with [PHPSpec](http://www.phpspec.net/).
5656
Feel free to check them out in the `spec` directory. Run `composer phpspec` to trigger the tests.
@@ -69,8 +69,6 @@ Feel free to contribute to this library by sending Github pull requests. I'm qui
6969
[github stars]: https://img.shields.io/github/stars/drupol/phpcsfixer-configs-php.svg?style=flat-square
7070
[total downloads]: https://img.shields.io/packagist/dt/drupol/phpcsfixer-configs-php.svg?style=flat-square
7171
[github workflow status]: https://img.shields.io/github/workflow/status/drupol/phpcsfixer-configs-php/Continuous%20Integration?style=flat-square
72-
[code quality]: https://img.shields.io/scrutinizer/quality/g/drupol/phpcsfixer-configs-php/master.svg?style=flat-square
73-
[3]: https://scrutinizer-ci.com/g/drupol/phpcsfixer-configs-php/?branch=master
7472
[4]: https://shepherd.dev/github/drupol/phpcsfixer-configs-php
7573
[license]: https://img.shields.io/packagist/l/drupol/phpcsfixer-configs-php.svg?style=flat-square
7674
[donate github]: https://img.shields.io/badge/Sponsor-Github-brightgreen.svg?style=flat-square

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@
3232
},
3333
"require-dev": {
3434
"ext-pcov": "*",
35+
"ergebnis/composer-normalize": "^2.31.0",
3536
"friends-of-phpspec/phpspec-code-coverage": "^6",
37+
"maglnet/composer-require-checker": "^4.4.0",
3638
"php-parallel-lint/php-parallel-lint": "^1.3",
37-
"phpro/grumphp": "1.1.* || 1.3.* || 1.4.* || 1.13.*",
39+
"phpro/grumphp": "^1.0 || ^2.0",
3840
"phpspec/phpspec": "^7"
3941
},
4042
"scripts": {

grumphp.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ grumphp:
1212
using_cache: false
1313
phpspec:
1414
verbose: true
15-
15+
composer: ~
16+
composer_normalize: ~
17+
composer_require_checker: ~

0 commit comments

Comments
 (0)