Skip to content

Commit 68b5796

Browse files
committed
increase stan
1 parent 0c6a63c commit 68b5796

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

phpstan.neon

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ parameters:
22
paths:
33
- src
44
- tests
5-
level: 5
5+
level: 6
6+
ignoreErrors:
7+
- identifier: missingType.iterableValue

psalm.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0"?>
22
<psalm
3-
errorLevel="7"
4-
resolveFromConfigFile="true"
3+
errorLevel="4"
54
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
65
xmlns="https://getpsalm.org/schema/config"
76
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"

src/TagEngine.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class TagEngine
4343
public function __construct(array $options = [])
4444
{
4545
$this->options['tag_directories'] = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'Tags' . DIRECTORY_SEPARATOR;
46-
if ($options && is_array($options)) {
46+
if ($options) {
4747
$this->options = array_merge($this->options, $options);
4848
}
4949
$prefix = $this->options['component_prefix'] ?? 'c';

0 commit comments

Comments
 (0)