Debug v15

This commit is contained in:
Laurent Destailleur 2022-01-03 12:28:42 +01:00
parent 72998cd8fe
commit cecb11bb1c
17 changed files with 9 additions and 10 deletions

0
htdocs/admin/workstation.php Executable file → Normal file
View File

0
htdocs/compta/tva/card.php Executable file → Normal file
View File

0
htdocs/core/modules/modWorkstation.class.php Executable file → Normal file
View File

View File

View File

View File

0
htdocs/fourn/facture/card.php Executable file → Normal file
View File

12
htdocs/includes/stripe/stripe-php/build.php Executable file → Normal file
View File

@ -6,20 +6,20 @@ $autoload = (int) $argv[1];
$returnStatus = null;
if (!$autoload) {
// Modify composer to not autoload Stripe
$composer = \json_decode(\file_get_contents('composer.json'), true);
unset($composer['autoload'], $composer['autoload-dev']);
// Modify composer to not autoload Stripe
$composer = \json_decode(\file_get_contents('composer.json'), true);
unset($composer['autoload'], $composer['autoload-dev']);
\file_put_contents('composer.json', \json_encode($composer, \JSON_PRETTY_PRINT));
\file_put_contents('composer.json', \json_encode($composer, \JSON_PRETTY_PRINT));
}
\passthru('composer update', $returnStatus);
if (0 !== $returnStatus) {
exit(1);
exit(1);
}
$config = $autoload ? 'phpunit.xml' : 'phpunit.no_autoload.xml';
\passthru("./vendor/bin/phpunit -c {$config}", $returnStatus);
if (0 !== $returnStatus) {
exit(1);
exit(1);
}

6
htdocs/includes/stripe/stripe-php/update_certs.php Executable file → Normal file
View File

@ -7,9 +7,9 @@
$fp = \fopen(__DIR__ . '/data/ca-certificates.crt', 'w+b');
$options = [
\CURLOPT_FILE => $fp,
\CURLOPT_TIMEOUT => 3600,
\CURLOPT_URL => 'https://curl.haxx.se/ca/cacert.pem',
\CURLOPT_FILE => $fp,
\CURLOPT_TIMEOUT => 3600,
\CURLOPT_URL => 'https://curl.haxx.se/ca/cacert.pem',
];
$ch = \curl_init();

0
htdocs/workstation/class/workstation.class.php Executable file → Normal file
View File

0
htdocs/workstation/lib/workstation.lib.php Executable file → Normal file
View File

0
htdocs/workstation/lib/workstation_workstation.lib.php Executable file → Normal file
View File

0
htdocs/workstation/workstation_agenda.php Executable file → Normal file
View File

1
htdocs/workstation/workstation_card.php Executable file → Normal file
View File

@ -1,6 +1,5 @@
<?php
/* Copyright (C) 2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) ---Put here your own copyright and developer email---
*
* 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

0
htdocs/workstation/workstation_document.php Executable file → Normal file
View File

0
htdocs/workstation/workstation_list.php Executable file → Normal file
View File

0
htdocs/workstation/workstation_note.php Executable file → Normal file
View File