Skip to content

Commit 6e49052

Browse files
committed
chore(deps): remove unneeded phpstan ignores
1 parent 21c3240 commit 6e49052

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/private/Config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,8 @@ private function readData() {
250250
throw new \Exception(\sprintf('Could not acquire a shared lock on the config file %s', $file));
251251
}
252252

253-
/* @phpstan-ignore-next-line */
254253
unset($CONFIG);
255254
include $file;
256-
/* @phpstan-ignore-next-line */
257255
if (isset($CONFIG) && \is_array($CONFIG)) {
258256
$this->cache = \array_merge($this->cache, $CONFIG);
259257
}

phpstan.neon

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ parameters:
1010
- %currentWorkingDirectory%/apps/*/composer/*
1111
- %currentWorkingDirectory%/apps/*/3rdparty/*
1212
ignoreErrors:
13-
- '#Undefined variable: \$OC_[a-zA-Z0-9\\_]+#'
14-
- '#Undefined variable: \$vendor#'
1513
# errors below are to be addressed by own pull requests - non trivial changes required
1614
- '#Instantiated class OCA\\Encryption\\Crypto\\Crypt not found.#'
1715
- '#Instantiated class OCA\\Encryption\\Util not found.#'

0 commit comments

Comments
 (0)