LKDevelopment / hetzner-cloud-php-sdk

A PHP SDK for the Hetzner Cloud API
MIT License
104 stars 51 forks source link

PHPStan check (level 0) #58

Closed raspla closed 3 years ago

raspla commented 3 years ago

Output of PHPStan check with level 0: https://phpstan.org/user-guide/rule-levels basic checks, unknown classes, unknown functions, unknown methods called on $this, wrong number of arguments passed to those methods and functions, always undefined variables

------ ----------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Actions/Action.php  
 ------ ----------------------------------------------------------------------------------- 
  94     Method LKDev\HetznerCloud\Models\Actions\Action::getById() should                  
         return LKDev\HetznerCloud\Models\Actions\Action but return statement               
         is missing.                                                                        
 ------ ----------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Actions/ActionRequestOpts.php  
 ------ ---------------------------------------------------------------------------------------------- 
  33     Access to an undefined property                                                               
         LKDev\HetznerCloud\Models\Datacenters\ActionRequestOpts::$sort.                               
 ------ ---------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Actions/Actions.php  
 ------ ------------------------------------------------------------------------------------ 
  43     Method LKDev\HetznerCloud\Models\Actions\Actions::list() should                     
         return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                            
  61     Method LKDev\HetznerCloud\Models\Actions\Actions::getById() should                  
         return LKDev\HetznerCloud\Models\Actions\Action but return statement                
         is missing.                                                                         
 ------ ------------------------------------------------------------------------------------ 
 ------ -------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Datacenters/Datacenters.php  
 ------ -------------------------------------------------------------------------------------------- 
  62     Method LKDev\HetznerCloud\Models\Datacenters\Datacenters::list()                            
         should return LKDev\HetznerCloud\APIResponse but return statement is                        
         missing.                                                                                    
  83     Method LKDev\HetznerCloud\Models\Datacenters\Datacenters::getById()                         
         should return LKDev\HetznerCloud\Models\Datacenters\Datacenter but                          
         return statement is missing.                                                                
 ------ -------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/FloatingIps/FloatingIp.php  
 ------ ------------------------------------------------------------------------------------------- 
  138    Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIp::update()                          
         should return                                                                              
         static(LKDev\HetznerCloud\Models\FloatingIps\FloatingIp) but return                        
         statement is missing.                                                                      
  167    Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIp::delete()                          
         should return bool but return statement is missing.                                        
  187    Method                                                                                     
         LKDev\HetznerCloud\Models\FloatingIps\FloatingIp::changeProtection()                       
         should return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                                   
  209    Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIp::assignTo()                        
         should return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                                   
  226    Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIp::unassign()                        
         should return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                                   
  250    Method                                                                                     
         LKDev\HetznerCloud\Models\FloatingIps\FloatingIp::changeReverseDNS()                       
         should return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                                   
 ------ ------------------------------------------------------------------------------------------- 
 ------ -------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/FloatingIps/FloatingIps.php  
 ------ -------------------------------------------------------------------------------------------- 
  60     Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIps::list()                            
         should return LKDev\HetznerCloud\APIResponse but return statement is                        
         missing.                                                                                    
  81     Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIps::getById()                         
         should return LKDev\HetznerCloud\Models\FloatingIps\FloatingIp but                          
         return statement is missing.                                                                
  127    Method LKDev\HetznerCloud\Models\FloatingIps\FloatingIps::create()                          
         should return LKDev\HetznerCloud\Models\FloatingIps\FloatingIp but                          
         return statement is missing.                                                                
 ------ -------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/ISOs/ISOs.php  
 ------ ------------------------------------------------------------------------------ 
  58     Method LKDev\HetznerCloud\Models\ISOs\ISOs::list() should return              
         LKDev\HetznerCloud\APIResponse but return statement is missing.               
  79     Method LKDev\HetznerCloud\Models\ISOs\ISOs::getById() should return           
         LKDev\HetznerCloud\Models\ISOs\ISO but return statement is missing.           
 ------ ------------------------------------------------------------------------------ 
 ------ --------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Images/Image.php  
 ------ --------------------------------------------------------------------------------- 
  162    Method LKDev\HetznerCloud\Models\Images\Image::update() should return            
         LKDev\HetznerCloud\Models\Images\Image but return statement is                   
         missing.                                                                         
  182    Method LKDev\HetznerCloud\Models\Images\Image::changeProtection()                
         should return LKDev\HetznerCloud\APIResponse but return statement is             
         missing.                                                                         
  199    Method LKDev\HetznerCloud\Models\Images\Image::delete() should return            
         bool but return statement is missing.                                            
 ------ --------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Images/Images.php  
 ------ ---------------------------------------------------------------------------------- 
  55     Method LKDev\HetznerCloud\Models\Images\Images::list() should return              
         LKDev\HetznerCloud\APIResponse but return statement is missing.                   
  76     Method LKDev\HetznerCloud\Models\Images\Images::getById() should                  
         return LKDev\HetznerCloud\Models\Images\Image but return statement is             
         missing.                                                                          
 ------ ---------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Locations/Locations.php  
 ------ ---------------------------------------------------------------------------------------- 
  58     Method LKDev\HetznerCloud\Models\Locations\Locations::list() should                     
         return LKDev\HetznerCloud\APIResponse but return statement is                           
         missing.                                                                                
  79     Method LKDev\HetznerCloud\Models\Locations\Locations::getById()                         
         should return LKDev\HetznerCloud\Models\Locations\Location but return                   
         statement is missing.                                                                   
 ------ ---------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Networks/Network.php  
 ------ ------------------------------------------------------------------------------------- 
  162    Method LKDev\HetznerCloud\Models\Networks\Network::changeProtection()                
         should return LKDev\HetznerCloud\APIResponse but return statement is                 
         missing.                                                                             
 ------ ------------------------------------------------------------------------------------- 
 ------ -------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Networks/Networks.php  
 ------ -------------------------------------------------------------------------------------- 
  55     Method LKDev\HetznerCloud\Models\Networks\Networks::list() should                     
         return LKDev\HetznerCloud\APIResponse but return statement is                         
         missing.                                                                              
  76     Method LKDev\HetznerCloud\Models\Networks\Networks::getById() should                  
         return LKDev\HetznerCloud\Models\Networks\Network but return                          
         statement is missing.                                                                 
 ------ -------------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Prices/Prices.php  
 ------ ---------------------------------------------------------------------------------- 
  39     Method LKDev\HetznerCloud\Models\Prices\Prices::all() should return               
         stdClass but return statement is missing.                                         
 ------ ---------------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/SSHKeys/SSHKey.php  
 ------ ----------------------------------------------------------------------------------- 
  75     Method LKDev\HetznerCloud\Models\SSHKeys\SSHKey::update() should                   
         return LKDev\HetznerCloud\Models\SSHKeys\SSHKey but return statement               
         is missing.                                                                        
  104    Method LKDev\HetznerCloud\Models\SSHKeys\SSHKey::delete() should                   
         return bool but return statement is missing.                                       
 ------ ----------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/SSHKeys/SSHKeys.php  
 ------ ------------------------------------------------------------------------------------ 
  46     Method LKDev\HetznerCloud\Models\SSHKeys\SSHKeys::create() should                   
         return LKDev\HetznerCloud\Models\SSHKeys\SSHKey but return statement                
         is missing.                                                                         
  82     Method LKDev\HetznerCloud\Models\SSHKeys\SSHKeys::list() should                     
         return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                            
 ------ ------------------------------------------------------------------------------------ 
 ------ ----------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Servers/Server.php  
 ------ ----------------------------------------------------------------------------------- 
  190    Method LKDev\HetznerCloud\Models\Servers\Server::powerOn() should                  
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  207    Method LKDev\HetznerCloud\Models\Servers\Server::softReboot() should               
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  224    Method LKDev\HetznerCloud\Models\Servers\Server::reset() should                    
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  241    Method LKDev\HetznerCloud\Models\Servers\Server::shutdown() should                 
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  258    Method LKDev\HetznerCloud\Models\Servers\Server::powerOff() should                 
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  275    Method LKDev\HetznerCloud\Models\Servers\Server::resetRootPassword()               
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  302    Method LKDev\HetznerCloud\Models\Servers\Server::enableRescue()                    
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  322    Method LKDev\HetznerCloud\Models\Servers\Server::disableRescue()                   
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  348    Method LKDev\HetznerCloud\Models\Servers\Server::createImage() should              
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  373    Method LKDev\HetznerCloud\Models\Servers\Server::rebuildFromImage()                
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  399    Method LKDev\HetznerCloud\Models\Servers\Server::changeType() should               
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  416    Method LKDev\HetznerCloud\Models\Servers\Server::enableBackups()                   
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  433    Method LKDev\HetznerCloud\Models\Servers\Server::disableBackups()                  
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  455    Method LKDev\HetznerCloud\Models\Servers\Server::attachISO() should                
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  472    Method LKDev\HetznerCloud\Models\Servers\Server::detachISO() should                
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  496    Method LKDev\HetznerCloud\Models\Servers\Server::changeReverseDNS()                
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  534    Method LKDev\HetznerCloud\Models\Servers\Server::delete() should                   
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  571    Method LKDev\HetznerCloud\Models\Servers\Server::requestConsole()                  
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
  599    Method LKDev\HetznerCloud\Models\Servers\Server::changeProtection()                
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
 ------ ----------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Servers/Servers.php  
 ------ ------------------------------------------------------------------------------------ 
  62     Method LKDev\HetznerCloud\Models\Servers\Servers::list() should                     
         return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                            
  98     Method LKDev\HetznerCloud\Models\Servers\Servers::getById() should                  
         return LKDev\HetznerCloud\Models\Servers\Server but return statement                
         is missing.                                                                         
  147    Method                                                                              
         LKDev\HetznerCloud\Models\Servers\Servers::createInDatacenter()                     
         should return LKDev\HetznerCloud\APIResponse but return statement is                
         missing.                                                                            
  203    Method LKDev\HetznerCloud\Models\Servers\Servers::createInLocation()                
         should return LKDev\HetznerCloud\APIResponse but return statement is                
         missing.                                                                            
 ------ ------------------------------------------------------------------------------------ 
 ------ ---------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Servers/Types/ServerTypes.php  
 ------ ---------------------------------------------------------------------------------------------- 
  52     Method LKDev\HetznerCloud\Models\Servers\Types\ServerTypes::list()                            
         should return LKDev\HetznerCloud\APIResponse but return statement is                          
         missing.                                                                                      
 ------ ---------------------------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Volumes/Volume.php  
 ------ ----------------------------------------------------------------------------------- 
  104    Method LKDev\HetznerCloud\Models\Volumes\Volume::delete() should                   
         return LKDev\HetznerCloud\APIResponse but return statement is                      
         missing.                                                                           
  196    Method LKDev\HetznerCloud\Models\Volumes\Volume::changeProtection()                
         should return LKDev\HetznerCloud\APIResponse but return statement is               
         missing.                                                                           
 ------ ----------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/src/Models/Volumes/Volumes.php  
 ------ ------------------------------------------------------------------------------------ 
  64     Method LKDev\HetznerCloud\Models\Volumes\Volumes::list() should                     
         return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                            
  100    Method LKDev\HetznerCloud\Models\Volumes\Volumes::getById() should                  
         return LKDev\HetznerCloud\Models\Volumes\Volume but return statement                
         is missing.                                                                         
  135    Method LKDev\HetznerCloud\Models\Volumes\Volumes::create() should                   
         return LKDev\HetznerCloud\APIResponse but return statement is                       
         missing.                                                                            
 ------ ------------------------------------------------------------------------------------ 
 ------ ----------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Actions/ActionsTest.php  
 ------ ----------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
 ------ ----------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Datacenters/DatacentersTest.php  
 ------ ------------------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                                
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                     
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                                
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                     
 ------ ------------------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/FloatingIPs/FloatingIPsTest.php  
 ------ ------------------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                                
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                     
  21     Reflection error: PHPUnit\Framework\TestCase not found.                                                
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                     
 ------ ------------------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/FloatingIPs/FloatingIpTest.php  
 ------ ------------------------------------------------------------------------------------------------------ 
         Reflection error: PHPUnit\Framework\TestCase not found.                                               
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                    
  24     Reflection error: PHPUnit\Framework\TestCase not found.                                               
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                    
 ------ ------------------------------------------------------------------------------------------------------ 
 ------ ---------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/ISO/ISOsTest.php  
 ------ ---------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                 
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                      
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                 
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                      
 ------ ---------------------------------------------------------------------------------------- 
 ------ --------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Images/ImagesTest.php  
 ------ --------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                      
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                           
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                      
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                           
 ------ --------------------------------------------------------------------------------------------- 
 ------ --------------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Locations/LocationsTest.php  
 ------ --------------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                            
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                 
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                            
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                 
 ------ --------------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Networks/NetworkTest.php  
 ------ ------------------------------------------------------------------------------------------------ 
         Reflection error: PHPUnit\Framework\TestCase not found.                                         
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                              
  16     Reflection error: PHPUnit\Framework\TestCase not found.                                         
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                              
 ------ ------------------------------------------------------------------------------------------------ 
 ------ ------------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Networks/NetworksTest.php  
 ------ ------------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                          
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                               
  22     Reflection error: PHPUnit\Framework\TestCase not found.                                          
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                               
 ------ ------------------------------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Pricing/PricingTest.php  
 ------ ----------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
 ------ ----------------------------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/SSHKeys/SSHKeysTest.php  
 ------ ----------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
 ------ ----------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/ServerTypes/ServerTypesTest.php  
 ------ ------------------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                                
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                     
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                                
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                                     
 ------ ------------------------------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Servers/ServerTest.php  
 ------ ---------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                       
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                            
  24     Reflection error: PHPUnit\Framework\TestCase not found.                                       
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                            
 ------ ---------------------------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Servers/ServersTest.php  
 ------ ----------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
  19     Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
 ------ ----------------------------------------------------------------------------------------------- 
 ------ ---------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Volumes/VolumeTest.php  
 ------ ---------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                       
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                            
  15     Reflection error: PHPUnit\Framework\TestCase not found.                                       
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                            
 ------ ---------------------------------------------------------------------------------------------- 
 ------ ----------------------------------------------------------------------------------------------- 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Integration/Volumes/VolumesTest.php  
 ------ ----------------------------------------------------------------------------------------------- 
         Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
  14     Reflection error: PHPUnit\Framework\TestCase not found.                                        
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                             
 ------ ----------------------------------------------------------------------------------------------- 
 ------ ------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/TestCase.php  
 ------ ------------------------------------------------------------------------ 
         Reflection error: PHPUnit\Framework\TestCase not found.                 
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols      
  18     Reflection error: PHPUnit\Framework\TestCase not found.                 
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols      
 ------ ------------------------------------------------------------------------ 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Unit/ApiResponseTest.php  
 ------ ------------------------------------------------------------------------------------ 
         Reflection error: PHPUnit\Framework\TestCase not found.                             
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                  
 ------ ------------------------------------------------------------------------------------ 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Unit/BasicClientTest.php  
 ------ ------------------------------------------------------------------------------------ 
         Reflection error: PHPUnit\Framework\TestCase not found.                             
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                  
 ------ ------------------------------------------------------------------------------------ 
 ------ ------------------------------------------------------------------------------------ 
  Line   includes/vendor/lkdevelopment/hetzner-cloud-php-sdk/tests/Unit/RequestOptsTest.php  
 ------ ------------------------------------------------------------------------------------ 
         Reflection error: PHPUnit\Framework\TestCase not found.                             
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols                  
 ------ ------------------------------------------------------------------------------------ 
LKaemmerling commented 3 years ago

This was fixed with the latest release (v2.2.2) thank you!