Plugin Directory

Changeset 3082046

Timestamp:
05/06/2024 04:57:36 PM (3 months ago)
Author:
stevejonesdev
Message:

release v1.11.2

Location:
accessibility-checker
Files:
2 deleted
26 edited
1 copied

Legend:

Unmodified
Added
Removed
  • accessibility-checker/tags/1.11.2/accessibility-checker.php

    r3081378 r3082046  
    1111 * Plugin URI:        https://a11ychecker.com
    1212 * Description:       Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance.
    13  * Version:           1.11.1
     13 * Version:           1.11.
    1414 * Author:            Equalize Digital
    1515 * Author URI:        https://equalizedigital.com
     
    2727}
    2828
    29 // Check for WordPress Playground.
    30 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-playground-check.php';
    31 if ( ! ( new EDAC\Inc\Playground_Check() )->should_load ) {
    32     return;
    33 }
    34 
    3529// Include plugin dependency.
    3630require_once ABSPATH . 'wp-admin/includes/plugin.php';
     
    4236// Current plugin version.
    4337if ( ! defined( 'EDAC_VERSION' ) ) {
    44     define( 'EDAC_VERSION', '1.11.1' );
     38    define( 'EDAC_VERSION', '1.11.' );
    4539}
    4640
  • accessibility-checker/tags/1.11.2/admin/class-admin-notices.php

    r3081378 r3082046  
    111111
    112112    /**
    113      * Get GAAD Promo Message
     113     * Get Promo Message
    114114     *
    115115     * @return string
     
    217217
    218218    /**
    219      * Review Admin Notice Ajax
     219     * Admin Notice Ajax
    220220     *
    221221     * @return void
     
    380380
    381381    /**
    382      * Review Admin Notice Ajax
     382     * Admin Notice Ajax
    383383     *
    384384     * @return void
  • accessibility-checker/tags/1.11.2/includes/classes/class-summary-generator.php

    r3080015 r3082046  
    292292        }
    293293
    294         return $content_grade;
     294        return ;
    295295    }
    296296
  • accessibility-checker/tags/1.11.2/readme.txt

    r3081378 r3082046  
    44Requires at least: 6.2
    55Tested up to: 6.5.2
    6 Stable tag: 1.11.1
     6Stable tag: 1.11.
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    172172== Changelog ==
    173173
    174 + 1.11.1 =
     174= 1.11.2
     175* Fixed: Avoid displaying `0th` for readability score
     176* Removed: Some custom WP Playground detection code
     177
     178= 1.11.1 =
    175179* Fixed: type Casting on several rules
    176180* Fixed: strict data comparison on several rules
  • accessibility-checker/tags/1.11.2/vendor/autoload.php

    r3081378 r3082046  
    33// autoload.php @generated by Composer
    44
    5 if (PHP_VERSION_ID < 50600) {
    6     if (!headers_sent()) {
    7         header('HTTP/1.1 500 Internal Server Error');
    8     }
    9     $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
    10     if (!ini_get('display_errors')) {
    11         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
    12             fwrite(STDERR, $err);
    13         } elseif (!headers_sent()) {
    14             echo $err;
    15         }
    16     }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
    21 }
    22 
    235require_once __DIR__ . '/composer/autoload_real.php';
    246
    25 return ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • accessibility-checker/tags/1.11.2/vendor/composer/ClassLoader.php

    r3081378 r3082046  
    4343class ClassLoader
    4444{
    45     /** @var \Closure(string):void */
    46     private static $includeFile;
    47 
    4845    /** @var ?string */
    4946    private $vendorDir;
     
    110107    {
    111108        $this->vendorDir = $vendorDir;
    112         self::initializeIncludeClosure();
    113109    }
    114110
     
    154150    /**
    155151     * @return string[] Array of classname => path
    156      * @psalm-return array<string, string>
     152     * @psalm- array<string, string>
    157153     */
    158154    public function getClassMap()
     
    430426    {
    431427        if ($file = $this->findFile($class)) {
    432             $includeFile = self::$includeFile;
    433             $includeFile($file);
     428            includeFile($file);
    434429
    435430            return true;
     
    561556        return false;
    562557    }
    563 
    564     /**
    565      * @return void
    566      */
    567     private static function initializeIncludeClosure()
    568     {
    569         if (self::$includeFile !== null) {
    570             return;
    571         }
    572 
    573         /**
    574          * Scope isolated include.
    575          *
    576          * Prevents access to $this/self from included files.
    577          *
    578          * @param  string $file
    579          * @return void
    580          */
    581         self::$includeFile = \Closure::bind(static function($file) {
    582             include $file;
    583         }, null, null);
    584     }
    585558}
     559
     560
     561
     562
     563
     564
     565
     566
     567
     568
     569
     570
     571
     572
  • accessibility-checker/tags/1.11.2/vendor/composer/InstalledVersions.php

    r3081378 r3082046  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
    24  *
    25  * @final
    2624 */
    2725class InstalledVersions
     
    2927    /**
    3028     * @var mixed[]|null
    31      * @psalm-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[]}>}|array{}|null
     29     * @psalm-var array{root: array{name: string, }>}|array{}|null
    3230     */
    3331    private static $installed;
     
    4038    /**
    4139     * @var array[]
    42      * @psalm-var array<string, 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[]}>}>
     40     * @psalm-var array<string, array{root: array{name: string, }>}>
    4341     */
    4442    private static $installedByVendor = array();
     
    9997        foreach (self::getInstalled() as $installed) {
    10098            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
     99                return $includeDevRequirements || ;
    102100            }
    103101        }
     
    120118    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121119    {
    122         $constraint = $parser->parseConstraints((string) $constraint);
     120        $constraint = $parser->parseConstraints($constraint);
    123121        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124122
     
    244242    /**
    245243     * @return array
    246      * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
     244     * @psalm-return array{name: string, }
    247245     */
    248246    public static function getRootPackage()
     
    258256     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    259257     * @return array[]
    260      * @psalm-return 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[]}>}
     258     * @psalm-return array{root: array{name: string, }>}
    261259     */
    262260    public static function getRawData()
     
    281279     *
    282280     * @return array[]
    283      * @psalm-return list<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[]}>}>
     281     * @psalm-return list<array{root: array{name: string, }>}>
    284282     */
    285283    public static function getAllRawData()
     
    304302     * @return void
    305303     *
    306      * @psalm-param 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[]}>} $data
     304     * @psalm-param array{root: array{name: string, }>} $data
    307305     */
    308306    public static function reload($data)
     
    314312    /**
    315313     * @return array[]
    316      * @psalm-return list<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[]}>}>
     314     * @psalm-return list<array{root: array{name: string, }>}>
    317315     */
    318316    private static function getInstalled()
     
    329327                    $installed[] = self::$installedByVendor[$vendorDir];
    330328                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     /** @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 */
    332                     $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
     329                    $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
    334330                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335331                        self::$installed = $installed[count($installed) - 1];
     
    343339            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    344340            if (substr(__DIR__, -8, 1) !== 'C') {
    345                 /** @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 */
    346                 $required = require __DIR__ . '/installed.php';
    347                 self::$installed = $required;
     341                self::$installed = require __DIR__ . '/installed.php';
    348342            } else {
    349343                self::$installed = array();
    350344            }
    351345        }
    352 
    353         if (self::$installed !== array()) {
    354             $installed[] = self::$installed;
    355         }
     346        $installed[] = self::$installed;
    356347
    357348        return $installed;
  • accessibility-checker/tags/1.11.2/vendor/composer/autoload_classmap.php

    r3081378 r3082046  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname();
    66$baseDir = dirname($vendorDir);
    77
     
    141141    'EDAC\\Inc\\Frontend_Validate' => $baseDir . '/includes/classes/class-frontend-validate.php',
    142142    'EDAC\\Inc\\Lazyload_Filter' => $baseDir . '/includes/classes/class-lazyload-filter.php',
    143     'EDAC\\Inc\\Playground_Check' => $baseDir . '/includes/classes/class-playground-check.php',
    144143    'EDAC\\Inc\\Plugin' => $baseDir . '/includes/classes/class-plugin.php',
    145144    'EDAC\\Inc\\REST_Api' => $baseDir . '/includes/classes/class-rest-api.php',
  • accessibility-checker/tags/1.11.2/vendor/composer/autoload_namespaces.php

    r3081378 r3082046  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname();
    66$baseDir = dirname($vendorDir);
    77
  • accessibility-checker/tags/1.11.2/vendor/composer/autoload_psr4.php

    r3081378 r3082046  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname();
    66$baseDir = dirname($vendorDir);
    77
  • accessibility-checker/tags/1.11.2/vendor/composer/autoload_real.php

    r3081378 r3082046  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7', 'loadClassLoader'), true, true);
    28         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7', 'loadClassLoader'));
     27        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname());
     29        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    3030
    31         require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::getInitializer($loader));
     31        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     32        if ($useStaticLoader) {
     33            require __DIR__ . '/autoload_static.php';
     34
     35            call_user_func(\Composer\Autoload\ComposerStaticInit9acc56c47309c47dd8658e5013071dd3::getInitializer($loader));
     36        } else {
     37            $map = require __DIR__ . '/autoload_namespaces.php';
     38            foreach ($map as $namespace => $path) {
     39                $loader->set($namespace, $path);
     40            }
     41
     42            $map = require __DIR__ . '/autoload_psr4.php';
     43            foreach ($map as $namespace => $path) {
     44                $loader->setPsr4($namespace, $path);
     45            }
     46
     47            $classMap = require __DIR__ . '/autoload_classmap.php';
     48            if ($classMap) {
     49                $loader->addClassMap($classMap);
     50            }
     51        }
    3352
    3453        $loader->register(true);
  • accessibility-checker/tags/1.11.2/vendor/composer/autoload_static.php

    r3081378 r3082046  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    166166        'EDAC\\Inc\\Frontend_Validate' => __DIR__ . '/../..' . '/includes/classes/class-frontend-validate.php',
    167167        'EDAC\\Inc\\Lazyload_Filter' => __DIR__ . '/../..' . '/includes/classes/class-lazyload-filter.php',
    168         'EDAC\\Inc\\Playground_Check' => __DIR__ . '/../..' . '/includes/classes/class-playground-check.php',
    169168        'EDAC\\Inc\\Plugin' => __DIR__ . '/../..' . '/includes/classes/class-plugin.php',
    170169        'EDAC\\Inc\\REST_Api' => __DIR__ . '/../..' . '/includes/classes/class-rest-api.php',
     
    179178    {
    180179        return \Closure::bind(function () use ($loader) {
    181             $loader->prefixLengthsPsr4 = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$prefixLengthsPsr4;
    182             $loader->prefixDirsPsr4 = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$prefixDirsPsr4;
    183             $loader->prefixesPsr0 = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$prefixesPsr0;
    184             $loader->classMap = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$classMap;
     180            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     181            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     182            $loader->prefixesPsr0 = ComposerStaticInit::$prefixesPsr0;
     183            $loader->classMap = ComposerStaticInit::$classMap;
    185184
    186185        }, null, ClassLoader::class);
  • accessibility-checker/tags/1.11.2/vendor/composer/installed.php

    r3081378 r3082046  
    11<?php return array(
    22    'root' => array(
    3         'name' => 'equalizedigital/accesibility-checker',
    43        'pretty_version' => 'dev-main',
    54        'version' => 'dev-main',
    6         'reference' => '4a9dd2e3e8558377b315197021535dd7549f2656',
    75        'type' => 'library',
    86        'install_path' => __DIR__ . '/../../',
    97        'aliases' => array(),
     8
     9
    1010        'dev' => false,
    1111    ),
     
    1414            'pretty_version' => 'v1.12.0',
    1515            'version' => '1.12.0.0',
    16             'reference' => 'd20a64ed3c94748397ff5973488761b22f6d3f19',
    1716            'type' => 'composer-plugin',
    1817            'install_path' => __DIR__ . '/./installers',
    1918            'aliases' => array(),
     19
    2020            'dev_requirement' => false,
    2121        ),
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => '2276191cfe12eb083b2604faf1038dcb31820e8a',
    2625            'type' => 'library',
    2726            'install_path' => __DIR__ . '/../davechild/textstatistics',
     
    2928                0 => '1.0.x-dev',
    3029            ),
     30
    3131            'dev_requirement' => false,
    3232        ),
     
    3434            'pretty_version' => 'dev-main',
    3535            'version' => 'dev-main',
    36             'reference' => '4a9dd2e3e8558377b315197021535dd7549f2656',
    3736            'type' => 'library',
    3837            'install_path' => __DIR__ . '/../../',
    3938            'aliases' => array(),
     39
    4040            'dev_requirement' => false,
    4141        ),
  • accessibility-checker/trunk/accessibility-checker.php

    r3081378 r3082046  
    1111 * Plugin URI:        https://a11ychecker.com
    1212 * Description:       Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance.
    13  * Version:           1.11.1
     13 * Version:           1.11.
    1414 * Author:            Equalize Digital
    1515 * Author URI:        https://equalizedigital.com
     
    2727}
    2828
    29 // Check for WordPress Playground.
    30 require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-playground-check.php';
    31 if ( ! ( new EDAC\Inc\Playground_Check() )->should_load ) {
    32     return;
    33 }
    34 
    3529// Include plugin dependency.
    3630require_once ABSPATH . 'wp-admin/includes/plugin.php';
     
    4236// Current plugin version.
    4337if ( ! defined( 'EDAC_VERSION' ) ) {
    44     define( 'EDAC_VERSION', '1.11.1' );
     38    define( 'EDAC_VERSION', '1.11.' );
    4539}
    4640
  • accessibility-checker/trunk/admin/class-admin-notices.php

    r3081378 r3082046  
    111111
    112112    /**
    113      * Get GAAD Promo Message
     113     * Get Promo Message
    114114     *
    115115     * @return string
     
    217217
    218218    /**
    219      * Review Admin Notice Ajax
     219     * Admin Notice Ajax
    220220     *
    221221     * @return void
     
    380380
    381381    /**
    382      * Review Admin Notice Ajax
     382     * Admin Notice Ajax
    383383     *
    384384     * @return void
  • accessibility-checker/trunk/includes/classes/class-summary-generator.php

    r3080015 r3082046  
    292292        }
    293293
    294         return $content_grade;
     294        return ;
    295295    }
    296296
  • accessibility-checker/trunk/readme.txt

    r3081378 r3082046  
    44Requires at least: 6.2
    55Tested up to: 6.5.2
    6 Stable tag: 1.11.1
     6Stable tag: 1.11.
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    172172== Changelog ==
    173173
    174 + 1.11.1 =
     174= 1.11.2
     175* Fixed: Avoid displaying `0th` for readability score
     176* Removed: Some custom WP Playground detection code
     177
     178= 1.11.1 =
    175179* Fixed: type Casting on several rules
    176180* Fixed: strict data comparison on several rules
  • accessibility-checker/trunk/vendor/autoload.php

    r3081378 r3082046  
    33// autoload.php @generated by Composer
    44
    5 if (PHP_VERSION_ID < 50600) {
    6     if (!headers_sent()) {
    7         header('HTTP/1.1 500 Internal Server Error');
    8     }
    9     $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
    10     if (!ini_get('display_errors')) {
    11         if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
    12             fwrite(STDERR, $err);
    13         } elseif (!headers_sent()) {
    14             echo $err;
    15         }
    16     }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
    21 }
    22 
    235require_once __DIR__ . '/composer/autoload_real.php';
    246
    25 return ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7::getLoader();
     7return ComposerAutoloaderInit::getLoader();
  • accessibility-checker/trunk/vendor/composer/ClassLoader.php

    r3081378 r3082046  
    4343class ClassLoader
    4444{
    45     /** @var \Closure(string):void */
    46     private static $includeFile;
    47 
    4845    /** @var ?string */
    4946    private $vendorDir;
     
    110107    {
    111108        $this->vendorDir = $vendorDir;
    112         self::initializeIncludeClosure();
    113109    }
    114110
     
    154150    /**
    155151     * @return string[] Array of classname => path
    156      * @psalm-return array<string, string>
     152     * @psalm- array<string, string>
    157153     */
    158154    public function getClassMap()
     
    430426    {
    431427        if ($file = $this->findFile($class)) {
    432             $includeFile = self::$includeFile;
    433             $includeFile($file);
     428            includeFile($file);
    434429
    435430            return true;
     
    561556        return false;
    562557    }
    563 
    564     /**
    565      * @return void
    566      */
    567     private static function initializeIncludeClosure()
    568     {
    569         if (self::$includeFile !== null) {
    570             return;
    571         }
    572 
    573         /**
    574          * Scope isolated include.
    575          *
    576          * Prevents access to $this/self from included files.
    577          *
    578          * @param  string $file
    579          * @return void
    580          */
    581         self::$includeFile = \Closure::bind(static function($file) {
    582             include $file;
    583         }, null, null);
    584     }
    585558}
     559
     560
     561
     562
     563
     564
     565
     566
     567
     568
     569
     570
     571
     572
  • accessibility-checker/trunk/vendor/composer/InstalledVersions.php

    r3081378 r3082046  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
    24  *
    25  * @final
    2624 */
    2725class InstalledVersions
     
    2927    /**
    3028     * @var mixed[]|null
    31      * @psalm-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[]}>}|array{}|null
     29     * @psalm-var array{root: array{name: string, }>}|array{}|null
    3230     */
    3331    private static $installed;
     
    4038    /**
    4139     * @var array[]
    42      * @psalm-var array<string, 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[]}>}>
     40     * @psalm-var array<string, array{root: array{name: string, }>}>
    4341     */
    4442    private static $installedByVendor = array();
     
    9997        foreach (self::getInstalled() as $installed) {
    10098            if (isset($installed['versions'][$packageName])) {
    101                 return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
     99                return $includeDevRequirements || ;
    102100            }
    103101        }
     
    120118    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    121119    {
    122         $constraint = $parser->parseConstraints((string) $constraint);
     120        $constraint = $parser->parseConstraints($constraint);
    123121        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    124122
     
    244242    /**
    245243     * @return array
    246      * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
     244     * @psalm-return array{name: string, }
    247245     */
    248246    public static function getRootPackage()
     
    258256     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    259257     * @return array[]
    260      * @psalm-return 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[]}>}
     258     * @psalm-return array{root: array{name: string, }>}
    261259     */
    262260    public static function getRawData()
     
    281279     *
    282280     * @return array[]
    283      * @psalm-return list<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[]}>}>
     281     * @psalm-return list<array{root: array{name: string, }>}>
    284282     */
    285283    public static function getAllRawData()
     
    304302     * @return void
    305303     *
    306      * @psalm-param 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[]}>} $data
     304     * @psalm-param array{root: array{name: string, }>} $data
    307305     */
    308306    public static function reload($data)
     
    314312    /**
    315313     * @return array[]
    316      * @psalm-return list<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[]}>}>
     314     * @psalm-return list<array{root: array{name: string, }>}>
    317315     */
    318316    private static function getInstalled()
     
    329327                    $installed[] = self::$installedByVendor[$vendorDir];
    330328                } elseif (is_file($vendorDir.'/composer/installed.php')) {
    331                     /** @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 */
    332                     $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
     329                    $installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
    334330                    if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335331                        self::$installed = $installed[count($installed) - 1];
     
    343339            // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
    344340            if (substr(__DIR__, -8, 1) !== 'C') {
    345                 /** @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 */
    346                 $required = require __DIR__ . '/installed.php';
    347                 self::$installed = $required;
     341                self::$installed = require __DIR__ . '/installed.php';
    348342            } else {
    349343                self::$installed = array();
    350344            }
    351345        }
    352 
    353         if (self::$installed !== array()) {
    354             $installed[] = self::$installed;
    355         }
     346        $installed[] = self::$installed;
    356347
    357348        return $installed;
  • accessibility-checker/trunk/vendor/composer/autoload_classmap.php

    r3081378 r3082046  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname();
    66$baseDir = dirname($vendorDir);
    77
     
    141141    'EDAC\\Inc\\Frontend_Validate' => $baseDir . '/includes/classes/class-frontend-validate.php',
    142142    'EDAC\\Inc\\Lazyload_Filter' => $baseDir . '/includes/classes/class-lazyload-filter.php',
    143     'EDAC\\Inc\\Playground_Check' => $baseDir . '/includes/classes/class-playground-check.php',
    144143    'EDAC\\Inc\\Plugin' => $baseDir . '/includes/classes/class-plugin.php',
    145144    'EDAC\\Inc\\REST_Api' => $baseDir . '/includes/classes/class-rest-api.php',
  • accessibility-checker/trunk/vendor/composer/autoload_namespaces.php

    r3081378 r3082046  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname();
    66$baseDir = dirname($vendorDir);
    77
  • accessibility-checker/trunk/vendor/composer/autoload_psr4.php

    r3081378 r3082046  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(__DIR__);
     5$vendorDir = dirname();
    66$baseDir = dirname($vendorDir);
    77
  • accessibility-checker/trunk/vendor/composer/autoload_real.php

    r3081378 r3082046  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7
     5class ComposerAutoloaderInit
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7', 'loadClassLoader'), true, true);
    28         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitc9186e7167f863d6ad94be6f51ec2ba7', 'loadClassLoader'));
     27        spl_autoload_register(array('ComposerAutoloaderInit', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname());
     29        spl_autoload_unregister(array('ComposerAutoloaderInit', 'loadClassLoader'));
    3030
    31         require __DIR__ . '/autoload_static.php';
    32         call_user_func(\Composer\Autoload\ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::getInitializer($loader));
     31        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     32        if ($useStaticLoader) {
     33            require __DIR__ . '/autoload_static.php';
     34
     35            call_user_func(\Composer\Autoload\ComposerStaticInit9acc56c47309c47dd8658e5013071dd3::getInitializer($loader));
     36        } else {
     37            $map = require __DIR__ . '/autoload_namespaces.php';
     38            foreach ($map as $namespace => $path) {
     39                $loader->set($namespace, $path);
     40            }
     41
     42            $map = require __DIR__ . '/autoload_psr4.php';
     43            foreach ($map as $namespace => $path) {
     44                $loader->setPsr4($namespace, $path);
     45            }
     46
     47            $classMap = require __DIR__ . '/autoload_classmap.php';
     48            if ($classMap) {
     49                $loader->addClassMap($classMap);
     50            }
     51        }
    3352
    3453        $loader->register(true);
  • accessibility-checker/trunk/vendor/composer/autoload_static.php

    r3081378 r3082046  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7
     7class ComposerStaticInit
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    166166        'EDAC\\Inc\\Frontend_Validate' => __DIR__ . '/../..' . '/includes/classes/class-frontend-validate.php',
    167167        'EDAC\\Inc\\Lazyload_Filter' => __DIR__ . '/../..' . '/includes/classes/class-lazyload-filter.php',
    168         'EDAC\\Inc\\Playground_Check' => __DIR__ . '/../..' . '/includes/classes/class-playground-check.php',
    169168        'EDAC\\Inc\\Plugin' => __DIR__ . '/../..' . '/includes/classes/class-plugin.php',
    170169        'EDAC\\Inc\\REST_Api' => __DIR__ . '/../..' . '/includes/classes/class-rest-api.php',
     
    179178    {
    180179        return \Closure::bind(function () use ($loader) {
    181             $loader->prefixLengthsPsr4 = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$prefixLengthsPsr4;
    182             $loader->prefixDirsPsr4 = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$prefixDirsPsr4;
    183             $loader->prefixesPsr0 = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$prefixesPsr0;
    184             $loader->classMap = ComposerStaticInitc9186e7167f863d6ad94be6f51ec2ba7::$classMap;
     180            $loader->prefixLengthsPsr4 = ComposerStaticInit::$prefixLengthsPsr4;
     181            $loader->prefixDirsPsr4 = ComposerStaticInit::$prefixDirsPsr4;
     182            $loader->prefixesPsr0 = ComposerStaticInit::$prefixesPsr0;
     183            $loader->classMap = ComposerStaticInit::$classMap;
    185184
    186185        }, null, ClassLoader::class);
  • accessibility-checker/trunk/vendor/composer/installed.php

    r3081378 r3082046  
    11<?php return array(
    22    'root' => array(
    3         'name' => 'equalizedigital/accesibility-checker',
    43        'pretty_version' => 'dev-main',
    54        'version' => 'dev-main',
    6         'reference' => '4a9dd2e3e8558377b315197021535dd7549f2656',
    75        'type' => 'library',
    86        'install_path' => __DIR__ . '/../../',
    97        'aliases' => array(),
     8
     9
    1010        'dev' => false,
    1111    ),
     
    1414            'pretty_version' => 'v1.12.0',
    1515            'version' => '1.12.0.0',
    16             'reference' => 'd20a64ed3c94748397ff5973488761b22f6d3f19',
    1716            'type' => 'composer-plugin',
    1817            'install_path' => __DIR__ . '/./installers',
    1918            'aliases' => array(),
     19
    2020            'dev_requirement' => false,
    2121        ),
     
    2323            'pretty_version' => 'dev-master',
    2424            'version' => 'dev-master',
    25             'reference' => '2276191cfe12eb083b2604faf1038dcb31820e8a',
    2625            'type' => 'library',
    2726            'install_path' => __DIR__ . '/../davechild/textstatistics',
     
    2928                0 => '1.0.x-dev',
    3029            ),
     30
    3131            'dev_requirement' => false,
    3232        ),
     
    3434            'pretty_version' => 'dev-main',
    3535            'version' => 'dev-main',
    36             'reference' => '4a9dd2e3e8558377b315197021535dd7549f2656',
    3736            'type' => 'library',
    3837            'install_path' => __DIR__ . '/../../',
    3938            'aliases' => array(),
     39
    4040            'dev_requirement' => false,
    4141        ),
Note: See TracChangeset for help on using the changeset viewer.