llaville / php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions
https://llaville.github.io/php-compatinfo-db/6.12/
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

Checks that elements available in extension are define in Reference #72

Closed llaville closed 3 years ago

llaville commented 3 years ago

Bug report

OS

1. Host operating system and version: Ubuntu 18.04 LTS, Docker version 20.10.2, build 2291f61, Windows 20H2 (WSL2) 2. PHP version: all versions are affected 3. PHP CompatInfoDB version: 3.4.2 4. What git commit hash are you on?: 5. PHP extensions loaded? Uses either reference:list or db:list command depends on CompatInfoDB version:

Reference List
==============

 Description                  Type   Name       Provided Installed
 The apcu PHP extension       pecl   apcu       5.1.20   5.1.20
 The ast PHP extension        pecl   ast        1.0.10   1.0.10
 The bcmath PHP extension     bundle bcmath     8.0.3    8.0.3
 The bz2 PHP extension        bundle bz2        8.0.3    8.0.3
 The calendar PHP extension   bundle calendar   8.0.3    8.0.3
 The Core PHP extension       bundle core       8.0.3    8.0.3
 The ctype PHP extension      bundle ctype      8.0.3    8.0.3
 The curl PHP extension       bundle curl       8.0.3    8.0.3
 The date PHP extension       bundle date       8.0.3    8.0.3
 The dom PHP extension        bundle dom        8.0.3    20031129
 The enchant PHP extension    bundle enchant    8.0.3    8.0.3
 The exif PHP extension       bundle exif       8.0.3    8.0.3
 The fileinfo PHP extension   bundle fileinfo   8.0.3    8.0.3
 The filter PHP extension     bundle filter     8.0.3    8.0.3
 The ftp PHP extension        bundle ftp        8.0.3    8.0.3
 The gd PHP extension         bundle gd         8.0.3    8.0.3
 The gettext PHP extension    bundle gettext    8.0.3    8.0.3
 The gmp PHP extension        bundle gmp        8.0.3    8.0.3
 The hash PHP extension       bundle hash       8.0.3    8.0.3
 The http PHP extension       pecl   http       4.0.0    4.0.0
 The iconv PHP extension      bundle iconv      8.0.3    8.0.3
 The igbinary PHP extension   pecl   igbinary   3.2.1    3.2.1
 The imap PHP extension       bundle imap       8.0.3    8.0.3
 The intl PHP extension       bundle intl       8.0.3    8.0.3
 The json PHP extension       bundle json       8.0.3    8.0.3
 The ldap PHP extension       bundle ldap       8.0.3    8.0.3
 The libxml PHP extension     bundle libxml     8.0.3    8.0.3
 The lzf PHP extension        pecl   lzf        1.6.8    1.6.8
 The mailparse PHP extension  pecl   mailparse  3.1.1    3.1.1
 The mbstring PHP extension   bundle mbstring   8.0.3    8.0.3
 The mcrypt PHP extension     pecl   mcrypt     4.0.7    1.0.4
 The memcache PHP extension   pecl   memcache   8.0      4.0.5.2
 The memcached PHP extension  pecl   memcached  3.1.5    3.1.5
 The msgpack PHP extension    pecl   msgpack    2.1.2    2.1.2
 The mysqli PHP extension     bundle mysqli     8.0.3    8.0.3
 The OAuth PHP extension      pecl   oauth      2.0.7    2.0.7
 The oci8 PHP extension       pecl   oci8       3.0.1    3.0.1
 The OPcache PHP extension    bundle opcache    8.0.3    8.0.3
 The openssl PHP extension    bundle openssl    8.0.3    8.0.3
 The pcntl PHP extension      bundle pcntl      8.0.3    8.0.3
 The pcre PHP extension       bundle pcre       8.0.3    8.0.3
 The PDO PHP extension        bundle pdo        8.0.3    8.0.3
 The phar PHP extension       bundle phar       8.0.3    8.0.3
 The posix PHP extension      bundle posix      8.0.3    8.0.3
 The raphf PHP extension      pecl   raphf      2.0.1    2.0.1
 The rar PHP extension        pecl   rar        4.2.0    4.2.0
 The readline PHP extension   bundle readline   8.0.3    8.0.3
 The redis PHP extension      pecl   redis      5.3.3    5.3.3
 The Reflection PHP extension bundle reflection 8.0.3    8.0.3
 The session PHP extension    bundle session    8.0.3    8.0.3
 The shmop PHP extension      bundle shmop      8.0.3    8.0.3
 The SimpleXML PHP extension  bundle simplexml  8.0.3    8.0.3
 The snmp PHP extension       bundle snmp       8.0.3    8.0.3
 The soap PHP extension       bundle soap       8.0.3    8.0.3
 The sockets PHP extension    bundle sockets    8.0.3    8.0.3
 The solr PHP extension       pecl   solr       2.5.1    2.5.1
 The spl PHP extension        bundle spl        8.0.3    8.0.3
 The sqlite3 PHP extension    bundle sqlite3    8.0.3    8.0.3
 The standard PHP extension   bundle standard   8.0.3    8.0.3
 The sysvmsg PHP extension    bundle sysvmsg    8.0.3    8.0.3
 The sysvsem PHP extension    bundle sysvsem    8.0.3    8.0.3
 The sysvshm PHP extension    bundle sysvshm    8.0.3    8.0.3
 The tidy PHP extension       bundle tidy       8.0.3    8.0.3
 The tokenizer PHP extension  bundle tokenizer  8.0.3    8.0.3
 The xdebug PHP extension     pecl   xdebug     3.0.3    3.0.3
 The xhprof PHP extension     pecl   xhprof     2.2.3    2.2.3
 The xml PHP extension        bundle xml        8.0.3    8.0.3
 The xmldiff PHP extension    pecl   xmldiff    1.1.3    1.1.3
 The xmlreader PHP extension  bundle xmlreader  8.0.3    8.0.3
 The xmlwriter PHP extension  bundle xmlwriter  8.0.3    8.0.3
 The xsl PHP extension        bundle xsl        8.0.3    8.0.3
 The yac PHP extension        pecl   yac        2.3.0    2.3.0
 The yaml PHP extension       pecl   yaml       2.2.1    2.2.1
 The zip PHP extension        bundle zip        1.19.2   1.19.2
 The zlib PHP extension       bundle zlib       8.0.3    8.0.3
 Total [75]

 ! [NOTE] Platform "PHP Interpreter 8.0.3" built 2021-03-20T07:19:27+00:00

Summary

GenericTest component did not iterate each item of Generators when checking that each element is defined in Reference

Expected behaviour

Loop over each Generator item

Actual behaviour

First Generator item is checked

Other information