Skip to content

Commit 080e0d5

Browse files
Daniel MüllerDaniel Müller
authored andcommitted
Merge pull request #8 in CFA/coding-guidelines from namespace_case to master
* commit '6f83d81fa7faf302b5084c1a844108c14e180a01': - Changed namespace case to UpperCamelCase - Updated Readme
2 parents dd4b432 + 6f83d81 commit 080e0d5

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This repository contains the ruleset for the PHP code we develop at flyeralarm.
55
It mostly consists of PSR-2 with some custom additions. The rules are enforced with the help of squizlabs/PHP_CodeSniffer
66

77

8-
How-To
8+
How-To work within *this* project
99
------
1010
To prepare run command:
1111
```
@@ -18,7 +18,7 @@ make test
1818
```
1919

2020

21-
Embed into your project
21+
Embed into *your* project
2222
------------------------
2323

2424
Add as composer dev dependency:

custom-standards/Flyeralarm/Sniffs/ControlStructures/YodaSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\ControlStructures;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\ControlStructures;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/Docblock/ExpectedExceptionMessageSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\Docblock;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\Docblock;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/Docblock/ReturnTypeSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\Docblock;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\Docblock;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/File/ExceptionMessageSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/File/ForbiddenKeywordsSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/File/NamespacesSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/File/NoClassKindSuffixSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\File;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

custom-standards/Flyeralarm/Sniffs/Variable/LowerCamelCaseSniff.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\Variable;
3+
namespace Flyeralarm\CodingGuidelines\Flyeralarm\Sniffs\Variable;
44

55
use PHP_CodeSniffer\Sniffs\Sniff;
66
use PHP_CodeSniffer\Files\File;

tests/rules/control-structures/yoda/allowed/IfThisIsTrueEqualsTrue.php

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

33
// @expectedPass
44

5-
namespace flyeralarm\CodingGuidelines;
5+
namespace Flyeralarm\CodingGuidelines;
66

77
class IfThisIsTrueEqualsTrue
88
{

0 commit comments

Comments
 (0)