Skip to content

Commit

Permalink
Merge branch 'develop' into develop_new_ticket_files_links_in_actionc…
Browse files Browse the repository at this point in the history
…omm_public_access
  • Loading branch information
thomas-Ngr committed Dec 18, 2024
2 parents f83fa9a + fcd294c commit 34029c0
Show file tree
Hide file tree
Showing 147 changed files with 1,121 additions and 1,048 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr-18-autolabel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/changed-lines-count-labeler.yml
continue-on-error: true

Check failure on line 21 in .github/workflows/pr-18-autolabel.yaml

View workflow job for this annotation

GitHub Actions / pre-commit / pre-commit

21:30 [new-line-at-end-of-file] no new line character at the end of file
4 changes: 3 additions & 1 deletion build/phpstan/bootstrap_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
}

// Defined some constants and load Dolibarr env to reduce PHPStan bootstrap that fails to load a lot of things.
$dolibarr_main_document_root = __DIR__ . '/../../htdocs';
define('DOL_DOCUMENT_ROOT', __DIR__ . '/../../htdocs');
define('DOL_DATA_ROOT', __DIR__ . '/../../documents');
define('DOL_URL_ROOT', '/');
Expand All @@ -42,6 +43,7 @@
* @var User $user
*/

global $conf, $db, $hookmanager, $langs, $mysoc, $user;
global $conf, $db, $hookmanager, $langs, $mysoc, $user;
global $dolibarr_main_document_root;

// include_once DOL_DOCUMENT_ROOT . '/../../htdocs/main.inc.php';
Loading

0 comments on commit 34029c0

Please sign in to comment.