replace fetch_projet() and fetch_project() by fetchProject() (#29821)

* fix cti

* fix cti

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* deprecate fetch_projet fetch_project to fetchProject

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* odfHandler->setSegment only throw OdfExceptionSegmentNotFound

* fix deprecated

* fix

* fix sql
This commit is contained in:
Frédéric FRANCE
2024-10-26 22:43:44 +02:00
committed by GitHub
parent 3acbd6e006
commit 0f563edb5f
34 changed files with 99 additions and 84 deletions

View File

@@ -1,6 +1,7 @@
<?php
/* Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2023 Alexandre Janniaux <alexandre.janniaux@gmail.com>
* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -87,7 +88,7 @@ class CommonObjectTest extends CommonClassTest
$localobject = new Commande($db);
$localobject->fetch(1);
$result = $localobject->fetch_projet();
$result = $localobject->fetchProject();
print __METHOD__." result=".$result."\n";
$this->assertLessThanOrEqual($result, 0);