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
|
||||
|
||||
php:
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
|
@ -27,7 +26,6 @@ before_script:
|
|||
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
|
||||
|
||||
script:
|
||||
- vendor/bin/phpcs --standard=psr2 src/
|
||||
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
|
||||
|
||||
after_script:
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
"type": "library",
|
||||
"description": "Later",
|
||||
"keywords": [
|
||||
"Aryess",
|
||||
"PhpMatrixSdk"
|
||||
],
|
||||
"homepage": "https://github.com/Aryess/PhpMatrixSdk",
|
||||
|
@ -21,8 +20,7 @@
|
|||
"rappasoft/laravel-helpers": "^1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit" : ">=5.4.3",
|
||||
"squizlabs/php_codesniffer": "^3.0"
|
||||
"phpunit/phpunit" : ">=5.4.3"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
@ -35,9 +33,7 @@
|
|||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "phpunit",
|
||||
"check-style": "phpcs src tests",
|
||||
"fix-style": "phpcbf src tests"
|
||||
"test": "phpunit"
|
||||
},
|
||||
"extra": {
|
||||
"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 New Issue