forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add PHPStan level 0 check * Fix: Method NotificationSettingConfig::update() should return bool but return statement is missing. * Fix: Method Html::showDatesTimelineGraph() should return array but return statement is missing. * Fix: Array has 2 duplicate keys with value 'multiple' ('multiple', 'multiple'). * Fix: Access to an undefined property HTMLTableMain::$title. * Fix: Access to an undefined property HTMLTableGroup::$ordered_headers. * Fix: Variable $subheader_name is undefined * Fix: Access to an undefined property HTMLTableCell::$numberOfLines. * Fix: Access to an undefined property HTMLTableCell::$start. * Fix: Call to function unset() contains undefined variable $name|$type|$cbbox|$cidinfo|$cw|$dw. * Fix: Method GLPIMailer::setLanguage() should return bool but return statement is missing. * Fix FieldUnicity display when there is no fields selected * Fix: Method Glpi\Features\PlanningEvent::getAlreadyPlannedInformation() should return string but return statement is missing. * Fix: Call to an undefined static method PlanningExternalEventTemplate::getVisibilityCriteria(). * Fix: Instantiated class CommonITILTask is abstract. * Fix: Undefined variable: $options * Fix: Method DropdownTranslation::regenerateAllCompletenameTranslationsFor() should return string but return statement is missing. * Fix: Method Dropdown::showFrequency() should return int|string but return statement is missing. * Fix: Method Domain_Item::showForItem() should return bool but return statement is missing. * Remove Domain::getAdditionalFields() (Domain does not inherits CommonDropdown anymore) * Fix: Method Document_Item::showAddFormForItem() should return bool but return statement is missing. * Fix: Method Device*::getHTMLTableHeader() should return HTMLTableHeader but return statement is missing. * Fix: Undefined variable: $RELATION * Fix: Method DatabaseInstance::getTabNameForItem() should return string but return statement is missing. * Fix: Method DCRoom::getTabNameForItem() should return string but return statement is missing. * Fix: Result of method DBmysqlIterator::handleFields() (void) is used. * Fix: Method DBmysql::rollBack() should return bool but return statement is missing. * Fix: Method CronTask::cronInfo() should return array but return statement is missing. * Fix rights checks on CronTask massive actions * Fix: Result of method CronTask::showHistoryDetail() (void) is used. * Fix: Method Contact::getAddress() should return string but return statement is missing. * Fix: Method Consumable::getStatus() should return string but return statement is missing. * Fix: Access to undefined constant Glpi\Console\Migration\UnsignedKeysCommand::ERROR_UNABLE_TO_UPDATE_CONFIG. * Fix: Class DB not found. * Fix: Undefined variable: $parent * Fix: Undefined variable: $title * Fix: Method CommonGLPI::canUpdate() should return bool but return statement is missing. * Fix: Call to an undefined static method static(CommonGLPI)::getIcon(). * Fix: Call to an undefined method $this(CommonGLPI)::isField(). * Fix: Call to an undefined method CommonGLPI::getNameID(). * Fix: Call to an undefined method CommonGLPI::getFromDB(). * Fix: Access to an undefined property CommonGLPI::$fields. * Fix: Call to an undefined method CommonGLPI::getLink(). * Fix: Method CommonGLPI::getErrorMessage() should return string but return statement is missing. * Fix: Access to an undefined property CommonGLPI::$fields. * Fix: Access to an undefined property CommonDBVisible::$entities|groups|profiles|users. * Fix Glpi\Features\PlanningEvent::post_getEmpty() * Fix: Parameter #1 $position (int) of method DBmysqlIterator::seek() is not contravariant with parameter #1 $offset (mixed) of method SeekableIterator::seek(). * Fix: Call to an undefined static method static(CommonDBTM)::getDcBreadcrumbSpecificValueToDisplay(). * Fix: Access to an undefined property CommonDBTM::$itemtype. * Fix: Result of method CommonDBTM::canGlobal() (void) is used. * Fix: Result of method CommonDBTM::updateInDB() (void) is used. * Fix: Call to an undefined method CommonDBTM::clone(). * Fix: Method CommonDBTM::restoreSavedValues() should return array but return statement is missing. * Fix: Method Certificate_Item::showForItem() should return bool but return statement is missing. * Fix: Result of static method Contract::showCentral() (void) is used. * Fix: Method Cartridge::uninstall() should return bool but return statement is missing. * Fix: Method AuthLDAP::ldapImportUserByServerId() should return array|bool but return statement is missing. * Fix: Unsafe usage of new static(). * Fix: Function brotli_compress|brotli_uncompress not found.
- Loading branch information
1 parent
15a89c0
commit 938a234
Showing
47 changed files
with
480 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
parameters: | ||
level: 0 | ||
bootstrapFiles: | ||
- inc/based_config.php | ||
paths: | ||
- src | ||
scanDirectories: | ||
- inc | ||
ignoreErrors: | ||
- '/Call to static method \w+\(\) on an unknown class phpCAS/' | ||
- '/Class Ldap\\Connection not found/' | ||
- '/Instantiated class (DB|DBSlave) not found/' | ||
- '/Instantiated class XHProfRuns_Default not found/' | ||
- '/\w+ has been replaced by \w+/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -364,8 +364,8 @@ public function uninstall($ID) | |
|
||
return true; | ||
} | ||
return false; | ||
} | ||
return false; | ||
} | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.