Removing psr2 enforcing
This commit is contained in:
parent
b397cd9ba3
commit
11078c1767
|
@ -1 +0,0 @@
|
||||||
preset: psr2
|
|
|
@ -2,7 +2,6 @@ dist: trusty
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.6
|
|
||||||
- 7.0
|
- 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
- 7.2
|
- 7.2
|
||||||
|
@ -27,7 +26,6 @@ before_script:
|
||||||
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
|
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpcs --standard=psr2 src/
|
|
||||||
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
|
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "Later",
|
"description": "Later",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Aryess",
|
|
||||||
"PhpMatrixSdk"
|
"PhpMatrixSdk"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/Aryess/PhpMatrixSdk",
|
"homepage": "https://github.com/Aryess/PhpMatrixSdk",
|
||||||
|
@ -21,8 +20,7 @@
|
||||||
"rappasoft/laravel-helpers": "^1.0"
|
"rappasoft/laravel-helpers": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit" : ">=5.4.3",
|
"phpunit/phpunit" : ">=5.4.3"
|
||||||
"squizlabs/php_codesniffer": "^3.0"
|
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -35,9 +33,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "phpunit",
|
"test": "phpunit"
|
||||||
"check-style": "phpcs src tests",
|
|
||||||
"fix-style": "phpcbf src tests"
|
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<ruleset name="PhpMatrixSdk">
|
|
||||||
<description>The coding standard of PhpMatrixSdk package</description>
|
|
||||||
<arg value="p" />
|
|
||||||
|
|
||||||
<config name="ignore_warnings_on_exit" value="1" />
|
|
||||||
<config name="ignore_errors_on_exit" value="1" />
|
|
||||||
|
|
||||||
<arg name="colors" />
|
|
||||||
<arg value="s" />
|
|
||||||
|
|
||||||
<!-- Use the PSR2 Standard-->
|
|
||||||
<rule ref="PSR2" />
|
|
||||||
</ruleset>
|
|
Loading…
Reference in a new issue