[ticket/16955] Clean up phing sniff errors and warnings

PHPBB3-16955
This commit is contained in:
Marc Alexander 2022-12-27 21:20:54 +01:00
parent cedd447659
commit 918723e476
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
5 changed files with 1 additions and 45 deletions

View file

@ -18,18 +18,4 @@ namespace phpbb\composer\exception;
*/
class managed_with_clean_error_exception extends managed_with_error_exception
{
/**
* Constructor
*
* @param string $prefix The language string prefix
* @param string $message The Exception message to throw (must be a language variable).
* @param array $parameters The parameters to use with the language var.
* @param \Exception|null $previous The previous runtime_exception used for the runtime_exception chaining.
* @param integer $code The Exception code.
*/
public function __construct($prefix, $message = '', array $parameters = [], \Exception $previous = null, $code = 0)
{
parent::__construct($prefix, $message, $parameters, $previous, $code);
}
}

View file

@ -18,18 +18,4 @@ namespace phpbb\composer\exception;
*/
class managed_with_enable_error_exception extends managed_with_error_exception
{
/**
* Constructor
*
* @param string $prefix The language string prefix
* @param string $message The Exception message to throw (must be a language variable).
* @param array $parameters The parameters to use with the language var.
* @param \Exception|null $previous The previous runtime_exception used for the runtime_exception chaining.
* @param integer $code The Exception code.
*/
public function __construct($prefix, $message = '', array $parameters = [], \Exception $previous = null, $code = 0)
{
parent::__construct($prefix, $message, $parameters, $previous, $code);
}
}

View file

@ -18,17 +18,4 @@ namespace phpbb\composer\exception;
*/
class managed_with_error_exception extends runtime_exception
{
/**
* Constructor
*
* @param string $prefix The language string prefix
* @param string $message The Exception message to throw (must be a language variable).
* @param array $parameters The parameters to use with the language var.
* @param \Exception|null $previous The previous runtime_exception used for the runtime_exception chaining.
* @param integer $code The Exception code.
*/
public function __construct($prefix, $message = '', array $parameters = [], \Exception $previous = null, $code = 0)
{
parent::__construct($prefix, $message, $parameters, $previous, $code);
}
}

View file

@ -14,10 +14,7 @@
namespace phpbb\console;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Shell;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class application extends \Symfony\Component\Console\Application
{

View file

@ -403,7 +403,7 @@ class storage
*
* @param string $path The file
*
* @throws \phpbb\storage\exception\exception When the adapter doesnt implement the method
* @throws exception When the adapter doesn't implement the method
* When the file doesn't exist
*
* @return \phpbb\storage\file_info Returns file_info object