Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Quality: Happy new year!
Browse files Browse the repository at this point in the history
  • Loading branch information
vonglasow committed Jan 9, 2017
1 parent ebaafe7 commit d195c63
Show file tree
Hide file tree
Showing 21 changed files with 44 additions and 52 deletions.
5 changes: 2 additions & 3 deletions Dal.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -45,7 +45,7 @@
*
* The higher class of the Database Abstract Layer. It wrappes all DAL.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Dal implements Zformat\Parameterizable, Event\Source
Expand Down Expand Up @@ -127,7 +127,6 @@ class Dal implements Zformat\Parameterizable, Event\Source
* The constructor is private to make a multiton.
*
* @param array $connectionParameters The layer connection parameter.
* @return void
*/
private function __construct(array $connectionParameters)
{
Expand Down
5 changes: 2 additions & 3 deletions DalStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* The higher class that represents a DAL statement.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class DalStatement implements IDal\WrapperStatement
Expand Down Expand Up @@ -197,7 +197,6 @@ class DalStatement implements IDal\WrapperStatement
* @param \Hoa\Database\IDal\WrapperStatement $statement The
* statement
* instance.
* @return void
*/
public function __construct(IDal\WrapperStatement $statement)
{
Expand Down
4 changes: 2 additions & 2 deletions Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions IDal/Wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Interface of a DAL wrapper.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
interface Wrapper
Expand All @@ -53,7 +53,6 @@ interface Wrapper
* @param string $username The username to connect to database.
* @param string $password The password to connect to database.
* @param array $driverOptions The driver options.
* @return void
* @throws \Hoa\Database\Exception
*/
public function __construct(
Expand Down
5 changes: 2 additions & 3 deletions IDal/WrapperIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -43,7 +43,7 @@
*
* Interface of a DAL iterator statement wrapper.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
interface WrapperIterator extends Iterator\Iterator
Expand All @@ -53,7 +53,6 @@ interface WrapperIterator extends Iterator\Iterator
*
* @param object $statement The underlying statement instance.
* @param array $style An array of fetching style options.
* @return void
*/
public function __construct($statement, $style);
}
4 changes: 2 additions & 2 deletions IDal/WrapperStatement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -44,7 +44,7 @@
*
* Interface of a DAL statement wrapper.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
interface WrapperStatement extends Iterator\Aggregate
Expand Down
8 changes: 4 additions & 4 deletions Layer/Pdo/Iterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -43,7 +43,7 @@
*
* Iterator Statement.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Iterator implements Database\IDal\WrapperIterator
Expand Down Expand Up @@ -76,9 +76,9 @@ class Iterator implements Database\IDal\WrapperIterator
*
* @param object $statement The underlying statement instance.
* @param array $style An array of fetching style options.
* @return void
*/
public function __construct($statement, $style) {
public function __construct($statement, $style)
{
$this->_statement = $statement;
$this->_style = $style;

Expand Down
5 changes: 2 additions & 3 deletions Layer/Pdo/Pdo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -44,7 +44,7 @@
*
* Wrap PDO.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Pdo implements Database\IDal\Wrapper
Expand All @@ -65,7 +65,6 @@ class Pdo implements Database\IDal\Wrapper
* @param string $username The username to connect to database.
* @param string $password The password to connect to database.
* @param array $driverOptions The driver options.
* @return void
* @throws \Hoa\Database\Exception
*/
public function __construct(
Expand Down
5 changes: 2 additions & 3 deletions Layer/Pdo/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -43,7 +43,7 @@
*
* Wrap PDOStatement.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Statement implements Database\IDal\WrapperStatement
Expand Down Expand Up @@ -72,7 +72,6 @@ class Statement implements Database\IDal\WrapperStatement
* Create a statement instance.
*
* @param \PDOStatement $statement The PDOStatement instance.
* @return void
*/
public function __construct(\PDOStatement $statement)
{
Expand Down
4 changes: 2 additions & 2 deletions Query/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Build a DELETE query.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Delete extends Where implements Dml
Expand Down
4 changes: 2 additions & 2 deletions Query/Dml.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Represent Data Manipulation Language queries.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
interface Dml
Expand Down
4 changes: 2 additions & 2 deletions Query/EncloseIdentifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Enclose identifier feature.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
trait EncloseIdentifier
Expand Down
4 changes: 2 additions & 2 deletions Query/Insert.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Build an INSERT query.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Insert implements Dml
Expand Down
5 changes: 2 additions & 3 deletions Query/Join.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Build a JOIN clause.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Join
Expand All @@ -67,7 +67,6 @@ class Join
*
* @param \Hoa\Database\Query\Select $parent Parent query.
* @param array $from FROM entry (“friends”).
* @return void
*/
public function __construct(Select $parent, array &$from)
{
Expand Down
4 changes: 2 additions & 2 deletions Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -43,7 +43,7 @@
*
* Multiton of queries.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Query
Expand Down
4 changes: 2 additions & 2 deletions Query/Select.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Build a SELECT query.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Select extends SelectCore implements Dml
Expand Down
5 changes: 2 additions & 3 deletions Query/SelectCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Core of the SELECT query.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
abstract class SelectCore extends Where
Expand Down Expand Up @@ -89,7 +89,6 @@ abstract class SelectCore extends Where
* Set columns.
*
* @param array $columns Columns.
* @return void
*/
public function __construct(array $columns = [])
{
Expand Down
4 changes: 2 additions & 2 deletions Query/Update.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -41,7 +41,7 @@
*
* Build an UPDATE query.
*
* @copyright Copyright © 2007-2016 Hoa community
* @copyright Copyright © 2007-2017 Hoa community
* @license New BSD License
*/
class Update extends Where implements Dml
Expand Down
Loading

0 comments on commit d195c63

Please sign in to comment.