Skip to content

Commit b3ed0ef

Browse files
committed
:octocat: phpcs happy
1 parent dda7fb0 commit b3ed0ef

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.phan/config.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
// Note that the **only** effect of choosing `'5.6'` is to infer
1515
// that functions removed in php 7.0 exist.
1616
// (See `backward_compatibility_checks` for additional options)
17-
'target_php_version' => null,
18-
'minimum_target_php_version' => '7.4',
17+
'target_php_version' => null,
18+
'minimum_target_php_version' => '7.4',
1919

2020
// A list of directories that should be parsed for class and
2121
// method information. After excluding the directories
@@ -24,7 +24,7 @@
2424
//
2525
// Thus, both first-party and third-party code being used by
2626
// your application should be included in this list.
27-
'directory_list' => [
27+
'directory_list' => [
2828
'examples',
2929
'src',
3030
'tests',
@@ -35,7 +35,7 @@
3535
// exclude from parsing. Actual value will exclude every
3636
// "test", "tests", "Test" and "Tests" folders found in
3737
// "vendor/" directory.
38-
'exclude_file_regex' => '@^vendor/.*/(tests?|Tests?)/@',
38+
'exclude_file_regex' => '@^vendor/.*/(tests?|Tests?)/@',
3939

4040
// A directory list that defines files that will be excluded
4141
// from static analysis, but whose class and method

src/SettingsContainerAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public function fromIterable(iterable $properties):SettingsContainerInterface{
139139
* @inheritdoc
140140
*/
141141
public function toJSON(int $jsonOptions = null):string{
142-
return json_encode($this, $jsonOptions ?? 0);
142+
return json_encode($this, ($jsonOptions ?? 0));
143143
}
144144

145145
/**

tests/ContainerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function testToArray(){
8989
'testConstruct' => 'success',
9090
'test4' => null,
9191
'test5' => null,
92-
'test6' => null
92+
'test6' => null,
9393
], $container->toArray());
9494
}
9595

0 commit comments

Comments
 (0)