Skip to content

Commit

Permalink
fixing files with php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
helyakin committed Jan 17, 2024
1 parent c3a0961 commit 24fb63f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Expression/ForClasses/IsReadonly.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function describe(ClassDescription $theClass, string $because): Descripti
public function evaluate(ClassDescription $theClass, Violations $violations, string $because): void
{
if ($theClass->isReadonly()) {
return ;
return;
}

$violation = Violation::create(
Expand Down
1 change: 0 additions & 1 deletion tests/Unit/Expressions/ForClasses/IsReadonlyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public function test_it_should_return_true_if_is_readonly(): void
self::assertEquals(0, $violations->count());
}


public function test_interfaces_can_not_be_readonly_and_should_be_ignored(): void
{
$isReadonly = new IsReadonly();
Expand Down

0 comments on commit 24fb63f

Please sign in to comment.