Skip to content

Commit

Permalink
add coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
loic-lopez committed Mar 6, 2019
1 parent 79593de commit e52786d
Show file tree
Hide file tree
Showing 30 changed files with 8 additions and 1,787 deletions.
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Cdn77CodingStandard\Sniffs\Classes;
namespace ExoSuiteCodingStandard\Sniffs\Classes;

use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
Expand Down
2 changes: 2 additions & 0 deletions ExoSuiteCodingStandard/ruleset.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0"?>
<ruleset name="ExoSuite Coding Standard"/>
62 changes: 0 additions & 62 deletions Makefile

This file was deleted.

6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ Based on Doctrine Coding Standard https://github.com/doctrine/coding-standard
* Require this project as composer dev dependency:

```
composer require --dev cdn77/coding-standard
composer require --dev exosuite/coding-standard
```
* Reference this coding standard in your `phpcs.xml.dist` (_check out [the one used in this project](phpcs.xml.dist)_):

```
<rule ref="Cdn77"/>
```
23 changes: 4 additions & 19 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,15 @@
{
"name": "cdn77/coding-standard",
"description": "Cdn77 Coding Standard.",
"type": "phpcodesniffer-standard",
"name": "exosuite/coding-standard",
"description": "ExoSuite Coding Standard.",
"license": "MIT",
"autoload": {
"psr-4": {
"Cdn77CodingStandard\\": "src/Cdn77"
}
},
"autoload-dev": {
"psr-4": {
"Cdn77CodingStandard\\Tests\\": "tests/"
"ExoSuiteCodingStandard\\": "ExoSuiteCodingStandard"
}
},
"require": {
"php": "^7.1||^8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
"doctrine/coding-standard": "^5.0",
"squizlabs/php_codesniffer": "^3.4.0"
},
"require-dev": {
"jakub-onderka/php-parallel-lint": "^1.0",
"phpstan/phpstan": "^0.10.8",
"phpstan/phpstan-phpunit": "^0.10.0",
"phpstan/phpstan-strict-rules": "^0.10.1",
"phpunit/phpunit": "^7.0"
"squizlabs/php_codesniffer": "*"
},
"config": {
"sort-packages": true
Expand Down
14 changes: 0 additions & 14 deletions phpcs.xml.dist

This file was deleted.

13 changes: 0 additions & 13 deletions phpstan.neon.dist

This file was deleted.

19 changes: 0 additions & 19 deletions phpunit.xml.dist

This file was deleted.

This file was deleted.

Loading

0 comments on commit e52786d

Please sign in to comment.