Removing psr2 enforcing

This commit is contained in:
Yoann Celton 2018-11-28 16:10:05 +11:00
parent b397cd9ba3
commit 11078c1767
4 changed files with 2 additions and 23 deletions

View File

@ -1 +0,0 @@
preset: psr2

View File

@ -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:

View File

@ -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": {

View File

@ -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>