Skip to content

Commit d2c5ac0

Browse files
committed
Regenerate readme
1 parent ba5f856 commit d2c5ac0

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ Hit `install` button.
2121
#### AssignMisused
2222
Detects assignment and comparison operators in one statement.
2323
```php
24-
do {
25-
//...
26-
} while( false == $user->getName() = self::ADMIN_USER );
27-
// ^^^ Hard to read this statements
24+
while (false !== $current = ldap_next_entry($con, $current)) {
25+
// ^^^ Hard to read this statements
26+
yield $this->getSingleEntry($con, $current);
27+
}
2828
```
2929
#### ClassNameCollision
3030
Classes with same name in different namespaces can be confused.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Detects assignment and comparison operators in one statement.
22
<pre>
3-
do {
4-
//...
5-
} while( false == $user->getName() = self::ADMIN_USER );
6-
// ^^^ Hard to read this statements
3+
while (false !== $current = ldap_next_entry($con, $current)) {
4+
// ^^^ Hard to read this statements
5+
yield $this->getSingleEntry($con, $current);
6+
}
77
</pre>
88
<!-- main -->
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
You can deprecate some PhpDoc tags in your project.
2-
<!-- main -->
2+
<!-- main -->

src/main/kotlin/com/funivan/idea/phpClean/inspections/globalVariableUsage/GlobalVariableUsageInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<pre>
33
echo $_GET['name']; // <-- Deprecated global variable usage
44
</pre>
5-
<!-- main -->
5+
<!-- main -->

src/main/kotlin/com/funivan/idea/phpClean/inspections/methodCanBePrivate/MethodCanBePrivateInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
protected function name() {} // <-- Method can be private
55
}
66
</pre>
7-
<!-- main -->
7+
<!-- main -->

src/main/kotlin/com/funivan/idea/phpClean/inspections/methodVisibility/MethodVisibilityInspection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<!-- main -->
33
The better way is to use
44
<a href="https://en.wikipedia.org/wiki/Object_composition">object composition</a> technique
5-
if you want to make you object more flexible.
5+
if you want to make you object more flexible.

0 commit comments

Comments
 (0)