Skip to content

Commit

Permalink
welcome 2021; fix mariadb compat; fix link in ext. info
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Nov 9, 2021
1 parent a6c9c8b commit ab59daf
Show file tree
Hide file tree
Showing 24 changed files with 44 additions and 31 deletions.
2 changes: 1 addition & 1 deletion bin/php/checkattributes.php
Original file line number Diff line number Diff line change
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-2020
* @copyright (C) G. Giunta 2014-2021
* @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
Original file line number Diff line number Diff line change
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-2020
* @copyright (C) G. Giunta 2014-2021
* @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
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* A CLI script which checks for orphan storage files
*
* @author G. Giunta
* @copyright (C) G. Giunta 2016-2020
* @copyright (C) G. Giunta 2016-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion bin/php/generatedefsfrompersistentobjects.php
Original file line number Diff line number Diff line change
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-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezbinaryfilechecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezfloatchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezimagechecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezintegerchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezmediachecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2016-2020
* @copyright (C) G. Giunta 2016-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezstringchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbiezuserchecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/datatypecheckers/ezdbinullabletypechecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezdbibasechecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2016-2020
* @copyright (C) G. Giunta 2016-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezdbidatatypechecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion classes/ezdbireportgenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Formats results in various modes
*
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
3 changes: 1 addition & 2 deletions classes/ezdbischemachecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down Expand Up @@ -310,7 +310,6 @@ public function getFKViolations( $childTable, $childCol, $parentTable, $parentCo
"WHERE " . $this->getWhereQueryFragment( $parentTable, $parentCol );
if( $exceptions != null )
{

$sql .= ' AND ' . $exceptions;
}
return $this->db->arrayQuery( $sql );
Expand Down
2 changes: 1 addition & 1 deletion classes/ezdbischemachecks.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
4 changes: 2 additions & 2 deletions classes/ezdbistoragecker.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down Expand Up @@ -47,7 +47,7 @@ public function checkAll( $doDelete=false, $returnData=false )
$out = array();
foreach( array_keys( $this->checks ) as $check )
{
$out[$check] = $this->cehck($check);
$out[$check] = $this->check($check);
}
return $out;
}
Expand Down
19 changes: 15 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,22 @@
"description": "Allows checking integrity of data in the database",
"license": "GPL-2.0-or-later",
"homepage": "http://projects.ez.no/ezdbintegrity",
"minimum-stability": "dev",
"require": {
"ezsystems/ezpublish-legacy-installer": "*"
},
"require-dev": {
"gggeek/ezextensionbuilder": "*"
}
}
"codeclimate/php-test-reporter": "~0.4",
"gggeek/ezextensionbuilder": "*",
"phpunit/phpunit": "~4.0 || ~5.0"
},
"_comment::travis": "the following section is needed to insure that eZPublish 5 can be built using the custom euts directory structure where it is not in the root folder",
"extra": {
"ezpublish-legacy-dir": "vendor/ezsystems/ezpublish-legacy"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/gggeek/BehatBundle"
}
]
}
3 changes: 3 additions & 0 deletions doc/changelogs/changelog-0.23.0-to-0.24.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
changelog from version 0.23.0 to 0.24.0

. fixed: make custom queries work with recent mariadb versions
4 changes: 2 additions & 2 deletions extension.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<software>
<metadata>
<name>eZ DB Integrity extension</name>
<version>0.23.0</version>
<copyright>Copyright (C) 2014-2020 Gaetano Giunta</copyright>
<version>0.24.0</version>
<copyright>Copyright (C) 2014-2021 Gaetano Giunta</copyright>
<license>GNU General Public License v2.0</license>
</metadata>

Expand Down
6 changes: 3 additions & 3 deletions ezinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ class ezdbintegrityInfo
static function info()
{
return array(
'Name' => "<a href=\"http://projects.ez.no/ezdbintegrity\">eZ DB Integrity extension</a>",
'Version' => "0.23.0",
'Copyright' => "Copyright (C) 2014-2020 Gaetano Giunta",
'Name' => "<a href=\"https://github.com/gggeek/ezdbintegrity\">eZ DB Integrity extension</a>",
'Version' => "0.24.0",
'Copyright' => "Copyright (C) 2014-2021 Gaetano Giunta",
'License' => "GNU General Public License v2.0"
);
}
Expand Down
2 changes: 1 addition & 1 deletion interfaces/ezdbidatatypecheckerinterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down
2 changes: 1 addition & 1 deletion interfaces/ezdbischemafileformatinterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author G. Giunta
* @copyright (C) G. Giunta 2014-2020
* @copyright (C) G. Giunta 2014-2021
* @license Licensed under GNU General Public License v2.0. See file license.txt
*/

Expand Down

0 comments on commit ab59daf

Please sign in to comment.