diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/symfony-filesystem/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/symfony-filesystem/files')
-rw-r--r-- | dev-php/symfony-filesystem/files/annotate-network-tests.patch | 27 | ||||
-rw-r--r-- | dev-php/symfony-filesystem/files/autoload.php | 8 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-php/symfony-filesystem/files/annotate-network-tests.patch b/dev-php/symfony-filesystem/files/annotate-network-tests.patch new file mode 100644 index 000000000000..38c83753195f --- /dev/null +++ b/dev-php/symfony-filesystem/files/annotate-network-tests.patch @@ -0,0 +1,27 @@ +From cda6fa8801d04b149592c5789c0d060c4ca4e9db Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Wed, 3 May 2017 18:33:56 -0400 +Subject: [PATCH 1/1] Annotate the one network test as being a part of the + "network" group. + +--- + Tests/FilesystemTest.php | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/Tests/FilesystemTest.php b/Tests/FilesystemTest.php +index 1341392..a862fa8 100644 +--- a/Tests/FilesystemTest.php ++++ b/Tests/FilesystemTest.php +@@ -156,6 +156,9 @@ class FilesystemTest extends FilesystemTestCase + $this->assertEquals('SOURCE FILE', file_get_contents($targetFilePath)); + } + ++ /** ++ * @group network ++ */ + public function testCopyForOriginUrlsAndExistingLocalFileDefaultsToCopy() + { + $sourceFilePath = 'http://symfony.com/images/common/logo/logo_symfony_header.png'; +-- +2.10.2 + diff --git a/dev-php/symfony-filesystem/files/autoload.php b/dev-php/symfony-filesystem/files/autoload.php new file mode 100644 index 000000000000..8ea8655d904f --- /dev/null +++ b/dev-php/symfony-filesystem/files/autoload.php @@ -0,0 +1,8 @@ +<?php +/* Autoloader for symfony-filesystem and its dependencies */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +\Fedora\Autoloader\Autoload::addPsr4('Symfony\\Component\\Filesystem\\', __DIR__); |