php-cs-fixer for all the code

This commit is contained in:
2023-04-13 20:21:34 +02:00
parent eed1fe690d
commit 63b150a493
18 changed files with 279 additions and 278 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
namespace Domframework;
/*
/*
* To use it, the $serverKey must be defined. It can be created by example,
* by using $serverKey = sha1 (microtime (true));
*/
+2 -2
View File
@@ -41,8 +41,8 @@ class Authzgroups
*/
public function userrightsget($module, $user)
{
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
if ($this->rightCache !== null) {
return $this->rightCache;
}
+2 -2
View File
@@ -68,8 +68,8 @@ class Authzgroupsoo
*/
public function userrightsget($module, $user)
{
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
// if (isset ($_SESSION["domframework"]["authzgroups"][$module][$user]))
// return $_SESSION["domframework"]["authzgroups"][$module][$user];
if ($this->rightCache !== null) {
return $this->rightCache;
}
+1 -1
View File
@@ -623,7 +623,7 @@ class Dblayer
));
return $errors;
}
/* if (! isset($data[$foreign][0])) {
/* if (! isset($data[$foreign][0])) {
$errors[] = array("error", sprintf(
dgettext(
"domframework",
+1 -1
View File
@@ -1172,7 +1172,7 @@ class Dblayeroo
*/
private function fieldTypeComplete($field)
{
// $this->debugLog ("Entering fieldTypeComplete (",$field,")", 2);
// $this->debugLog ("Entering fieldTypeComplete (",$field,")", 2);
if (! array_key_exists($field, $this->fields)) {
$this->DBException(sprintf(
"fieldType : can't find the definition for field '%s'",
+2 -1
View File
@@ -1,6 +1,7 @@
<?php
/** DomFramework
/**
* DomFramework
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD