mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
50 lines
1.3 KiB
PHP
50 lines
1.3 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
/**
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
use Isolated\Symfony\Component\Finder\Finder;
|
|
|
|
// You can do your own things here, e.g. collecting symbols to expose dynamically
|
|
// or files to exclude.
|
|
// However, beware that this file is executed by PHP-Scoper, hence if you are using
|
|
// the PHAR it will be loaded by the PHAR. So it is highly recommended to avoid
|
|
// to autoload any code here: it can result in a conflict or even corrupt
|
|
// the PHP-Scoper analysis.
|
|
|
|
return [
|
|
// For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#prefix
|
|
'prefix' => 'OCA\\Talk\\Vendor',
|
|
'output-dir' => 'lib/Vendor',
|
|
|
|
// For more see: https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#finders-and-paths
|
|
'finders' => [
|
|
Finder::create()->files()
|
|
->exclude([
|
|
'test',
|
|
'composer',
|
|
'bin',
|
|
])
|
|
->notName('autoload.php')
|
|
->in('vendor/cuyz'),
|
|
Finder::create()->files()
|
|
->exclude([
|
|
'test',
|
|
'composer',
|
|
'bin',
|
|
])
|
|
->notName('autoload.php')
|
|
->in('vendor/psr/simple-cache'),
|
|
Finder::create()->files()
|
|
->exclude([
|
|
'test',
|
|
'composer',
|
|
'bin',
|
|
])
|
|
->notName('autoload.php')
|
|
->in('vendor/firebase'),
|
|
],
|
|
];
|