File: use_system_php_libs.patch

package info (click to toggle)
kanboard 1.2.48%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,236 kB
  • sloc: php: 130,724; javascript: 3,799; sql: 2,383; makefile: 104; sh: 94; xml: 83
file content (59 lines) | stat: -rw-r--r-- 2,174 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
From: Joseph Nahmias <joe@nahmias.net>
Date: Thu, 18 Dec 2025 20:47:01 -0500
Subject: use PHP libraries installed in the system

Origin: vendor
Forwarded: not-needed
Last-Update: 2022-07-24

instead of the vendored ones
Last-Update: 2022-07-24
---
 app/Console/CssCommand.php | 11 -----------
 app/Console/JsCommand.php  | 11 -----------
 2 files changed, 22 deletions(-)

diff --git a/app/Console/CssCommand.php b/app/Console/CssCommand.php
index 05ac992..94c8025 100644
--- a/app/Console/CssCommand.php
+++ b/app/Console/CssCommand.php
@@ -6,17 +6,6 @@ use MatthiasMullie\Minify;
 use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
-$path = __DIR__ . '/../../libs';
-require_once $path . '/minify/src/Minify.php';
-require_once $path . '/minify/src/CSS.php';
-require_once $path . '/minify/src/JS.php';
-require_once $path . '/minify/src/Exception.php';
-require_once $path . '/minify/src/Exceptions/BasicException.php';
-require_once $path . '/minify/src/Exceptions/FileImportException.php';
-require_once $path . '/minify/src/Exceptions/IOException.php';
-require_once $path . '/path-converter/src/ConverterInterface.php';
-require_once $path . '/path-converter/src/Converter.php';
-
 /**
  * Class CssCommand
  *
diff --git a/app/Console/JsCommand.php b/app/Console/JsCommand.php
index aa50874..a124cb9 100644
--- a/app/Console/JsCommand.php
+++ b/app/Console/JsCommand.php
@@ -6,17 +6,6 @@ use MatthiasMullie\Minify;
 use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
-$path = __DIR__ . '/../../libs';
-require_once $path . '/minify/src/Minify.php';
-require_once $path . '/minify/src/CSS.php';
-require_once $path . '/minify/src/JS.php';
-require_once $path . '/minify/src/Exception.php';
-require_once $path . '/minify/src/Exceptions/BasicException.php';
-require_once $path . '/minify/src/Exceptions/FileImportException.php';
-require_once $path . '/minify/src/Exceptions/IOException.php';
-require_once $path . '/path-converter/src/ConverterInterface.php';
-require_once $path . '/path-converter/src/Converter.php';
-
 /**
  * Class JsCommand
  *