Skip to content

Commit

Permalink
Merge pull request #684 from skaut/dependabot/composer/humbug/php-sco…
Browse files Browse the repository at this point in the history
…per-0.18.7

Bump humbug/php-scoper from 0.18.4 to 0.18.7
  • Loading branch information
marekdedic authored Nov 7, 2023
2 parents 2705735 + 043c769 commit 5ed1e1c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
14 changes: 7 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 8 additions & 7 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ function dependency_finder() { // phpcs:ignore WordPress.NamingConventions.Prefi
}

return array(
'prefix' => 'Skautis_Integration\\Vendor',
'output-dir' => 'dist/vendor',
'expose-global-constants' => true,
'expose-global-classes' => false,
'expose-global-functions' => false,
'finders' => array(
'prefix' => 'Skautis_Integration\\Vendor',
'output-dir' => 'dist/vendor',
'tag-declarations-as-internal' => false,
'expose-global-constants' => true,
'expose-global-classes' => false,
'expose-global-functions' => false,
'finders' => array(
dependency_finder(),
Finder::create()->files()
->name( array( '*.php', '/LICENSE(.txt)?/' ) )
Expand All @@ -58,7 +59,7 @@ function dependency_finder() { // phpcs:ignore WordPress.NamingConventions.Prefi
->depth( 0 )
->in( 'vendor' ),
),
'patchers' => array(
'patchers' => array(
static function ( $file_path, $prefix, $contents ) {
$replace_prefix = mb_ereg_replace( '\\\\', '\\\\', $prefix );
if ( __DIR__ . '/vendor/composer/autoload_real.php' === $file_path ) {
Expand Down

0 comments on commit 5ed1e1c

Please sign in to comment.