Skip to content

Commit

Permalink
Merge pull request #3 from Oefenweb/2.x
Browse files Browse the repository at this point in the history
2.x consistency changes
  • Loading branch information
tersmitten authored Nov 3, 2017
2 parents 3afa821 + 42fbc5b commit f919021
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CakePHPOefenweb/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="CakePHPOefenweb">
<description>Oefenweb Code Sniffer for CakePHP</description>
<description>Oefenweb Code Sniffer for CakePHP 2</description>
<rule ref="../../../cakephp/cakephp-codesniffer/CakePHP">
<exclude name="Generic.Commenting.Todo"/>
</rule>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Oefenweb Code Sniffer for CakePHP
# Oefenweb Code Sniffer for CakePHP 2

This code works with [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) and checks code against the coding standards used at Oefenweb.

Expand All @@ -7,7 +7,7 @@ This code works with [phpcs](https://github.com/squizlabs/PHP_CodeSniffer) and c
It's generally recommended to install these code sniffs with `composer`:

```sh
mkdir CakePHPOefenweb && cd $_ && composer require oefenweb/cakephp-codesniffer=dev-master;
mkdir CakePHPOefenweb && cd $_ && composer require oefenweb/cakephp-codesniffer=^2.0.0;
```

```sh
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oefenweb/cakephp-codesniffer",
"description": "Oefenweb Code Sniffer for CakePHP",
"description": "Oefenweb Code Sniffer for CakePHP 2",
"type": "library",
"keywords": [
"framework", "codesniffer"
Expand All @@ -15,7 +15,7 @@
],
"require": {
"php": ">=5.3.10",
"cakephp/cakephp-codesniffer": "1.*"
"cakephp/cakephp-codesniffer": "^1.0.0"
},
"support": {
"issues": "https://github.com/Oefenweb/cakephp-codesniffer/issues",
Expand Down

0 comments on commit f919021

Please sign in to comment.