Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_MassS…
…endEmailInvoiceToBillingContact
- Loading branch information
Showing
808 changed files
with
15,504 additions
and
7,574 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# These are supported funding model platforms | ||
|
||
open_collective: dolibarr | ||
custom: https://wiki.dolibarr.org/index.php/Subscribe | ||
# github: [eldy] |
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,27 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest a new idea for this project | ||
title: '' | ||
labels: Feature request | ||
assignees: '' | ||
|
||
--- | ||
|
||
# Instructions | ||
*This is a template to help you report good issues. You may use [Github Markdown](https://help.github.com/articles/getting-started-with-writing-and-formatting-on-github/) syntax to format your issue report.* | ||
*Please:* | ||
- *replace the bracket enclosed texts with meaningful information* | ||
- *remove any unused sub-section* | ||
|
||
|
||
# Feature Request | ||
[*Short description*] | ||
|
||
## Use case | ||
[*Verbose description*] | ||
|
||
## Suggested implementation | ||
[*Verbose description*] | ||
|
||
## Suggested steps | ||
[*List of tasks to achieve goal*] |
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,10 @@ | ||
--- | ||
linters: | ||
phpcs: | ||
standard: 'dev/setup/codesniffer/ruleset.xml' | ||
extensions: 'php' | ||
tab_width: 4 | ||
fixer: true | ||
|
||
fixers: | ||
enable: true |
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
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,4 @@ | ||
Test to migrate Dolibarr to namespace "Dolibarr". | ||
|
||
Script bbb.php is a script of an external module with current code writing. | ||
It must works after migration. |
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,23 @@ | ||
<?php | ||
|
||
namespace Dolibarr; | ||
|
||
|
||
global $globalaaa; | ||
$globalaaa = 'globalaaa'; | ||
|
||
function faaa() | ||
{ | ||
return 'faaa'; | ||
} | ||
|
||
class Aaa | ||
{ | ||
const AAA='aaa'; | ||
|
||
public function do() | ||
{ | ||
echo 'doaaa'."\n"; | ||
} | ||
} | ||
|
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,25 @@ | ||
<?php | ||
|
||
|
||
|
||
|
||
global $globalbbb; | ||
$globalbbb = 'globalbbb'; | ||
|
||
function fbbb() | ||
{ | ||
return 'fbbb'; | ||
} | ||
|
||
class Bbb | ||
{ | ||
const BBB='bbb'; | ||
public function do() | ||
{ | ||
global $globalaaa, $globalbbb; | ||
echo 'dobbb'."\n"; | ||
$globalaaa.='+bbb'; | ||
$globalbbb.='+bbb'; | ||
} | ||
} | ||
|
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,31 @@ | ||
<?php | ||
|
||
//use \Aaa as Aaa; | ||
|
||
use Dolibarr\Aaa as Aaa; | ||
use function Dolibarr\faaa as faaa; // Need php 5.6+ | ||
//use const Dolibarr\AAA; | ||
|
||
//use Bbb as Bbb; | ||
|
||
require './main.inc.php'; | ||
require './aaa.class.php'; | ||
require './bbb.class.php'; | ||
|
||
$bbb = new Bbb(); | ||
$bbb->do(); | ||
|
||
$aaa = new Aaa(); | ||
$aaa->do(); | ||
|
||
echo $aaa::AAA."\n"; | ||
echo $bbb::BBB."\n"; | ||
|
||
echo Aaa::AAA."\n"; | ||
echo Bbb::BBB."\n"; | ||
|
||
echo faaa()."\n"; | ||
echo fbbb()."\n"; | ||
|
||
echo "globalaaa=$globalaaa\n"; | ||
echo "globalbbb=$globalbbb\n"; |
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,7 @@ | ||
<?php | ||
|
||
/*spl_autoload_register(function ($class_name) { | ||
var_dump('class='.$class_name); | ||
require $class_name; | ||
}); | ||
*/ |
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
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.