Skip to content

Commit

Permalink
chore(deps): remove unneeded phpstan ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Dec 12, 2023
1 parent 21c3240 commit 6e49052
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/private/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,8 @@ private function readData() {
throw new \Exception(\sprintf('Could not acquire a shared lock on the config file %s', $file));
}

/* @phpstan-ignore-next-line */
unset($CONFIG);
include $file;
/* @phpstan-ignore-next-line */
if (isset($CONFIG) && \is_array($CONFIG)) {
$this->cache = \array_merge($this->cache, $CONFIG);
}
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ parameters:
- %currentWorkingDirectory%/apps/*/composer/*
- %currentWorkingDirectory%/apps/*/3rdparty/*
ignoreErrors:
- '#Undefined variable: \$OC_[a-zA-Z0-9\\_]+#'
- '#Undefined variable: \$vendor#'
# errors below are to be addressed by own pull requests - non trivial changes required
- '#Instantiated class OCA\\Encryption\\Crypto\\Crypt not found.#'
- '#Instantiated class OCA\\Encryption\\Util not found.#'
Expand Down

0 comments on commit 6e49052

Please sign in to comment.