Skip to content

Commit

Permalink
Fix file licensing
Browse files Browse the repository at this point in the history
  • Loading branch information
adamturcsan committed Nov 5, 2016
1 parent fa05852 commit 61adfaa
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 35 deletions.
5 changes: 4 additions & 1 deletion src/ConnectionParametersMissingException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace Legow\ReconnectingPDO;
Expand Down
5 changes: 4 additions & 1 deletion src/ExceededMaxReconnectionException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace Legow\ReconnectingPDO;
Expand Down
7 changes: 7 additions & 0 deletions src/ReconnectingPDO.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/*
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace Legow\ReconnectingPDO;

use PDO;
Expand Down
5 changes: 4 additions & 1 deletion src/ReconnectingPDOException.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace Legow\ReconnectingPDO;
Expand Down
9 changes: 6 additions & 3 deletions src/ReconnectingPDOStatement.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<?php

namespace Legow\ReconnectingPDO;

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace Legow\ReconnectingPDO;

use \PDO;
use \PDOStatement;

Expand Down
5 changes: 4 additions & 1 deletion test/ReconnectingPDOStatementTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace LegoW\ReconnectingPDO\Test;
Expand Down
5 changes: 4 additions & 1 deletion test/ReconnectingPDOTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

namespace LegoW\ReconnectingPDO\Test;
Expand Down
5 changes: 4 additions & 1 deletion test/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<?php

/*
* All rights reserved © 2016 Legow Hosting Kft.
* LegoW\ReconnectingPDO (https://github.com/adamturcsan/reconnecting-pdo)
*
* @copyright Copyright (c) 2014-2016 Legow Hosting Kft. (http://www.legow.hu)
* @license https://opensource.org/licenses/MIT MIT License
*/

/**
Expand Down
41 changes: 15 additions & 26 deletions test/configuration.xml
Original file line number Diff line number Diff line change
@@ -1,32 +1,21 @@
<?xml version="1.0"?>
<!--
All rights reserved © 2016 Legow Hosting Kft.
-->

<!-- see http://www.phpunit.de/wiki/Documentation -->
<!--phpunit bootstrap="/path/to/bootstrap.php"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnFailure="true">
</phpunit-->

<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/5.4/phpunit.xsd"
bootstrap="../vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
verbose="true"
stopOnFailure="false"
processIsolation="false"
backupGlobals="false"
syntaxCheck="true"
>
syntaxCheck="true">
<testsuites>
<testsuite>
<directory>../test</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<whitelist>
<directory suffix=".php">../src/</directory>
</whitelist>
</filter>
<log type="coverage-text" target="/home/junior/Munka/LegoW/php-packages/reconnecting-pdo/coverage.txt"/>
<logging>
<log type="coverage-html" target="../tmp/coverage" />
</logging>
</phpunit>

0 comments on commit 61adfaa

Please sign in to comment.