From cc0a1bf3e90391d72434674290e05781b665cc4b Mon Sep 17 00:00:00 2001 From: Alexis von Glasow Date: Tue, 10 Jan 2017 12:48:50 +0100 Subject: [PATCH] Quality: Happy new year! --- Bin/Termcap.php | 4 ++-- Chrome/Editor.php | 4 ++-- Chrome/Exception.php | 4 ++-- Chrome/Pager.php | 4 ++-- Chrome/Text.php | 6 +++--- Console.php | 4 ++-- Cursor.php | 4 ++-- Dispatcher/Kit.php | 5 ++--- Exception.php | 4 ++-- GetOption.php | 5 ++--- Input.php | 5 ++--- Mouse.php | 5 ++--- Output.php | 6 +++--- Parser.php | 4 ++-- Processus.php | 5 ++--- Readline/Autocompleter/Aggregate.php | 5 ++--- Readline/Autocompleter/Autocompleter.php | 4 ++-- Readline/Autocompleter/Path.php | 5 ++--- Readline/Autocompleter/Word.php | 5 ++--- Readline/Password.php | 4 ++-- Readline/Readline.php | 5 ++--- Test/Unit/Console.php | 4 ++-- Test/Unit/Cursor.php | 4 ++-- Test/Unit/GetOption.php | 4 ++-- Test/Unit/Input.php | 4 ++-- Test/Unit/Mouse.php | 4 ++-- Test/Unit/Output.php | 4 ++-- Test/Unit/Parser.php | 4 ++-- Test/Unit/Readline/Autocompleter/Aggregate.php | 4 ++-- Test/Unit/Readline/Autocompleter/Path.php | 4 ++-- Test/Unit/Readline/Autocompleter/Word.php | 4 ++-- Test/Unit/Readline/Password.php | 4 ++-- Test/Unit/Tput.php | 4 ++-- Test/Unit/Window.php | 4 ++-- Tput.php | 5 ++--- Window.php | 5 ++--- 36 files changed, 74 insertions(+), 85 deletions(-) diff --git a/Bin/Termcap.php b/Bin/Termcap.php index 4674d92..cb449be 100644 --- a/Bin/Termcap.php +++ b/Bin/Termcap.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * Get terminal capabilities. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Termcap extends Console\Dispatcher\Kit diff --git a/Chrome/Editor.php b/Chrome/Editor.php index 0ae052b..837cbb8 100644 --- a/Chrome/Editor.php +++ b/Chrome/Editor.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * Start an editor. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Editor diff --git a/Chrome/Exception.php b/Chrome/Exception.php index 3b04b16..7781d02 100644 --- a/Chrome/Exception.php +++ b/Chrome/Exception.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * Extending the \Hoa\Console\Exception class. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Exception extends Console\Exception diff --git a/Chrome/Pager.php b/Chrome/Pager.php index af930cb..a0a7e8c 100644 --- a/Chrome/Pager.php +++ b/Chrome/Pager.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -46,7 +46,7 @@ * ob_start('Hoa\Console\Chrome\Pager::less'); * echo file_get_contents(__FILE__); * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Pager diff --git a/Chrome/Text.php b/Chrome/Text.php index fe1181f..9311726 100644 --- a/Chrome/Text.php +++ b/Chrome/Text.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * This class builts the text layout. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Text @@ -306,7 +306,7 @@ public static function align( case self::ALIGN_CENTER: foreach (explode("\n", self::wordwrap($text, $width)) as $key => $value) { $out .= str_repeat(' ', ceil(($width - strlen($value)) / 2)) . - $value . "\n"; + $value . "\n"; } break; diff --git a/Console.php b/Console.php index 8fc0eae..d2f1589 100644 --- a/Console.php +++ b/Console.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * A set of utils and helpers about the console. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Console diff --git a/Cursor.php b/Cursor.php index d167c71..36fc715 100644 --- a/Cursor.php +++ b/Cursor.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -41,7 +41,7 @@ * * Allow to manipulate the cursor. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Cursor diff --git a/Dispatcher/Kit.php b/Dispatcher/Kit.php index 6d020fb..c65d754 100644 --- a/Dispatcher/Kit.php +++ b/Dispatcher/Kit.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -46,7 +46,7 @@ * * A structure, given to action, that holds some important data. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Kit extends Dispatcher\Kit @@ -80,7 +80,6 @@ class Kit extends Dispatcher\Kit * @param \Hoa\Router $router The router. * @param \Hoa\Dispatcher $dispatcher The dispatcher. * @param \Hoa\View\Viewable $view The view. - * @return void */ public function __construct( Router $router, diff --git a/Exception.php b/Exception.php index e76d9d7..d3c6ca9 100644 --- a/Exception.php +++ b/Exception.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * Extending the \Hoa\Exception\Exception class. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Exception extends HoaException diff --git a/GetOption.php b/GetOption.php index addd43e..5e65bcc 100644 --- a/GetOption.php +++ b/GetOption.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -47,7 +47,7 @@ * And, of course, it proposes the getOption method, that allow user to loop * easily the command options/arguments. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class GetOption @@ -130,7 +130,6 @@ class GetOption * * @param array $options The option definition. * @param \Hoa\Console\Parser $parser The parser. - * @return void * @throws \Hoa\Console\Exception */ public function __construct(array $options, Parser $parser) diff --git a/Input.php b/Input.php index 83bebef..9b0c5bf 100644 --- a/Input.php +++ b/Input.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -46,7 +46,7 @@ * going to be `php://stdin` but it can be `/dev/tty` if the former has been * closed. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Input implements Stream\IStream\In @@ -64,7 +64,6 @@ class Input implements Stream\IStream\In * Wraps an `Hoa\Stream\IStream\In` stream. * * @param \Hoa\Stream\IStream\In $input Input. - * @return void */ public function __construct(Stream\IStream\In $input = null) { diff --git a/Mouse.php b/Mouse.php index cc59530..2b0b6e6 100644 --- a/Mouse.php +++ b/Mouse.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Allow to listen the mouse. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Mouse implements Event\Listenable @@ -112,7 +112,6 @@ class Mouse implements Event\Listenable /** * Constructor. * - * @return void */ private function __construct() { diff --git a/Output.php b/Output.php index 6fbf4ed..0c5807c 100644 --- a/Output.php +++ b/Output.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * This class represents the output of a program. Most of the time, this is * going to be STDOUT. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Output implements Stream\IStream\Out @@ -261,4 +261,4 @@ public function isMultiplexerConsidered() { return $this->_considerMultiplexer; } -} \ No newline at end of file +} diff --git a/Parser.php b/Parser.php index 7d64eba..2b2aacc 100644 --- a/Parser.php +++ b/Parser.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * See the parse() method to get more informations about command-line * vocabulary, patterns, limitations, etc. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Parser diff --git a/Processus.php b/Processus.php index e2be49d..48616dc 100644 --- a/Processus.php +++ b/Processus.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Manipulate a processus as a stream. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Processus @@ -342,7 +342,6 @@ class Processus * @param string $cwd Current working directory. * @param array $environment Environment. * @param int $timeout Timeout. - * @return void * @throws \Hoa\Console\Exception */ public function __construct( diff --git a/Readline/Autocompleter/Aggregate.php b/Readline/Autocompleter/Aggregate.php index 6aac2c8..88dec76 100644 --- a/Readline/Autocompleter/Aggregate.php +++ b/Readline/Autocompleter/Aggregate.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -41,7 +41,7 @@ * * Aggregate several autocompleters. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Aggregate implements Autocompleter @@ -59,7 +59,6 @@ class Aggregate implements Autocompleter * Constructor. * * @param array $autocompleters Auto-completers. - * @return void */ public function __construct(array $autocompleters) { diff --git a/Readline/Autocompleter/Autocompleter.php b/Readline/Autocompleter/Autocompleter.php index 93f0eaf..5568258 100644 --- a/Readline/Autocompleter/Autocompleter.php +++ b/Readline/Autocompleter/Autocompleter.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -43,7 +43,7 @@ * * Interface for all auto-completers. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ interface Autocompleter diff --git a/Readline/Autocompleter/Path.php b/Readline/Autocompleter/Path.php index f972688..5e38560 100644 --- a/Readline/Autocompleter/Path.php +++ b/Readline/Autocompleter/Path.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -41,7 +41,7 @@ * * Path autocompleter. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Path implements Autocompleter @@ -76,7 +76,6 @@ class Path implements Autocompleter * @param \Closure $iteratorFactory Iterator factory (please, see * the self::setIteratorFactory * method). - * @return void */ public function __construct( $root = null, diff --git a/Readline/Autocompleter/Word.php b/Readline/Autocompleter/Word.php index a60d13c..e00790c 100644 --- a/Readline/Autocompleter/Word.php +++ b/Readline/Autocompleter/Word.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -41,7 +41,7 @@ * * The simplest auto-completer: complete a word. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Word implements Autocompleter @@ -59,7 +59,6 @@ class Word implements Autocompleter * Constructor. * * @param array $words Words. - * @return void */ public function __construct(array $words) { diff --git a/Readline/Password.php b/Readline/Password.php index b5b4e15..a977f29 100644 --- a/Readline/Password.php +++ b/Readline/Password.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -41,7 +41,7 @@ * * Read, edit, bind… a password from the input. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Password extends Readline diff --git a/Readline/Readline.php b/Readline/Readline.php index 7c35942..bffd1e1 100644 --- a/Readline/Readline.php +++ b/Readline/Readline.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -45,7 +45,7 @@ * * Read, edit, bind… a line from the input. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Readline @@ -146,7 +146,6 @@ class Readline /** * Initialize the readline editor. * - * @return void */ public function __construct() { diff --git a/Test/Unit/Console.php b/Test/Unit/Console.php index be2f4f3..ffd22f9 100644 --- a/Test/Unit/Console.php +++ b/Test/Unit/Console.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -45,7 +45,7 @@ * * Test suite of the console class. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Console extends Test\Unit\Suite diff --git a/Test/Unit/Cursor.php b/Test/Unit/Cursor.php index 8ac2637..61c5705 100644 --- a/Test/Unit/Cursor.php +++ b/Test/Unit/Cursor.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -46,7 +46,7 @@ * * Test suite of the cursor. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Cursor extends Test\Unit\Suite diff --git a/Test/Unit/GetOption.php b/Test/Unit/GetOption.php index a5da572..89023a0 100644 --- a/Test/Unit/GetOption.php +++ b/Test/Unit/GetOption.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -45,7 +45,7 @@ * * Test suite of the option reader. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class GetOption extends Test\Unit\Suite diff --git a/Test/Unit/Input.php b/Test/Unit/Input.php index c43ec13..7b723f1 100644 --- a/Test/Unit/Input.php +++ b/Test/Unit/Input.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -45,7 +45,7 @@ * * Test suite of the input object. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Input extends Test\Unit\Suite diff --git a/Test/Unit/Mouse.php b/Test/Unit/Mouse.php index 8a3e98e..6a51245 100644 --- a/Test/Unit/Mouse.php +++ b/Test/Unit/Mouse.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -47,7 +47,7 @@ * * Test suite of the mouse. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Mouse extends Test\Unit\Suite diff --git a/Test/Unit/Output.php b/Test/Unit/Output.php index 6c19ab5..6cf1bd5 100644 --- a/Test/Unit/Output.php +++ b/Test/Unit/Output.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Test suite of the output object. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Output extends Test\Unit\Suite diff --git a/Test/Unit/Parser.php b/Test/Unit/Parser.php index 1177c17..36c7822 100644 --- a/Test/Unit/Parser.php +++ b/Test/Unit/Parser.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Test suite of the parser. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Parser extends Test\Unit\Suite diff --git a/Test/Unit/Readline/Autocompleter/Aggregate.php b/Test/Unit/Readline/Autocompleter/Aggregate.php index 92b008d..6f3d51e 100644 --- a/Test/Unit/Readline/Autocompleter/Aggregate.php +++ b/Test/Unit/Readline/Autocompleter/Aggregate.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Test suite of the readline autocompleter aggregator. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Aggregate extends Test\Unit\Suite diff --git a/Test/Unit/Readline/Autocompleter/Path.php b/Test/Unit/Readline/Autocompleter/Path.php index ed1be47..d02b652 100644 --- a/Test/Unit/Readline/Autocompleter/Path.php +++ b/Test/Unit/Readline/Autocompleter/Path.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Test suite of the path autocompleter for the readline. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Path extends Test\Unit\Suite diff --git a/Test/Unit/Readline/Autocompleter/Word.php b/Test/Unit/Readline/Autocompleter/Word.php index ccbe1e9..80e7307 100644 --- a/Test/Unit/Readline/Autocompleter/Word.php +++ b/Test/Unit/Readline/Autocompleter/Word.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Test suite of the word autocompleter for the readline. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Word extends Test\Unit\Suite diff --git a/Test/Unit/Readline/Password.php b/Test/Unit/Readline/Password.php index 1dd01a1..dc96c52 100644 --- a/Test/Unit/Readline/Password.php +++ b/Test/Unit/Readline/Password.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -45,7 +45,7 @@ * * Test suite of the password readline. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Password extends Test\Unit\Suite diff --git a/Test/Unit/Tput.php b/Test/Unit/Tput.php index 09315e7..4a776be 100644 --- a/Test/Unit/Tput.php +++ b/Test/Unit/Tput.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * * Test suite of the tput parser. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Tput extends Test\Unit\Suite diff --git a/Test/Unit/Window.php b/Test/Unit/Window.php index daea01c..4d8258a 100644 --- a/Test/Unit/Window.php +++ b/Test/Unit/Window.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -46,7 +46,7 @@ * * Test suite of the window. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Window extends Test\Unit\Suite diff --git a/Tput.php b/Tput.php index f03bf3c..ee97e7c 100644 --- a/Tput.php +++ b/Tput.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -44,7 +44,7 @@ * • http://man.cx/terminfo(5), * • http://pubs.opengroup.org/onlinepubs/7908799/xcurses/terminfo.html, * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Tput @@ -586,7 +586,6 @@ class Tput * Set stream and parse. * * @param string $terminfo Terminfo file. - * @return void */ public function __construct($terminfo = null) { diff --git a/Window.php b/Window.php index 101572b..da9ec64 100644 --- a/Window.php +++ b/Window.php @@ -8,7 +8,7 @@ * * New BSD License * - * Copyright © 2007-2016, Hoa community. All rights reserved. + * Copyright © 2007-2017, Hoa community. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -47,7 +47,7 @@ * if the window has been resized. Please, see the constructor documentation to * get more informations. * - * @copyright Copyright © 2007-2016 Hoa community + * @copyright Copyright © 2007-2017 Hoa community * @license New BSD License */ class Window implements Event\Source @@ -66,7 +66,6 @@ class Window implements Event\Source * We need to declare(ticks = 1) in the main script to ensure that the event * is fired. Also, we need the pcntl_signal() function enabled. * - * @return void */ private function __construct() {