Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit f7fb71d

Browse files
committed
Merge branch 'remove-code-marked-as-deprecated' of https://github.com/Maks3w/zf2 into feature/deprecation-removal
Conflicts: library/Zend/GData/YouTube/Extension/Description.php library/Zend/GData/YouTube/Extension/Racy.php
20 parents 0ee8602 + cd33c2d + 32497e5 + 79eb7d0 + 8cc5d58 + 869ab1c + 436e613 + ab7d56c + 6dbeef6 + 84670b1 + cccfba9 + 2717653 + b4dd364 + 460818e + b5ac15d + 2d218aa + 046d669 + 5597f80 + 98dc299 + b706e8e commit f7fb71d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/File/Rename.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ class Rename extends Filter\AbstractFilter
3636
* 'overwrite' => Shall existing files be overwritten ?
3737
*
3838
* @param string|array|Traversable $options Target file or directory to be renamed
39-
* @param string $target Source filename or directory (deprecated)
40-
* @param bool $overwrite Should existing files be overwritten (deprecated)
4139
* @throws Exception\InvalidArgumentException
4240
*/
4341
public function __construct($options)
@@ -50,18 +48,6 @@ public function __construct($options)
5048
throw new Exception\InvalidArgumentException('Invalid options argument provided to filter');
5149
}
5250

53-
if (1 < func_num_args()) {
54-
$argv = func_get_args();
55-
array_shift($argv);
56-
$source = array_shift($argv);
57-
$overwrite = false;
58-
if (!empty($argv)) {
59-
$overwrite = array_shift($argv);
60-
}
61-
$options['source'] = $source;
62-
$options['overwrite'] = $overwrite;
63-
}
64-
6551
$this->setFile($options);
6652
}
6753

0 commit comments

Comments
 (0)