Skip to content

Commit

Permalink
update copyright statements; remove closing php tags; add missing cha…
Browse files Browse the repository at this point in the history
…ngelogs
  • Loading branch information
gggeek committed Oct 26, 2018
1 parent ae5735f commit 19af42e
Show file tree
Hide file tree
Showing 27 changed files with 41 additions and 47 deletions.
2 changes: 1 addition & 1 deletion bin/php/checkattributes.php
Expand Up @@ -3,7 +3,7 @@
* A CLI script which checks problems with all object attributes of a given datatype in current database
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion bin/php/checkschema.php
Expand Up @@ -3,7 +3,7 @@
* A CLI script which checks problems with data in the current schema
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion bin/php/checkstorage.php
Expand Up @@ -3,7 +3,7 @@
* A CLI script which checks for orphan storage files
*
* @author G. Giunta
* @copyright (C) G. Giunta 2016
* @copyright (C) G. Giunta 2016-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
4 changes: 2 additions & 2 deletions bin/php/generatedefsfrompersistentobjects.php
Expand Up @@ -3,7 +3,7 @@
* A CLI script which checks all persistent object defs for FKs and generates a file with definitions
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down Expand Up @@ -84,4 +84,4 @@
$cli->output( 'Done!' );
$cli->output();

$script->shutdown();
$script->shutdown();
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezbinaryfilechecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014 - 2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
4 changes: 1 addition & 3 deletions classes/datatypecheckers/ezdbiezfloatchecker.php
@@ -1,12 +1,10 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

/**
*/
class ezdbiEzfloatChecker extends ezdbiNullabletypeChecker implements ezdbiDatatypeCheckerInterface
{
protected $min;
Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezimagechecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
4 changes: 1 addition & 3 deletions classes/datatypecheckers/ezdbiezintegerchecker.php
@@ -1,12 +1,10 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

/**
*/
class ezdbiEzintegerChecker extends ezdbiNullabletypeChecker implements ezdbiDatatypeCheckerInterface
{
protected $min;
Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezmediachecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2016
* @copyright (C) G. Giunta 2016-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
4 changes: 1 addition & 3 deletions classes/datatypecheckers/ezdbiezstringchecker.php
@@ -1,12 +1,10 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

/**
*/
class ezdbiEzstringChecker extends ezdbiNullabletypeChecker implements ezdbiDatatypeCheckerInterface
{
protected $maxLen;
Expand Down
4 changes: 1 addition & 3 deletions classes/datatypecheckers/ezdbiezuserchecker.php
@@ -1,12 +1,10 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

/**
*/
class ezdbiEzuserChecker extends ezdbiNullabletypeChecker implements ezdbiDatatypeCheckerInterface
{
/**
Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbinullabletypechecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
3 changes: 1 addition & 2 deletions classes/ezdbiautoloadhelper.php
Expand Up @@ -65,5 +65,4 @@ public static function autoloadCallback( $php, $label )
self::$ezpClasses[$key] = 'extension/ezdbintegrity/' . $val;
}
}

}
}
4 changes: 2 additions & 2 deletions classes/ezdbibasechecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2016
* @copyright (C) G. Giunta 2016-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand All @@ -21,4 +21,4 @@ protected function output( $msg, $addEOL = true )
$this->cli->output( $msg, $addEOL );
}
}
}
}
4 changes: 2 additions & 2 deletions classes/ezdbidatatypechecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down Expand Up @@ -208,4 +208,4 @@ protected function datatypeByAttributeDefinition( $def )
$classAttribute = $classAttributes[$attributeIdentifier];
return $classAttribute->attribute( 'data_type_string' );
}
}
}
4 changes: 2 additions & 2 deletions classes/ezdbireportgenerator.php
Expand Up @@ -3,7 +3,7 @@
* Formats results in various modes
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand All @@ -20,4 +20,4 @@ public static function getText( array $violations, $checks, $displayChecks=false
return "Violations:\n===========\n" . var_export( $violations, true );
}
}
}
}
4 changes: 2 additions & 2 deletions classes/ezdbischemachecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down Expand Up @@ -289,4 +289,4 @@ protected function tableExists( $table )
{
return array_key_exists( $table, $this->schema );
}
}
}
4 changes: 2 additions & 2 deletions classes/ezdbischemachecks.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down Expand Up @@ -84,4 +84,4 @@ public function merge( ezdbiSchemaChecks $checks )
{
$this->FK = array_merge( $this->FK, $checks->FK );
}
}
}
2 changes: 1 addition & 1 deletion classes/ezdbistoragecker.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014 - 2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/schemafileformat/ezdbiiniformat.php
Expand Up @@ -81,4 +81,4 @@ public function writeFile( $filename, ezdbiSchemaChecks $schemaDef )

file_put_contents( $filename, $out );
}
}
}
3 changes: 1 addition & 2 deletions classes/schemafileformat/ezdbipersistentobjectformat.php
Expand Up @@ -5,7 +5,6 @@
*/
class ezdbiPersistentObjectFormat implements ezdbiSchemaFileFormatInterface
{

/**
* @param string $filename in this case it is a class name
* @return ezdbiSchemaChecks
Expand Down Expand Up @@ -58,4 +57,4 @@ protected function resolveClassToTable( $class )

return $def['name'];
}
}
}
3 changes: 3 additions & 0 deletions doc/changelogs/changelog-0.10.0-to-0.10.1
@@ -0,0 +1,3 @@
changelog from version 0.10.0 to 0.10.1 - released 2018.10.26

. fixed definition of 3 custom queries
3 changes: 3 additions & 0 deletions doc/changelogs/changelog-0.9.0-to-0.10.0
@@ -0,0 +1,3 @@
changelog from version 0.9.0 to 0.10.0 - released 2017.9.10

. added 1 custom query check to verify if there are any objects with 2 or more locations under the same parent node
5 changes: 2 additions & 3 deletions extension.xml
Expand Up @@ -2,8 +2,8 @@
<software>
<metadata>
<name>eZ DB Integrity extension</name>
<version>0.10.0</version>
<copyright>Copyright (C) 2014-217 Gaetano Giunta</copyright>
<version>0.10.1</version>
<copyright>Copyright (C) 2014-2018 Gaetano Giunta</copyright>
<license>GNU General Public License v2.0</license>
</metadata>

Expand All @@ -13,5 +13,4 @@
<requires>
</requires>
</dependencies>

</software>
4 changes: 2 additions & 2 deletions ezinfo.php
Expand Up @@ -6,8 +6,8 @@ static function info()
{
return array(
'Name' => "<a href=\"http://projects.ez.no/ezdbintegrity\">eZ DB Integrity extension</a>",
'Version' => "0.10.0",
'Copyright' => "Copyright (C) 2014-2017 Gaetano Giunta",
'Version' => "0.10.1",
'Copyright' => "Copyright (C) 2014-2018 Gaetano Giunta",
'License' => "GNU General Public License v2.0"
);
}
Expand Down
5 changes: 2 additions & 3 deletions interfaces/ezdbidatatypecheckerinterface.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand All @@ -22,5 +22,4 @@ public function checkObjectAttribute( array $contentObjectAttribute );
* NB: might be introduced later...
*/
//public static function checkExtraData();

}
}
4 changes: 2 additions & 2 deletions interfaces/ezdbischemafileformatinterface.php
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2016
* @copyright (C) G. Giunta 2014-2018
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand All @@ -14,4 +14,4 @@ interface ezdbiSchemaFileFormatInterface
public function parseFile( $filename );

public function writeFile( $filename, ezdbiSchemaChecks $schemaChecks );
}
}

0 comments on commit 19af42e

Please sign in to comment.