You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
669 B
27 lines
669 B
<?php
|
|
/**
|
|
* PHP-Scoper configuration file.
|
|
*
|
|
* @package cyr-to-lat
|
|
*/
|
|
|
|
// phpcs:disable Generic.Commenting.DocComment.MissingShort
|
|
/** @noinspection PhpUndefinedClassInspection */
|
|
/** @noinspection PhpUndefinedNamespaceInspection */
|
|
// phpcs:enable Generic.Commenting.DocComment.MissingShort
|
|
|
|
declare( strict_types=1 );
|
|
|
|
use Symfony\Component\Finder\Finder;
|
|
|
|
/**
|
|
* Dir to scope
|
|
*/
|
|
const WP_BACKGROUND_PROCESSING_BASE_DIR = __DIR__ . '/../vendor/deliciousbrains/wp-background-processing';
|
|
|
|
return [
|
|
'finders' => [
|
|
Finder::create()->files()->in( WP_BACKGROUND_PROCESSING_BASE_DIR . '/classes' ),
|
|
],
|
|
'exclude-constants' => [ 'MINUTE_IN_SECONDS' ],
|
|
];
|
|
|