Skip to content

Commit

Permalink
Update phar autoloading
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianfeldmann committed Dec 21, 2023
1 parent 63e02e3 commit 7a1791f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
5 changes: 0 additions & 5 deletions build/phar-autoload.php.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ if ($execute) {
require __PHPBU_PHAR_ROOT__ . '/lib/aws-sdk/functions.php';
// guzzle functions
require __PHPBU_PHAR_ROOT__ . '/lib/guzzlehttp/guzzle/functions_include.php';
require __PHPBU_PHAR_ROOT__ . '/lib/guzzlehttp/psr7/functions_include.php';
require __PHPBU_PHAR_ROOT__ . '/lib/guzzlehttp/promises/functions_include.php';
// dropbox collection helper
require __PHPBU_PHAR_ROOT__ . '/lib/tightenco/Collect/Support/helpers.php';
require __PHPBU_PHAR_ROOT__ . '/lib/tightenco/Collect/Support/alias.php';
// load the symfony polyfills
require __PHPBU_PHAR_ROOT__ . '/lib/symfony/polyfill-ctype/bootstrap.php';
require __PHPBU_PHAR_ROOT__ . '/lib/symfony/polyfill-mbstring/bootstrap.php';
Expand Down
12 changes: 12 additions & 0 deletions test.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

readonly class Fooo {
public function __construct(
public string $b,
public string $a,
public string $r
){}
}

$x = new Fooo('a', 'b');
print_r($x);

0 comments on commit 7a1791f

Please sign in to comment.