Skip to content
This repository was archived by the owner on Sep 1, 2024. It is now read-only.

Commit f55e18a

Browse files
committed
Pass tests through static analysis tools
1 parent 38f7ab6 commit f55e18a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"phpunit/phpunit": "^9.6"
2929
},
3030
"scripts": {
31-
"phpcs": "./vendor/bin/phpcs --standard=PSR12 src",
32-
"phpcs:fix": "./vendor/bin/phpcbf --standard=PSR12 src",
31+
"phpcs": "./vendor/bin/phpcs --standard=PSR12 src tests",
32+
"phpcs:fix": "./vendor/bin/phpcbf --standard=PSR12 src tests",
3333
"phpstan": "./vendor/bin/phpstan analyse src -c phpstan.neon",
3434
"docker:shell": "docker run --rm --interactive --tty --volume $PWD:/app composer /bin/sh"
3535
}

phpstan.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ parameters:
33
level: 9
44
paths:
55
- src
6+
- tests

tests/MainTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
class MainTest extends TestCase
1010
{
11-
public function test_happy_path(): void
11+
public function testHappyPath(): void
1212
{
1313
$this->assertTrue(true);
1414
}
15-
}
15+
}

0 commit comments

Comments
 (0)