Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/rector/rector/stubs-rector/Internal/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/rector/rector/stubs-rector/Internal/NativeClasses.php
<?php

if (PHP_VERSION_ID < 80000 && ! class_exists('ReflectionUnionType', false)) {
    class ReflectionUnionType extends ReflectionType
    {
        /** @return ReflectionType[] */
        public function getTypes()
        {
            return [];
        }
    }
}

if (PHP_VERSION_ID < 80000 && ! class_exists('Attribute', false)) {
    #[Attribute(Attribute::TARGET_CLASS)]
    class Attribute
    {

        /** @var int */
        public $flags;

        /**
         * Marks that attribute declaration is allowed only in classes.
         */
        const TARGET_CLASS = 1;

        /**
         * Marks that attribute declaration is allowed only in functions.
         */
        const TARGET_FUNCTION = 1 << 1;

        /**
         * Marks that attribute declaration is allowed only in class methods.
         */
        const TARGET_METHOD = 1 << 2;

        /**
         * Marks that attribute declaration is allowed only in class properties.
         */
        const TARGET_PROPERTY = 1 << 3;

        /**
         * Marks that attribute declaration is allowed only in class constants.
         */
        const TARGET_CLASS_CONSTANT = 1 << 4;

        /**
         * Marks that attribute declaration is allowed only in function or method parameters.
         */
        const TARGET_PARAMETER = 1 << 5;

        /**
         * Marks that attribute declaration is allowed anywhere.
         */
        const TARGET_ALL = (1 << 6) - 1;

        /**
         * Notes that an attribute declaration in the same place is
         * allowed multiple times.
         */
        const IS_REPEATABLE = 1 << 6;

        /**
         * @param int $flags A value in the form of a bitmask indicating the places
         * where attributes can be defined.
         */
        public function __construct($flags = self::TARGET_ALL)
        {
            $this->flags = $flags;
        }

    }
}

if (PHP_VERSION_ID < 80100 && ! class_exists('ReturnTypeWillChange', false)) {
    #[Attribute(Attribute::TARGET_METHOD)]
    final class ReturnTypeWillChange
    {
    }
}

Spamworldpro Mini