mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15305] Remove not_implemented exception
PHPBB3-15305
This commit is contained in:
parent
0ec50e9055
commit
6c3756a1b3
3 changed files with 0 additions and 34 deletions
|
@ -30,7 +30,6 @@ interface adapter_interface
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When the file already exists
|
* @throws \phpbb\storage\exception\exception When the file already exists
|
||||||
* When the file cannot be written
|
* When the file cannot be written
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function put_contents($path, $content);
|
public function put_contents($path, $content);
|
||||||
|
|
||||||
|
@ -41,7 +40,6 @@ interface adapter_interface
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When the file dont exists
|
* @throws \phpbb\storage\exception\exception When the file dont exists
|
||||||
* When cannot read file contents
|
* When cannot read file contents
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*
|
*
|
||||||
* @return string Returns file contents
|
* @return string Returns file contents
|
||||||
*
|
*
|
||||||
|
@ -53,8 +51,6 @@ interface adapter_interface
|
||||||
*
|
*
|
||||||
* @param string $path file/directory to check
|
* @param string $path file/directory to check
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*
|
|
||||||
* @return bool Returns true if the file/directory exist, false otherwise.
|
* @return bool Returns true if the file/directory exist, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function exists($path);
|
public function exists($path);
|
||||||
|
@ -65,7 +61,6 @@ interface adapter_interface
|
||||||
* @param string $path file/directory to remove
|
* @param string $path file/directory to remove
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When removal fails.
|
* @throws \phpbb\storage\exception\exception When removal fails.
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function delete($path);
|
public function delete($path);
|
||||||
|
|
||||||
|
@ -77,7 +72,6 @@ interface adapter_interface
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When target exists
|
* @throws \phpbb\storage\exception\exception When target exists
|
||||||
* When file/directory cannot be renamed
|
* When file/directory cannot be renamed
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function rename($path_orig, $path_dest);
|
public function rename($path_orig, $path_dest);
|
||||||
|
|
||||||
|
@ -89,7 +83,6 @@ interface adapter_interface
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When target exists
|
* @throws \phpbb\storage\exception\exception When target exists
|
||||||
* When the file cannot be copied
|
* When the file cannot be copied
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function copy($path_orig, $path_dest);
|
public function copy($path_orig, $path_dest);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* This file is part of the phpBB Forum Software package.
|
|
||||||
*
|
|
||||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
||||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
||||||
*
|
|
||||||
* For full copyright and license information, please see
|
|
||||||
* the docs/CREDITS.txt file.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace phpbb\storage\exception;
|
|
||||||
|
|
||||||
class not_implemented extends exception
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
|
@ -68,7 +68,6 @@ class storage
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When the file already exists
|
* @throws \phpbb\storage\exception\exception When the file already exists
|
||||||
* When the file cannot be written
|
* When the file cannot be written
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function put_contents($path, $content)
|
public function put_contents($path, $content)
|
||||||
{
|
{
|
||||||
|
@ -82,7 +81,6 @@ class storage
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When the file dont exists
|
* @throws \phpbb\storage\exception\exception When the file dont exists
|
||||||
* When cannot read file contents
|
* When cannot read file contents
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*
|
*
|
||||||
* @return string Returns file contents
|
* @return string Returns file contents
|
||||||
*
|
*
|
||||||
|
@ -97,8 +95,6 @@ class storage
|
||||||
*
|
*
|
||||||
* @param string $path file/directory to check
|
* @param string $path file/directory to check
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*
|
|
||||||
* @return bool Returns true if the file/directory exist, false otherwise.
|
* @return bool Returns true if the file/directory exist, false otherwise.
|
||||||
*/
|
*/
|
||||||
public function exists($path)
|
public function exists($path)
|
||||||
|
@ -112,7 +108,6 @@ class storage
|
||||||
* @param string $path file/directory to remove
|
* @param string $path file/directory to remove
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When removal fails.
|
* @throws \phpbb\storage\exception\exception When removal fails.
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function delete($path)
|
public function delete($path)
|
||||||
{
|
{
|
||||||
|
@ -127,7 +122,6 @@ class storage
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When target exists
|
* @throws \phpbb\storage\exception\exception When target exists
|
||||||
* When file/directory cannot be renamed
|
* When file/directory cannot be renamed
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function rename($path_orig, $path_dest)
|
public function rename($path_orig, $path_dest)
|
||||||
{
|
{
|
||||||
|
@ -142,7 +136,6 @@ class storage
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When target exists
|
* @throws \phpbb\storage\exception\exception When target exists
|
||||||
* When the file cannot be copied
|
* When the file cannot be copied
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function copy($path_orig, $path_dest)
|
public function copy($path_orig, $path_dest)
|
||||||
{
|
{
|
||||||
|
@ -184,7 +177,6 @@ class storage
|
||||||
* @param string $path The target file
|
* @param string $path The target file
|
||||||
* @param resource $resource The resource
|
* @param resource $resource The resource
|
||||||
* When target file cannot be created
|
* When target file cannot be created
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
|
||||||
*/
|
*/
|
||||||
public function write_stream($path, $resource)
|
public function write_stream($path, $resource)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue