Skip to content

Commit

Permalink
Update rector/rector requirement from 0.11.37 to 0.11.40 (codeigniter…
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and element-code committed Aug 2, 2021
1 parent 18d1d6d commit ff97d58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"phpstan/phpstan": "^0.12.91",
"phpunit/phpunit": "^9.1",
"predis/predis": "^1.1",
"rector/rector": "0.11.37",
"rector/rector": "0.11.40",
"symplify/package-builder": "^9.3"
},
"suggest": {
Expand Down
1 change: 1 addition & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
- phpstan.rules.rule

parameters:
reportUnmatchedIgnoredErrors: false
tmpDir: build/phpstan
level: 5
paths:
Expand Down
2 changes: 1 addition & 1 deletion system/Files/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function getDestination(string $destination, string $delimiter = '_', int
$info = pathinfo($destination);
$extension = isset($info['extension']) ? '.' . $info['extension'] : '';
if (strpos($info['filename'], $delimiter) !== false) {
$parts = explode($delimiter, $info['filename']);
$parts = explode($delimiter, $info['filename']); // @phpstan-ignore-line
if (is_numeric(end($parts))) {
$i = end($parts);
array_pop($parts);
Expand Down

0 comments on commit ff97d58

Please sign in to comment.