Plugin Directory

Changeset 3252105


Ignore:
Timestamp:
03/07/2025 10:51:19 AM (13 months ago)
Author:
stancer
Message:

Merge branch 'jg/update-ci-php-version-8-0' into 'main'

Location:
stancer/trunk
Files:
66 edited

Legend:

Unmodified
Added
Removed
  • stancer/trunk/LICENSE

    r3033292 r3252105  
    1 Copyright (c) 2023-2024 Stancer / Iliad 78
     1Copyright (c) 2023-2025 Stancer / Iliad 78
    22
    33Permission is hereby granted, free of charge, to any person obtaining a copy
  • stancer/trunk/includes/Controller/class-stancer-change-payment-method.php

    r3158277 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-abstract-table.php

    r3033292 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-api.php

    r3125364 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-card.php

    r3054608 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-config.php

    r3104631 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-customer.php

    r3054608 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-exception.php

    r3158216 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-gateway-block-support.php

    r3158277 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-gateway.php

    r3158270 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-payment-builder.php

    r3127996 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-payment.php

    r3126050 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer-subscription.php

    r3033292 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/class-stancer.php

    r3158277 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/subscriptions/class-stancer-renewal-builder.php

    r3127996 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/traits/trait-stancer-payment-validator.php

    r3127996 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/traits/trait-stancer-refunds.php

    r3104631 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/includes/traits/trait-stancer-subscription.php

    r3126050 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/languages/stancer-fr_FR.po

    r3158289 r3252105  
    66"Report-Msgid-Bugs-To: https://gitlab.com/wearestancer/cms/woocommerce/-/"
    77"issues\n"
    8 "POT-Creation-Date: 2024-01-03 15:12+0000\n"
     8"POT-Creation-Date: 2024-05-20 07:47+0000\n"
    99"PO-Revision-Date: 2024-06-27 14:57+0200\n"
    1010"Last-Translator: Sebastien <sderen@stancer.com>\n"
  • stancer/trunk/stancer.php

    r3158289 r3252105  
    55 * @package stancer
    66 * @license MIT
    7  * @copyright 2023-2024 Stancer / Iliad 78
     7 * @copyright 2023-2025 Stancer / Iliad 78
    88 *
    99 * @wordpress-plugin
     
    2828 */
    2929define( 'STANCER_WC_VERSION', '1.3.0' );
    30 define( 'STANCER_ASSETS_VERSION', '1727360780701' );
     30define( 'STANCER_ASSETS_VERSION', '1741344596529' );
    3131define( 'STANCER_FILE', __FILE__ );
    3232define( 'STANCER_DIRECTORY_PATH', plugin_dir_path( STANCER_FILE ) );
  • stancer/trunk/subscription/change-payment-method.php

    r3075815 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/uninstall.php

    r3033292 r3252105  
    77 * @link https://www.stancer.com/
    88 * @license MIT
    9  * @copyright 2023-2024 Stancer / Iliad 78
     9 * @copyright 2023-2025 Stancer / Iliad 78
    1010 *
    1111 * @package stancer
  • stancer/trunk/vendor-prefixer/vendor/composer/InstalledVersions.php

    r3056912 r3252105  
    3131    private static $installed;
    3232    /**
     33     * @var bool
     34     */
     35    private static $installedIsLocalDir;
     36    /**
    3337     * @var bool|null
    3438     */
     
    270274        self::$installed = $data;
    271275        self::$installedByVendor = array();
     276        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     277        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     278        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     279        // all installed packages for example
     280        self::$installedIsLocalDir = \false;
    272281    }
    273282    /**
     
    281290        }
    282291        $installed = array();
     292        $copiedLocalDir = \false;
    283293        if (self::$canGetVendors) {
     294            $selfDir = \strtr(__DIR__, '\\', '/');
    284295            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     296                $vendorDir = \strtr($vendorDir, '\\', '/');
    285297                if (isset(self::$installedByVendor[$vendorDir])) {
    286298                    $installed[] = self::$installedByVendor[$vendorDir];
     
    288300                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    289301                    $required = (require $vendorDir . '/composer/installed.php');
    290                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    291                     if (null === self::$installed && \strtr($vendorDir . '/composer', '\\', '/') === \strtr(__DIR__, '\\', '/')) {
    292                         self::$installed = $installed[\count($installed) - 1];
     302                    self::$installedByVendor[$vendorDir] = $required;
     303                    $installed[] = $required;
     304                    if (self::$installed === null && $vendorDir . '/composer' === $selfDir) {
     305                        self::$installed = $required;
     306                        self::$installedIsLocalDir = \true;
    293307                    }
     308                }
     309                if (self::$installedIsLocalDir && $vendorDir . '/composer' === $selfDir) {
     310                    $copiedLocalDir = \true;
    294311                }
    295312            }
     
    306323            }
    307324        }
    308         if (self::$installed !== array()) {
     325        if (self::$installed !== array() && !$copiedLocalDir) {
    309326            $installed[] = self::$installed;
    310327        }
  • stancer/trunk/vendor-prefixer/vendor/composer/installed.php

    r3158289 r3252105  
    33namespace Stancer\Scoped\Isolated;
    44
    5 return array('root' => array('name' => 'stancer/cms-woocommerce', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '9cd731d47f1933d089f896a1aad87955ce003191', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('psr/http-message' => array('pretty_version' => '1.1', 'version' => '1.1.0.0', 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'stancer/cms-woocommerce' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '9cd731d47f1933d089f896a1aad87955ce003191', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'stancer/stancer' => array('pretty_version' => 'v1.1.3', 'version' => '1.1.3.0', 'reference' => 'ebd111ebdce45aedbf9a892d47009098b99a99d0', 'type' => 'library', 'install_path' => __DIR__ . '/../stancer/stancer', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => 'stancer/cms-woocommerce', 'pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '9dd1c7d552ab0cd35640cf97c11ff45b38d99d1c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \false), 'versions' => array('psr/http-message' => array('pretty_version' => '1.1', 'version' => '1.1.0.0', 'reference' => 'cb6ce4845ce34a8ad9e68117c10ee90a29919eba', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '1.1.4', 'version' => '1.1.4.0', 'reference' => 'd49695b909c3b7628b6289db5479a1c204601f11', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'stancer/cms-woocommerce' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'reference' => '9dd1c7d552ab0cd35640cf97c11ff45b38d99d1c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'stancer/stancer' => array('pretty_version' => 'v1.1.3', 'version' => '1.1.3.0', 'reference' => 'ebd111ebdce45aedbf9a892d47009098b99a99d0', 'type' => 'library', 'install_path' => __DIR__ . '/../stancer/stancer', 'aliases' => array(), 'dev_requirement' => \false)));
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Auth/Status.php

    r3056912 r3252105  
    88 * List of a auth status.
    99 */
    10 #[Stancer\WillChange\PHP8_1\Enumeration]
     10#[\Stancer\WillChange\PHP8_1\Enumeration]
    1111class Status
    1212{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Card.php

    r3056912 r3252105  
    110110     * @return string|null
    111111     */
    112     #[Stancer\Core\Documentation\FormatProperty(description: 'Formatted brand name', restricted: true)]
     112    #[\Stancer\Core\Documentation\FormatProperty(description: 'Formatted brand name', restricted: \true)]
    113113    public function getBrandName() : ?string
    114114    {
     
    189189     * @return boolean
    190190     */
    191     #[Stancer\Core\Documentation\FormatProperty(fullDescription: 'Is the card tokenized?', type: self::BOOLEAN, value: false)]
     191    #[\Stancer\Core\Documentation\FormatProperty(fullDescription: 'Is the card tokenized?', type: self::BOOLEAN, value: \false)]
    192192    public function getTokenize() : bool
    193193    {
     
    254254     * @throws Stancer\Exceptions\InvalidCardNumberException When the card number is invalid.
    255255     */
    256     public function setNumber(
    257         #[\SensitiveParameter]
    258         string $number
    259     ) : self
     256    public function setNumber(#[\SensitiveParameter] string $number) : self
    260257    {
    261258        $spaceless = \preg_replace('/\\s/', '', $number);
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Config.php

    r3056912 r3252105  
    8585{
    8686    use Stancer\Traits\AliasTrait;
    87     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     87    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    8888    public const LIVE_MODE = 'live';
    89     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     89    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    9090    public const TEST_MODE = 'test';
    91     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     91    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    9292    public const VERSION = '1.1.3';
    9393    /** @var non-empty-array<string|null>[] */
     
    126126     * @param string[] $keys Authentication keys.
    127127     */
    128     public function __construct(
    129         #[\SensitiveParameter]
    130         array $keys
    131     )
     128    public function __construct(#[\SensitiveParameter] array $keys)
    132129    {
    133130        $this->setKeys($keys);
     
    161158     * @return string
    162159     */
    163     #[Stancer\Core\Documentation\FormatProperty(description: 'HTTP "basic" authentication header\'s value', nullable: false, restricted: true)]
     160    #[\Stancer\Core\Documentation\FormatProperty(description: 'HTTP "basic" authentication header\'s value', nullable: \false, restricted: \true)]
    164161    public function getBasicAuthHeader() : string
    165162    {
     
    171168     * @return Stancer\Core\Request\Call[]
    172169     */
    173     #[Stancer\Core\Documentation\FormatProperty(description: 'Request list recorded on debug mode', list: true, restricted: true, type: Stancer\Core\Request\Call::class)]
     170    #[\Stancer\Core\Documentation\FormatProperty(description: 'Request list recorded on debug mode', list: \true, restricted: \true, type: Stancer\Core\Request\Call::class)]
    174171    public function getCalls() : array
    175172    {
     
    181178     * @return boolean
    182179     */
    183     #[Stancer\Core\Documentation\FormatProperty(description: 'Debug mode', nullable: false, type: Stancer\Core\AbstractObject::BOOLEAN)]
     180    #[\Stancer\Core\Documentation\FormatProperty(description: 'Debug mode', nullable: \false, type: Stancer\Core\AbstractObject::BOOLEAN)]
    184181    public function getDebug() : bool
    185182    {
     
    194191     * @return DateTimeZone|null
    195192     */
    196     #[Stancer\Core\Documentation\FormatProperty(description: 'Default time zone', type: DateTimeZone::class)]
     193    #[\Stancer\Core\Documentation\FormatProperty(description: 'Default time zone', type: DateTimeZone::class)]
    197194    public function getDefaultTimeZone() : ?DateTimeZone
    198195    {
     
    204201     * @return string
    205202     */
    206     #[Stancer\Core\Documentation\FormatProperty(description: 'Default user agent', nullable: false, restricted: true)]
     203    #[\Stancer\Core\Documentation\FormatProperty(description: 'Default user agent', nullable: \false, restricted: \true)]
    207204    public function getDefaultUserAgent() : string
    208205    {
     
    240237     * @throws Stancer\Exceptions\InvalidArgumentException When no previous instance was stored (use `Config::init()`).
    241238     */
    242     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     239    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    243240    public static function getGlobal() : self
    244241    {
     
    255252     * @return string
    256253     */
    257     #[Stancer\Core\Documentation\FormatProperty(description: 'API host', nullable: false)]
     254    #[\Stancer\Core\Documentation\FormatProperty(description: 'API host', nullable: \false)]
    258255    public function getHost() : string
    259256    {
     
    269266     * @return Stancer\Http\Client|GuzzleHttp\ClientInterface
    270267     */
    271     #[Stancer\Core\Documentation\FormatProperty(description: 'HTTP client instance', nullable: false, type: [Stancer\Http\Client::class, GuzzleHttp\ClientInterface::class])]
    272     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\ReturnTypeWithUnion]
     268    #[\Stancer\Core\Documentation\FormatProperty(description: 'HTTP client instance', nullable: \false, type: [Stancer\Http\Client::class, GuzzleHttp\ClientInterface::class])]
     269    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\ReturnTypeWithUnion]
    273270    public function getHttpClient()
    274271    {
     
    285282     * @return Psr\Log\LoggerInterface
    286283     */
    287     #[Stancer\Core\Documentation\FormatProperty(description: 'Logger handler', nullable: false, type: Psr\Log\LoggerInterface::class)]
     284    #[\Stancer\Core\Documentation\FormatProperty(description: 'Logger handler', nullable: \false, type: Psr\Log\LoggerInterface::class)]
    288285    public function getLogger() : Psr\Log\LoggerInterface
    289286    {
     
    304301     * @return string
    305302     */
    306     #[Stancer\Core\Documentation\FormatProperty(description: 'API mode (test or live)', value: 'test')]
     303    #[\Stancer\Core\Documentation\FormatProperty(description: 'API mode (test or live)', value: 'test')]
    307304    public function getMode() : string
    308305    {
     
    318315     * @return integer
    319316     */
    320     #[Stancer\Core\Documentation\FormatProperty(description: 'API port', type: 'integer')]
     317    #[\Stancer\Core\Documentation\FormatProperty(description: 'API port', type: 'integer')]
    321318    public function getPort() : int
    322319    {
     
    329326     * @throws Stancer\Exceptions\MissingApiKeyException When no key is found.
    330327     */
    331     #[Stancer\Core\Documentation\FormatProperty(description: 'Public API key', nullable: false, restricted: true)]
     328    #[\Stancer\Core\Documentation\FormatProperty(description: 'Public API key', nullable: \false, restricted: \true)]
    332329    public function getPublicKey() : string
    333330    {
     
    350347     * @throws Stancer\Exceptions\MissingApiKeyException When no key is found.
    351348     */
    352     #[Stancer\Core\Documentation\FormatProperty(description: 'Secret API key', nullable: false, restricted: true)]
     349    #[\Stancer\Core\Documentation\FormatProperty(description: 'Secret API key', nullable: \false, restricted: \true)]
    353350    public function getSecretKey() : string
    354351    {
     
    372369     * @return integer
    373370     */
    374     #[Stancer\Core\Documentation\FormatProperty(description: 'API timeout', type: 'integer', value: 0)]
     371    #[\Stancer\Core\Documentation\FormatProperty(description: 'API timeout', type: 'integer', value: 0)]
    375372    public function getTimeout() : int
    376373    {
     
    384381     * @return string
    385382     */
    386     #[Stancer\Core\Documentation\FormatProperty(description: 'API URI', nullable: false, restricted: true)]
     383    #[\Stancer\Core\Documentation\FormatProperty(description: 'API URI', nullable: \false, restricted: \true)]
    387384    public function getUri() : string
    388385    {
     
    401398     * @return integer
    402399     */
    403     #[Stancer\Core\Documentation\FormatProperty(description: 'API version', nullable: false, type: 'integer')]
     400    #[\Stancer\Core\Documentation\FormatProperty(description: 'API version', nullable: \false, type: 'integer')]
    404401    public function getVersion() : int
    405402    {
     
    413410     * @return self
    414411     */
    415     public static function init(
    416         #[\SensitiveParameter]
    417         array $keys
    418     ) : self
     412    public static function init(#[\SensitiveParameter] array $keys) : self
    419413    {
    420414        $obj = new static($keys);
     
    559553     * @return $this
    560554     */
    561     public function setKeys(
    562         #[\SensitiveParameter]
    563         $keys
    564     ) : self
     555    public function setKeys(#[\SensitiveParameter] $keys) : self
    565556    {
    566557        if (!\is_array($keys)) {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Core/AbstractObject.php

    r3056912 r3252105  
    5050 * @throws Stancer\Exceptions\BadPropertyAccessException When calling an unknown property.
    5151 */
    52 #[Stancer\Core\Documentation\AddProperty('created', description: 'Creation date', restricted: true, type: DateTimeImmutable::class)]
     52#[\Stancer\Core\Documentation\AddProperty('created', description: 'Creation date', restricted: \true, type: DateTimeImmutable::class)]
    5353abstract class AbstractObject implements JsonSerializable
    5454{
    5555    use Stancer\Traits\AliasTrait;
    56     #[Stancer\WillChange\PHP8_1\FinalClassConstants]
    57     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     56    #[\Stancer\WillChange\PHP8_1\FinalClassConstants]
     57    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    5858    public const BOOLEAN = 'boolean';
    59     #[Stancer\WillChange\PHP8_1\FinalClassConstants]
    60     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     59    #[\Stancer\WillChange\PHP8_1\FinalClassConstants]
     60    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    6161    public const FLOAT = 'float';
    62     #[Stancer\WillChange\PHP8_1\FinalClassConstants]
    63     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     62    #[\Stancer\WillChange\PHP8_1\FinalClassConstants]
     63    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    6464    public const INTEGER = 'integer';
    65     #[Stancer\WillChange\PHP8_1\FinalClassConstants]
    66     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     65    #[\Stancer\WillChange\PHP8_1\FinalClassConstants]
     66    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    6767    public const STRING = 'string';
    6868    /** @var array<string, mixed> */
    6969    protected $apiData;
    7070    /** @var string */
    71     #[Stancer\WillChange\PHP8_1\FinalClassConstants]
    72     #[Stancer\WillChange\PHP8_3\TypedClassConstants]
     71    #[\Stancer\WillChange\PHP8_1\FinalClassConstants]
     72    #[\Stancer\WillChange\PHP8_3\TypedClassConstants]
    7373    protected $endpoint = '';
    7474    /**
     
    131131     * @throws Stancer\Exceptions\BadMethodCallException When an unhandled method is called.
    132132     */
    133     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     133    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    134134    public function __call(string $method, array $arguments)
    135135    {
     
    177177     * @return static
    178178     */
    179     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     179    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    180180    public static function create(array $data) : self
    181181    {
     
    194194     * @throws Stancer\Exceptions\InvalidArgumentException If used on properties not declared as list.
    195195     */
    196     #[Stancer\WillChange\PHP8_0\MixedType]
    197     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     196    #[\Stancer\WillChange\PHP8_0\MixedType]
     197    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    198198    protected function dataModelAdder(string $property, $value) : self
    199199    {
     
    224224     * @throws Stancer\Exceptions\InvalidArgumentException When asking an unknown property.
    225225     */
    226     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     226    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    227227    protected function dataModelGetter(string $property, bool $autoPopulate = \true)
    228228    {
     
    266266     * @throws Stancer\Exceptions\InvalidArgumentException When the value do not match expected pattern.
    267267     */
    268     #[Stancer\WillChange\PHP8_0\MixedType]
    269     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     268    #[\Stancer\WillChange\PHP8_0\MixedType]
     269    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    270270    protected function dataModelSetter(string $property, $value) : self
    271271    {
     
    312312     * @throws Stancer\Exceptions\InvalidArgumentException When configuration is missing.
    313313     */
    314     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     314    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    315315    public function delete() : self
    316316    {
     
    327327     * @return mixed
    328328     */
    329     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     329    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    330330    public function get(string $attr = null)
    331331    {
     
    344344     * @return DateTimeImmutable|null
    345345     */
    346     #[Stancer\Core\Documentation\FormatProperty(description: 'Creation date', restricted: true, type: DateTimeImmutable::class)]
     346    #[\Stancer\Core\Documentation\FormatProperty(description: 'Creation date', restricted: \true, type: DateTimeImmutable::class)]
    347347    public function getCreationDate() : ?DateTimeImmutable
    348348    {
     
    354354     * @return string
    355355     */
    356     #[Stancer\Core\Documentation\FormatProperty(description: 'API endpoint', nullable: false, restricted: true)]
     356    #[\Stancer\Core\Documentation\FormatProperty(description: 'API endpoint', nullable: \false, restricted: \true)]
    357357    public function getEndpoint() : string
    358358    {
     
    364364     * @return string
    365365     */
    366     #[Stancer\Core\Documentation\FormatProperty(description: 'Entity name', nullable: false, restricted: true)]
     366    #[\Stancer\Core\Documentation\FormatProperty(description: 'Entity name', nullable: \false, restricted: \true)]
    367367    public function getEntityName() : string
    368368    {
     
    376376     * @return string|null
    377377     */
    378     #[Stancer\Core\Documentation\FormatProperty(description: 'Object ID', restricted: true)]
     378    #[\Stancer\Core\Documentation\FormatProperty(description: 'Object ID', restricted: \true)]
    379379    public function getId() : ?string
    380380    {
     
    408408     * @return string
    409409     */
    410     #[Stancer\Core\Documentation\FormatProperty(description: 'Entity resource location', nullable: false, restricted: true)]
     410    #[\Stancer\Core\Documentation\FormatProperty(description: 'Entity resource location', nullable: \false, restricted: \true)]
    411411    public function getUri() : string
    412412    {
     
    426426     * @return $this
    427427     */
    428     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     428    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    429429    public function hydrate(array $data) : self
    430430    {
     
    575575     * @return string|integer|boolean|null|array<string, mixed>
    576576     */
    577     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     577    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    578578    public function jsonSerialize()
    579579    {
     
    625625     * @return $this
    626626     */
    627     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     627    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    628628    public function populate() : self
    629629    {
     
    658658     * @return static
    659659     */
    660     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     660    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    661661    public static function retrieve(string $id) : self
    662662    {
     
    671671     * @throws Stancer\Exceptions\InvalidArgumentException When all requirement are not provided.
    672672     */
    673     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     673    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    674674    public function send() : self
    675675    {
     
    758758     * @throws Stancer\Exceptions\InvalidArgumentException When the value do not match expected pattern.
    759759     */
    760     #[Stancer\WillChange\PHP8_0\MixedType]
    761     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     760    #[\Stancer\WillChange\PHP8_0\MixedType]
     761    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    762762    protected function validateDataModel(string $property, $value) : self
    763763    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Core/Documentation/AddMethod.php

    r3056912 r3252105  
    88 * Attribute to add documentation data on a method.
    99 */
    10 #[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
     10#[\Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
    1111class AddMethod
    1212{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Core/Documentation/AddProperty.php

    r3056912 r3252105  
    99 * Attribute to add documentation data on a property.
    1010 */
    11 #[Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
     11#[\Attribute(Attribute::TARGET_CLASS | Attribute::IS_REPEATABLE)]
    1212class AddProperty
    1313{
     
    2828     * @param mixed $value Property default value.
    2929     */
    30     #[Stancer\WillChange\PHP8_0\UnionType]
    31     #[Stancer\WillChange\PHP8_0\MixedType]
     30    #[\Stancer\WillChange\PHP8_0\UnionType]
     31    #[\Stancer\WillChange\PHP8_0\MixedType]
    3232    public function __construct(protected string $name, protected ?string $description = null, protected ?string $fullDescription = null, protected $getter = null, protected ?bool $list = null, protected ?bool $nullable = null, protected $property = null, protected ?bool $required = null, protected ?bool $restricted = null, protected $setter = null, protected $type = null, protected $value = null)
    3333    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Core/Documentation/FormatProperty.php

    r3056912 r3252105  
    99 * Attribute to add documentation data on a property or a method.
    1010 */
    11 #[Attribute(Attribute::TARGET_METHOD)]
     11#[\Attribute(Attribute::TARGET_METHOD)]
    1212class FormatProperty
    1313{
     
    2727     * @param mixed $value Property default value.
    2828     */
    29     #[Stancer\WillChange\PHP8_0\UnionType]
    30     #[Stancer\WillChange\PHP8_0\MixedType]
     29    #[\Stancer\WillChange\PHP8_0\UnionType]
     30    #[\Stancer\WillChange\PHP8_0\MixedType]
    3131    public function __construct(protected ?string $description = null, protected ?string $fullDescription = null, protected $getter = null, protected ?bool $list = null, protected ?bool $nullable = null, protected $property = null, protected ?bool $required = null, protected ?bool $restricted = null, protected $setter = null, protected $type = null, protected $value = null)
    3232    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Customer.php

    r3056912 r3252105  
    6565     *    or a phone number.
    6666     */
    67     #[Override]
     67    #[\Override]
    6868    public function send() : Stancer\Core\AbstractObject
    6969    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Exceptions/Exception.php

    r3056912 r3252105  
    3535     * @phpstan-param CreateExceptionParameters $params
    3636     */
    37     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     37    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    3838    public static function create(array $params = []) : self
    3939    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Exceptions/HttpException.php

    r3056912 r3252105  
    4646     * @phpstan-param CreateExceptionParameters $params
    4747     */
    48     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     48    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    4949    public static function create(array $params = []) : Exception
    5050    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Http/Client.php

    r3056912 r3252105  
    1212{
    1313    /** @var resource */
    14     #[Stancer\WillChange\PHP8_0\CurlHandler]
     14    #[\Stancer\WillChange\PHP8_0\CurlHandler]
    1515    protected $curl;
    1616    /**
     
    4646     * @return resource
    4747     */
    48     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\CurlHandler]
     48    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\CurlHandler]
    4949    public function getCurlResource()
    5050    {
     
    8989     * @return integer
    9090     */
    91     #[Stancer\WillChange\PHP8_0\CurlHandler]
     91    #[\Stancer\WillChange\PHP8_0\CurlHandler]
    9292    public function parseHeaderLine($curl, string $line) : int
    9393    {
     
    133133     *   Request options to apply.
    134134     */
    135     #[Stancer\WillChange\PHP8_0\MatchExpression]
     135    #[\Stancer\WillChange\PHP8_0\MatchExpression]
    136136    public function request(string $method, string $uri, array $options = []) : Psr\Http\Message\ResponseInterface
    137137    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Http/MessageTrait.php

    r3056912 r3252105  
    152152     * @return static
    153153     */
    154     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     154    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    155155    public function withAddedHeader($name, $value) : Psr\Http\Message\MessageInterface
    156156    {
     
    164164     * @return static
    165165     */
    166     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     166    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    167167    public function withBody(Psr\Http\Message\StreamInterface $body) : Psr\Http\Message\MessageInterface
    168168    {
     
    178178     * @return static
    179179     */
    180     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     180    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    181181    public function withHeader($name, $value) : Psr\Http\Message\MessageInterface
    182182    {
     
    190190     * @return static
    191191     */
    192     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     192    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    193193    public function withModifiedBody($in = '', $out = '') : Psr\Http\Message\MessageInterface
    194194    {
     
    205205     * @return static
    206206     */
    207     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     207    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    208208    public function withoutHeader($name) : Psr\Http\Message\MessageInterface
    209209    {
     
    217217     * @return static
    218218     */
    219     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     219    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    220220    public function withProtocolVersion($version) : Psr\Http\Message\MessageInterface
    221221    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Http/Request.php

    r3056912 r3252105  
    131131     * @return static
    132132     */
    133     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     133    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    134134    public function withMethod($method) : self
    135135    {
     
    146146     * @return static
    147147     */
    148     #[Stancer\WillChange\PHP8_0\MixedType]
    149     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     148    #[\Stancer\WillChange\PHP8_0\MixedType]
     149    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    150150    public function withRequestTarget($requestTarget) : self
    151151    {
     
    190190     * @throws Stancer\Exceptions\BadMethodCallException For every call.
    191191     */
    192     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     192    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    193193    public function withUri(Psr\Http\Message\UriInterface $uri, $preserveHost = \false) : self
    194194    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Http/Response.php

    r3056912 r3252105  
    9797     * @return static
    9898     */
    99     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     99    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    100100    public function withStatus($code, $reasonPhrase = '') : self
    101101    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Http/Uri.php

    r3056912 r3252105  
    362362     * @return static A new instance with the specified fragment.
    363363     */
    364     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     364    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    365365    public function withFragment($fragment) : self
    366366    {
     
    380380     * @return static A new instance with the specified host.
    381381     */
    382     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     382    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    383383    public function withHost($host) : self
    384384    {
     
    408408     * @return static A new instance with the specified path.
    409409     */
    410     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     410    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    411411    public function withPath($path) : self
    412412    {
     
    431431     * @return static A new instance with the specified port.
    432432     */
    433     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     433    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    434434    public function withPort($port) : self
    435435    {
     
    452452     * @return static A new instance with the specified query string.
    453453     */
    454     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     454    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    455455    public function withQuery($query) : self
    456456    {
     
    473473     * @return static A new instance with the specified scheme.
    474474     */
    475     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     475    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    476476    public function withScheme($scheme) : self
    477477    {
     
    494494     * @return static A new instance with the specified user information.
    495495     */
    496     #[\ReturnTypeWillChange, Stancer\WillChange\PHP8_0\StaticReturnType]
     496    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\StaticReturnType]
    497497    public function withUserInfo($user, $password = null) : self
    498498    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Payment.php

    r3056912 r3252105  
    138138 * @property-read string $uri Entity resource location.
    139139 */
    140 #[Stancer\Core\Documentation\AddMethod('addRefunds', ['Stancer\Refund $refund'], '$this', stan: true)]
    141 #[Stancer\Core\Documentation\AddMethod('list', ['SearchFilters $terms'], 'static Generator<static>')]
    142 #[Stancer\Core\Documentation\AddProperty('auth', property: ['type' => [Stancer\Auth::class, 'bool', 'string']], setter: ['type' => [Stancer\Auth::class, 'bool', 'string']])]
    143 #[Stancer\Core\Documentation\AddProperty('refunds', restricted: true)]
     140#[\Stancer\Core\Documentation\AddMethod('addRefunds', ['Stancer\\Refund $refund'], '$this', stan: \true)]
     141#[\Stancer\Core\Documentation\AddMethod('list', ['SearchFilters $terms'], 'static Generator<static>')]
     142#[\Stancer\Core\Documentation\AddProperty('auth', property: ['type' => [Stancer\Auth::class, 'bool', 'string']], setter: ['type' => [Stancer\Auth::class, 'bool', 'string']])]
     143#[\Stancer\Core\Documentation\AddProperty('refunds', restricted: \true)]
    144144class Payment extends Stancer\Core\AbstractObject
    145145{
     
    152152     * @phpstan-var array<string, DataModel>
    153153     */
    154     #[Stancer\WillChange\PHP8_1\Enumeration('Currency will change')]
    155     #[Stancer\WillChange\PHP8_1\Enumeration('Methods allowed will change')]
     154    #[\Stancer\WillChange\PHP8_1\Enumeration('Currency will change')]
     155    #[\Stancer\WillChange\PHP8_1\Enumeration('Methods allowed will change')]
    156156    protected $dataModel = ['amount' => ['desc' => 'Transaction amount', 'required' => \true, 'type' => self::INTEGER], 'auth' => ['desc' => 'Auth object, must be set for 3-D Secure card payments', 'type' => Stancer\Auth::class], 'capture' => ['desc' => 'Capture immediately the payment', 'type' => self::BOOLEAN], 'card' => ['desc' => 'Card object', 'type' => Stancer\Card::class], 'country' => ['type' => self::STRING], 'currency' => ['desc' => 'Processed currency', 'allowedValues' => ['aud', 'cad', 'chf', 'dkk', 'eur', 'gbp', 'jpy', 'nok', 'pln', 'sek', 'usd'], 'coerce' => Stancer\Core\Type\Helper::TO_LOWER, 'required' => \true, 'type' => self::STRING], 'customer' => ['desc' => 'Customer object', 'type' => Stancer\Customer::class], 'dateBank' => ['desc' => 'Delivery date of the funds traded by the bank', 'restricted' => \true, 'type' => DateTimeImmutable::class], 'description' => ['desc' => 'Payment description', 'size' => ['min' => 3, 'max' => 64], 'type' => self::STRING], 'device' => ['desc' => 'Customer\'s device object', 'type' => Stancer\Device::class], 'method' => ['desc' => 'Payment method used', 'restricted' => \true, 'type' => self::STRING], 'methodsAllowed' => ['desc' => 'List of payment methods allowed for this payment', 'allowedValues' => ['card', 'sepa'], 'list' => \true, 'type' => self::STRING], 'orderId' => ['desc' => 'Order identifier', 'size' => ['min' => 1, 'max' => 36], 'type' => self::STRING], 'refunds' => ['desc' => 'Array of refund objects', 'exportable' => \false, 'list' => \true, 'type' => Stancer\Refund::class], 'response' => ['desc' => 'Response of the bank processing', 'restricted' => \true, 'size' => ['min' => 2, 'max' => 4], 'type' => self::STRING], 'responseAuthor' => ['restricted' => \true, 'size' => ['fixed' => 6], 'type' => self::STRING], 'returnUrl' => ['desc' => 'URL to redirect back your customer after processing the payment', 'size' => ['min' => 1, 'max' => 2048], 'type' => self::STRING], 'sepa' => ['desc' => 'SEPA object', 'type' => Stancer\Sepa::class], 'status' => ['desc' => 'Status of the payment', 'type' => self::STRING], 'uniqueId' => ['desc' => 'Unicity key', 'size' => ['min' => 1, 'max' => 36], 'type' => self::STRING]];
    157157    /**
     
    226226     * @phpstan-return $this
    227227     */
    228     #[Override]
     228    #[\Override]
    229229    public function delete() : Stancer\Core\AbstractObject
    230230    {
     
    460460     * @throws Stancer\Exceptions\InvalidExpirationException When card's expiration is invalid.
    461461     */
    462     #[Override]
     462    #[\Override]
    463463    public function send() : Stancer\Core\AbstractObject
    464464    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Payment/Status.php

    r3056912 r3252105  
    88 * List of a payment status.
    99 */
    10 #[Stancer\WillChange\PHP8_1\Enumeration]
     10#[\Stancer\WillChange\PHP8_1\Enumeration]
    1111class Status
    1212{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Payout.php

    r3056912 r3252105  
    8888     * @phpstan-param PayoutResponse $data
    8989     */
    90     #[Override]
     90    #[\Override]
    9191    public function hydrate(array $data) : self
    9292    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Payout/Details.php

    r3056912 r3252105  
    4646 * @property-read string $uri Entity resource location.
    4747 */
    48 #[Stancer\Core\Documentation\AddMethod('disputes', ['array $terms'], '\Generator<Stancer\Dispute>', description: 'List every disputes in the payout.')]
    49 #[Stancer\Core\Documentation\AddMethod('listDisputes', ['array $terms'], '\Generator<Stancer\Dispute>', description: 'List every disputes in the payout.')]
    50 #[Stancer\Core\Documentation\AddMethod('listDisputes', ['SearchFilters $terms'], '\Generator<Stancer\Dispute>', description: 'List every disputes in the payout.', stan: true)]
    51 #[Stancer\Core\Documentation\AddMethod('payments', ['array $terms'], '\Generator<Stancer\Payment>', description: 'List every payments in the payout.')]
    52 #[Stancer\Core\Documentation\AddMethod('listPayments', ['array $terms'], '\Generator<Stancer\Payment>', description: 'List every payments in the payout.')]
    53 #[Stancer\Core\Documentation\AddMethod('listPayments', ['SearchFilters $terms'], '\Generator<Stancer\Payment>', description: 'List every payments in the payout.', stan: true)]
    54 #[Stancer\Core\Documentation\AddMethod('refunds', ['array $terms'], '\Generator<Stancer\Refund>', description: 'List every refunds in the payout.')]
    55 #[Stancer\Core\Documentation\AddMethod('listRefunds', ['array $terms'], '\Generator<Stancer\Refund>', description: 'List every refunds in the payout.')]
    56 #[Stancer\Core\Documentation\AddMethod('listRefunds', ['SearchFilters $terms'], '\Generator<Stancer\Refund>', description: 'List every refunds in the payout.', stan: true)]
     48#[\Stancer\Core\Documentation\AddMethod('disputes', ['array $terms'], '\\Generator<Stancer\\Dispute>', description: 'List every disputes in the payout.')]
     49#[\Stancer\Core\Documentation\AddMethod('listDisputes', ['array $terms'], '\\Generator<Stancer\\Dispute>', description: 'List every disputes in the payout.')]
     50#[\Stancer\Core\Documentation\AddMethod('listDisputes', ['SearchFilters $terms'], '\\Generator<Stancer\\Dispute>', description: 'List every disputes in the payout.', stan: \true)]
     51#[\Stancer\Core\Documentation\AddMethod('payments', ['array $terms'], '\\Generator<Stancer\\Payment>', description: 'List every payments in the payout.')]
     52#[\Stancer\Core\Documentation\AddMethod('listPayments', ['array $terms'], '\\Generator<Stancer\\Payment>', description: 'List every payments in the payout.')]
     53#[\Stancer\Core\Documentation\AddMethod('listPayments', ['SearchFilters $terms'], '\\Generator<Stancer\\Payment>', description: 'List every payments in the payout.', stan: \true)]
     54#[\Stancer\Core\Documentation\AddMethod('refunds', ['array $terms'], '\\Generator<Stancer\\Refund>', description: 'List every refunds in the payout.')]
     55#[\Stancer\Core\Documentation\AddMethod('listRefunds', ['array $terms'], '\\Generator<Stancer\\Refund>', description: 'List every refunds in the payout.')]
     56#[\Stancer\Core\Documentation\AddMethod('listRefunds', ['SearchFilters $terms'], '\\Generator<Stancer\\Refund>', description: 'List every refunds in the payout.', stan: \true)]
    5757class Details extends Stancer\Core\AbstractObject
    5858{
     
    7272     * @throws Stancer\Exceptions\BadMethodCallException When an unhandled method is called.
    7373     */
    74     #[Override]
    75     #[ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     74    #[\Override]
     75    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    7676    public function __call(string $method, array $arguments)
    7777    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Payout/Details/Inner.php

    r3056912 r3252105  
    8181     * @return string
    8282     */
    83     #[Stancer\Core\Documentation\FormatProperty(description: 'Current resource location', nullable: false, restricted: true, type: self::STRING)]
     83    #[\Stancer\Core\Documentation\FormatProperty(description: 'Current resource location', nullable: \false, restricted: \true, type: self::STRING)]
    8484    public function getUri() : string
    8585    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Payout/Status.php

    r3056912 r3252105  
    88 * List of a payout status.
    99 */
    10 #[Stancer\WillChange\PHP8_1\Enumeration]
     10#[\Stancer\WillChange\PHP8_1\Enumeration]
    1111class Status
    1212{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Refund.php

    r3056912 r3252105  
    5353 * @property-read string $uri Entity resource location.
    5454 */
    55 #[Stancer\Core\Documentation\AddMethod('setPayment', ['Stancer\Payment $payment'], '$this', stan: true)]
     55#[\Stancer\Core\Documentation\AddMethod('setPayment', ['Stancer\\Payment $payment'], '$this', stan: \true)]
    5656class Refund extends Stancer\Core\AbstractObject
    5757{
     
    7272     * @return boolean
    7373     */
    74     #[Override]
     74    #[\Override]
    7575    public function isModified() : bool
    7676    {
     
    8585     * @throws Stancer\Exceptions\InvalidArgumentException When all requirement are not provided.
    8686     */
    87     #[Override]
     87    #[\Override]
    8888    public function send() : Stancer\Core\AbstractObject
    8989    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Refund/Status.php

    r3056912 r3252105  
    88 * List of a refund status.
    99 */
    10 #[Stancer\WillChange\PHP8_1\Enumeration]
     10#[\Stancer\WillChange\PHP8_1\Enumeration]
    1111class Status
    1212{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Sepa.php

    r3056912 r3252105  
    8383     * @return Stancer\Sepa\Check|null
    8484     */
    85     #[Stancer\WillChange\PHP8_0\NonCapturingCatch]
     85    #[\Stancer\WillChange\PHP8_0\NonCapturingCatch]
    8686    public function getCheck() : ?Stancer\Sepa\Check
    8787    {
     
    104104     * @return string|null
    105105     */
    106     #[Stancer\Core\Documentation\FormatProperty(description: 'Formatted IBAN', required: true, restricted: true)]
     106    #[\Stancer\Core\Documentation\FormatProperty(description: 'Formatted IBAN', required: \true, restricted: \true)]
    107107    public function getFormattedIban() : ?string
    108108    {
     
    137137     * @throws Stancer\Exceptions\InvalidIbanException When IBAN is invalid.
    138138     */
    139     public function setIban(
    140         #[\SensitiveParameter]
    141         string $iban
    142     ) : self
     139    public function setIban(#[\SensitiveParameter] string $iban) : self
    143140    {
    144141        $iban = \str_replace(' ', '', $iban);
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Sepa/Check.php

    r3056912 r3252105  
    7777     * @return string|integer|boolean|null|array<string, mixed>
    7878     */
    79     #[Override]
    80     #[ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     79    #[\Override]
     80    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    8181    public function jsonSerialize()
    8282    {
     
    9696     * @throws Stancer\Exceptions\InvalidArgumentException When all requirement are not provided.
    9797     */
    98     #[Override]
     98    #[\Override]
    9999    public function send() : Stancer\Core\AbstractObject
    100100    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Sepa/Check/Status.php

    r3056912 r3252105  
    88 * List of a sepa check status.
    99 */
    10 #[Stancer\WillChange\PHP8_1\Enumeration]
     10#[\Stancer\WillChange\PHP8_1\Enumeration]
    1111class Status
    1212{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Traits/AliasTrait.php

    r3056912 r3252105  
    1919     * @throws Stancer\Exceptions\BadMethodCallException When an unhandled method is called.
    2020     */
    21     #[ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     21    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    2222    public function __call(string $method, array $arguments)
    2323    {
     
    4343     * @throws Stancer\Exceptions\BadMethodCallException When an unhandled method is called.
    4444     */
    45     #[ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     45    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    4646    public static function __callStatic(string $method, array $arguments)
    4747    {
     
    5959     * @return mixed
    6060     */
    61     #[ReturnTypeWillChange, Stancer\WillChange\PHP8_0\MixedType]
     61    #[\ReturnTypeWillChange, \Stancer\WillChange\PHP8_0\MixedType]
    6262    public function __get(string $property)
    6363    {
     
    8383     * @throws Stancer\Exceptions\BadPropertyAccessException When an unhandled property is called.
    8484     */
    85     #[Stancer\WillChange\PHP8_0\MixedType]
     85    #[\Stancer\WillChange\PHP8_0\MixedType]
    8686    public function __set(string $property, $value) : void
    8787    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/Traits/SearchTrait.php

    r3056912 r3252105  
    167167     * @phpstan-param class-string<Stancer\Exceptions\Exception> $exception Exception to throw.
    168168     */
    169     #[Stancer\WillChange\PHP8_0\MixedType]
     169    #[\Stancer\WillChange\PHP8_0\MixedType]
    170170    protected static function validateDateRelativeFilter($value, string $name, string $exception, bool $allowPeriod = \false) : int
    171171    {
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/Base.php

    r3056912 r3252105  
    77 * Base class for migration attributes.
    88 */
    9 #[PHP8_0\ConstructorPropertyPromotion]
     9#[\Stancer\WillChange\PHP8_0\ConstructorPropertyPromotion]
    1010class Base
    1111{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/ConstructorPropertyPromotion.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/en/language.oop5.decon.php#language.oop5.decon.constructor.promotion
    1111 */
    12 #[Attribute(Attribute::TARGET_CLASS)]
     12#[\Attribute(Attribute::TARGET_CLASS)]
    1313final class ConstructorPropertyPromotion extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/CurlHandler.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/fr/class.curlhandle.php
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class CurlHandler extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/MatchExpression.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/en/control-structures.match.php
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class MatchExpression extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/MixedType.php

    r3056912 r3252105  
    1010 * @see https://wiki.php.net/rfc/mixed_type_v2
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class MixedType extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/NonCapturingCatch.php

    r3056912 r3252105  
    1010 * @see https://wiki.php.net/rfc/non-capturing_catches
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class NonCapturingCatch extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/ReturnTypeWithUnion.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.union
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class ReturnTypeWithUnion extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/StaticReturnType.php

    r3056912 r3252105  
    1010 * @see https://wiki.php.net/rfc/static_return_type
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class StaticReturnType extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_0/UnionType.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.union
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class UnionType extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_1/Enumeration.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/en/language.enumerations.php
    1111 */
    12 #[Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_ALL)]
     12#[\Attribute(Attribute::IS_REPEATABLE | Attribute::TARGET_ALL)]
    1313final class Enumeration extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_1/FinalClassConstants.php

    r3056912 r3252105  
    1010 * @see https://www.php.net/manual/en/language.oop5.final.php#language.oop5.final.example.php81
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class FinalClassConstants extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_1/NewInInitializers.php

    r3056912 r3252105  
    1010 * @see https://wiki.php.net/rfc/new_in_initializers
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class NewInInitializers extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/WillChange/PHP8_3/TypedClassConstants.php

    r3056912 r3252105  
    1010 * @see https://wiki.php.net/rfc/typed_class_constants
    1111 */
    12 #[Attribute]
     12#[\Attribute]
    1313final class TypedClassConstants extends Base
    1414{
  • stancer/trunk/vendor-prefixer/vendor/stancer/stancer/src/polyfill.php

    r3056912 r3252105  
    1515    // Attributes are available since PHP8, before they will be seen as comments.
    1616    if (!\class_exists('ReturnTypeWillChange')) {
    17         #[Attribute(Attribute::TARGET_METHOD)]
     17        #[\Attribute(\Attribute::TARGET_METHOD)]
    1818        final class ReturnTypeWillChange
    1919        {
     
    2121    }
    2222    if (!\class_exists('Stancer\\Scoped\\Isolated\\SensitiveParameter')) {
    23         #[Attribute(Attribute::TARGET_PARAMETER)]
     23        #[\Attribute(\Attribute::TARGET_PARAMETER)]
    2424        final class SensitiveParameter
    2525        {
     
    2727    }
    2828    if (!\class_exists('Stancer\\Scoped\\Isolated\\Override')) {
    29         #[Attribute(Attribute::TARGET_METHOD)]
     29        #[\Attribute(\Attribute::TARGET_METHOD)]
    3030        final class Override
    3131        {
Note: See TracChangeset for help on using the changeset viewer.