You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using https://github.com/humbug/php-scoper to decouple some composer package requirements from an ambient cloud-software (Nextcloud). ATM this results also in wrapping some Symfony polyfill stuff.
The error message is as follows
ac-php: An error occurred during to re-index:
PHPParser: Syntax error, unexpected T_NAME_FULLY_QUALIFIED on line 24 - /var/www/localhost/htdocs/nextcloud-git/apps/cafevdb/vendor-wrapped/symfony/polyfill-php80/Resources/stubs/Attribute.php
<?php
namespace OCA\CAFEVDB\Wrapped;
#[Attribute(Attribute::TARGET_CLASS)]
final class Attribute
{
public const TARGET_CLASS = 1;
public const TARGET_FUNCTION = 2;
public const TARGET_METHOD = 4;
public const TARGET_PROPERTY = 8;
public const TARGET_CLASS_CONSTANT = 16;
public const TARGET_PARAMETER = 32;
public const TARGET_ALL = 63;
public const IS_REPEATABLE = 64;
/** @var int */
public $flags;
public function __construct(int $flags = self::TARGET_ALL)
{
$this->flags = $flags;
}
}
#[Attribute(Attribute::TARGET_CLASS)]
\class_alias('OCA\\CAFEVDB\\Wrapped\\Attribute', 'Attribute', \false);
The text was updated successfully, but these errors were encountered:
Hi,
I'm using https://github.com/humbug/php-scoper to decouple some composer package requirements from an ambient cloud-software (Nextcloud). ATM this results also in wrapping some Symfony polyfill stuff.
The error message is as follows
The offending lines are:
And finally the complete source:
The text was updated successfully, but these errors were encountered: