Skip to content

Commit 3454cd0

Browse files
committed
Switch to PSR2 coding standard
1 parent c9c94c6 commit 3454cd0

5 files changed

Lines changed: 642 additions & 495 deletions

File tree

build.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
$phpcsCLI = new PHP_CodeSniffer_CLI();
1414
$phpcsArguments = [
15-
'standard' => [__DIR__ . '/vendor/dominionenterprises/dws-coding-standard/DWS'],
15+
'standard' => ['PSR2'],
1616
'files' => ['src', 'tests', 'build.php'],
1717
'warningSeverity' => 0,
1818
];

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"ext-mongo": "~1.3"
2626
},
2727
"require-dev": {
28-
"dominionenterprises/dws-coding-standard": "~1.1",
28+
"squizlabs/php_codesniffer": "~2.0",
2929
"phpunit/phpunit": "~4.0",
3030
"satooshi/php-coveralls": "~0.6.1"
3131
},

0 commit comments

Comments
 (0)