File: 0001-Use-homemade-autoload.php.patch

package info (click to toggle)
php-masterminds-html5 2.10.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 824 kB
  • sloc: php: 9,678; makefile: 21
file content (20 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Sun, 12 May 2019 01:05:02 -1000
Subject: Use homemade autoload.php

---
 example.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example.php b/example.php
index e4e1f22..99f5ce6 100644
--- a/example.php
+++ b/example.php
@@ -1,6 +1,6 @@
 <?php
 
-require 'vendor/autoload.php';
+require 'Masterminds/HTML5/autoload.php';
 use Masterminds\HTML5;
 
 $html = <<< 'HERE'