Skip to content

Commit e3ad5b9

Browse files
committed
nolog: remove no-error-error oO
1 parent 2959a12 commit e3ad5b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Rule/ReadWriteConfigPropertiesRule.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
// * Adds a rule to add a hint to never read, never written or unused properties,
2020
// * instructing the user to add an "@config" docblock if necessary
2121
// */
22-
// class ReadWriteConfigPropertiesRule extends UnusedPrivatePropertyRule /* @phpstan-ignore-line */
22+
// class ReadWriteConfigPropertiesRule extends UnusedPrivatePropertyRule /* @nophpstan-ignore-line */
2323
// {
2424

2525
// public function processNode(Node $node, Scope $scope): array
2626
// {
2727
// $classReflection = $scope->getClassReflection();
2828
// if ($classReflection->hasTraitUse(Configurable::class) || $classReflection->isSubclassOf(Extension::class)) {
29-
// $errors = parent::processNode($node, $scope); /* @phpstan-ignore-line */
29+
// $errors = parent::processNode($node, $scope); /* @nophpstan-ignore-line */
3030
// $hints = [];
3131
// /** @var \PHPStan\Rules\RuleErrors\RuleError11 $error */
3232
// foreach ($errors as $error) {
33-
// $message = $error->getMessage(); /* @phpstan-ignore-line */
33+
// $message = $error->getMessage(); /* @nophpstan-ignore-line */
3434
// if (strpos($message, 'Static') !== 0 || strpos($message, 'never written, only read') !== false) {
3535
// // NOTE(mleutenegger): 2022-04-30
3636
// // In this case, the property wasn't static or the property

0 commit comments

Comments
 (0)