mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16955] Clean up phing sniff errors and warnings
PHPBB3-16955
This commit is contained in:
parent
cedd447659
commit
918723e476
5 changed files with 1 additions and 45 deletions
|
@ -18,18 +18,4 @@ namespace phpbb\composer\exception;
|
||||||
*/
|
*/
|
||||||
class managed_with_clean_error_exception extends managed_with_error_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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,18 +18,4 @@ namespace phpbb\composer\exception;
|
||||||
*/
|
*/
|
||||||
class managed_with_enable_error_exception extends managed_with_error_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);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,17 +18,4 @@ namespace phpbb\composer\exception;
|
||||||
*/
|
*/
|
||||||
class managed_with_error_exception extends runtime_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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,10 +14,7 @@
|
||||||
namespace phpbb\console;
|
namespace phpbb\console;
|
||||||
|
|
||||||
use Symfony\Component\Console\Input\InputDefinition;
|
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\Input\InputOption;
|
||||||
use Symfony\Component\Console\Output\OutputInterface;
|
|
||||||
|
|
||||||
class application extends \Symfony\Component\Console\Application
|
class application extends \Symfony\Component\Console\Application
|
||||||
{
|
{
|
||||||
|
|
|
@ -403,7 +403,7 @@ class storage
|
||||||
*
|
*
|
||||||
* @param string $path The file
|
* @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
|
* When the file doesn't exist
|
||||||
*
|
*
|
||||||
* @return \phpbb\storage\file_info Returns file_info object
|
* @return \phpbb\storage\file_info Returns file_info object
|
||||||
|
|
Loading…
Add table
Reference in a new issue