Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 3.67 KB

README.md

File metadata and controls

47 lines (40 loc) · 3.67 KB

Docker drupal-check

Usage

Basic

$ docker run --rm -v $(pwd):/data fazni/drupal-check:latest drupal-check -ad .

2680/6243 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░]  42%

------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   workspaces/tests/src/Kernel/WorkspaceTestTrait.php (in context of class Drupal\Tests\workspaces\Kernel\EntityReferenceSupportedNewEntitiesConstraintValidatorTest)  
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
  33     Property Drupal\KernelTests\KernelTestBase::$container                                                                                                              
         (Drupal\Core\DependencyInjection\ContainerBuilder) does not accept                                                                                                  
         Symfony\Component\DependencyInjection\ContainerInterface.                                                                                                           
  34     Access to an undefined property                                                                                                                                     
         Drupal\Tests\workspaces\Kernel\EntityReferenceSupportedNewEntitiesCon                                                                                               
         straintValidatorTest::$entityTypeManager.                                                                                                                           
  63     Access to an undefined property                                                                                                                                     
         Drupal\Tests\workspaces\Kernel\EntityReferenceSupportedNewEntitiesCon                                                                                               
         straintValidatorTest::$entityTypeManager.                                                                                                                           
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

------ ---------------------------------------------------------------------------------------------------------------------------------- 
  Line   workspaces/tests/src/Kernel/WorkspaceTestTrait.php (in context of class Drupal\Tests\workspaces\Kernel\WorkspaceIntegrationTest)  
------ ---------------------------------------------------------------------------------------------------------------------------------- 
  33     Property Drupal\KernelTests\KernelTestBase::$container                                                                            
         (Drupal\Core\DependencyInjection\ContainerBuilder) does not accept                                                                
         Symfony\Component\DependencyInjection\ContainerInterface.                                                                         
------ ---------------------------------------------------------------------------------------------------------------------------------- 
 
[ERROR] Found 17663 errors

Custom modules

# Via command line
$  docker run --rm -v $(pwd):/data fazni/drupal-check:latest drupal-check -ad web/modules/custom
# docker-compose.yml
drupal_check:
  image: fazni/drupal-check:latest
  volumes:
    - .:/data