Skip to content

Missing Interfaces #6814

Open
Open
@kenjis

Description

@kenjis

This is the result when I remove all Interface related items in phpstan-baseline.neon.dist in 4.3 branch:

 ------ -------------------------------------------------------------------------------------- 
  Line   system/Database/BaseConnection.php                                                    
 ------ -------------------------------------------------------------------------------------- 
  907    Call to an undefined method CodeIgniter\Database\QueryInterface::getOriginalQuery().  
 ------ -------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------- 
  Line   system/Database/Database.php                                                          
 ------ -------------------------------------------------------------------------------------- 
  66     Access to an undefined property CodeIgniter\Database\ConnectionInterface::$connID.    
  70     Access to an undefined property CodeIgniter\Database\ConnectionInterface::$DBDriver.  
  78     Access to an undefined property CodeIgniter\Database\ConnectionInterface::$connID.    
  82     Access to an undefined property CodeIgniter\Database\ConnectionInterface::$DBDriver.  
 ------ -------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------- 
  Line   system/Debug/Toolbar/Collectors/Events.php                                             
 ------ --------------------------------------------------------------------------------------- 
  77     Call to an undefined method CodeIgniter\View\RendererInterface::getPerformanceData().  
 ------ --------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------- 
  Line   system/Debug/Toolbar/Collectors/Views.php                                              
 ------ --------------------------------------------------------------------------------------- 
  92     Call to an undefined method CodeIgniter\View\RendererInterface::getPerformanceData().  
  126    Call to an undefined method CodeIgniter\View\RendererInterface::getData().             
  135    Call to an undefined method CodeIgniter\View\RendererInterface::getPerformanceData().  
 ------ --------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------- 
  Line   system/Router/Router.php                                                                               
 ------ ------------------------------------------------------------------------------------------------------- 
  129    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::setHTTPVerb().                
  137    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getRegisteredControllers().   
  138    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getDefaultNamespace().        
  146    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getRegisteredControllers().   
  147    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getDefaultNamespace().        
  169    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getDefaultNamespace().        
  182    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::isFiltered().                 
  185    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getFiltersForRoute().         
  188    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getFilterForRoute().          
  393    Method CodeIgniter\Router\RouteCollectionInterface::getRoutes() invoked with 1 parameter, 0 required.  
  664    Call to an undefined method CodeIgniter\Router\RouteCollectionInterface::getRoutesOptions().           
 ------ ------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------- 
  Line   system/View/Cell.php                                                                                
 ------ ---------------------------------------------------------------------------------------------------- 
  84     Property CodeIgniter\View\Cell::$cache (CodeIgniter\Cache\CacheInterface) in empty() is not falsy.  
  103    Property CodeIgniter\View\Cell::$cache (CodeIgniter\Cache\CacheInterface) in empty() is not falsy.  
 ------ ---------------------------------------------------------------------------------------------------- 

                                                                                                                    
 [ERROR] Found 22 errors                                                                                            

Related: #4356, #5909

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions