owncloud / user_ldap

📒
GNU Affero General Public License v3.0
17 stars 17 forks source link

Nightly build failure in `phpstan` pipeline #824

Closed Salipa-Gurung closed 1 month ago

Salipa-Gurung commented 1 month ago

Nightly build failed in phpstan of phpstan-php7.4 pipeline.

php -d zend.enable_gc=0 vendor-bin/phpstan/vendor/bin/phpstan analyse --memory-limit=4G --configuration=./phpstan.neon --no-progress --level=5 appinfo lib
 ------ ---------------------------------------------------------------------- 
  Line   lib/Wizard.php                                                        
 ------ ---------------------------------------------------------------------- 
         Ignored error pattern #Strict comparison using === between mixed and  
         '' will always evaluate to false.# in path                            
         /var/www/owncloud/server/apps/user_ldap/lib/Wizard.php was not        
         matched in reported errors.                                           
  866    Strict comparison using === between                                   
         mixed~(0|0.0|''|'0'|array{}|false|null) and '' will always evaluate   
         to false.                                                             
         🪪  identical.alwaysFalse                                              
 ------ ---------------------------------------------------------------------- 

 [ERROR] Found 2 errors

Build: https://drone.owncloud.com/owncloud/user_ldap/5207/2/4