Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Last active May 6, 2019 16:42
Show Gist options
  • Save vijaycs85/87da9671f17a572f99d052b5173307bd to your computer and use it in GitHub Desktop.
Save vijaycs85/87da9671f17a572f99d052b5173307bd to your computer and use it in GitHub Desktop.
➜ drupal8 git:(8.8.x) ✗ drupal-check -vvv modules/contrib/cloudflare
Current working directory: /www/drupal8
Using Drupal root: /www/drupal8
Using vendor root: /www/drupal8/vendor
Using autoloader: /www/drupal8/vendor/autoload.php
/www/drupal8/modules/contrib/cloudflare/tests/modules/cloudflare_form_tester/src/Mocks/ComposerDependenciesCheckMock.php
/www/drupal8/modules/contrib/cloudflare/tests/modules/cloudflare_form_tester/src/Mocks/ZoneMock.php
/www/drupal8/modules/contrib/cloudflare/tests/modules/cloudflare_form_tester/src/CloudflareFormTesterServiceProvider.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Unit/StateTest.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Unit/ClientIpRestoreTest.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Functional/CloudFlareAdminSettingsFormTest.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Functional/ComposerDependencyTest.php
/www/drupal8/modules/contrib/cloudflare/tests/src/Functional/CloudFlareAdminSettingsInvalidFormTest.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/tests/src/Unit/DailyTagPurgeLimitCheckTest.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/tests/src/Unit/DiagnosticCheckTestBase.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/tests/src/Unit/ApiRateLimitCheckTest.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/tests/src/Unit/CredentialTestCheckTest.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/ComposerDependenciesCheck.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/CredentialCheck.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/ApiRateLimitCheck.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/DailyTagPurgeLimitCheck.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/src/Plugin/Purge/Purger/CloudFlarePurger.php
/www/drupal8/modules/contrib/cloudflare/modules/cloudflarepurger/src/EventSubscriber/CloudFlareCacheTagHeaderGenerator.php
/www/drupal8/modules/contrib/cloudflare/src/ComposerDependenciesCheck.php
/www/drupal8/modules/contrib/cloudflare/src/CloudFlareComposerDependenciesCheckInterface.php
/www/drupal8/modules/contrib/cloudflare/src/Form/SettingsForm.php
/www/drupal8/modules/contrib/cloudflare/src/Form/ZoneSelectionForm.php
/www/drupal8/modules/contrib/cloudflare/src/Timestamp.php
/www/drupal8/modules/contrib/cloudflare/src/CloudFlareStateInterface.php
/www/drupal8/modules/contrib/cloudflare/src/CloudFlareTimestampInterface.php
/www/drupal8/modules/contrib/cloudflare/src/Wizard/ConfigWizard.php
/www/drupal8/modules/contrib/cloudflare/src/CloudFlareZoneInterface.php
/www/drupal8/modules/contrib/cloudflare/src/State.php
/www/drupal8/modules/contrib/cloudflare/src/Zone.php
/www/drupal8/modules/contrib/cloudflare/src/EventSubscriber/ClientIpRestore.php
/www/drupal8/modules/contrib/cloudflare/src/Exception/ComposerDependencyException.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/src/EventSubscriber/CloudFlareCacheTagHeaderGenerator.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflarepurger\EventSubscriber\CloudFlareCacheTagHeaderGenerator was not found while trying to analyse it - autoloading is probably not configured
properly.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/ApiRateLimitCheck.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflarepurger\Plugin\Purge\DiagnosticCheck\ApiRateLimitCheck was not found while trying to analyse it - autoloading is probably not configured
properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/ComposerDependenciesCheck.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflarepurger\Plugin\Purge\DiagnosticCheck\ComposerDependenciesCheck was not found while trying to analyse it - autoloading is probably not
configured properly.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/CredentialCheck.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflarepurger\Plugin\Purge\DiagnosticCheck\CredentialCheck was not found while trying to analyse it - autoloading is probably not configured
properly.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/src/Plugin/Purge/DiagnosticCheck/DailyTagPurgeLimitCheck.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflarepurger\Plugin\Purge\DiagnosticCheck\DailyTagPurgeLimitCheck was not found while trying to analyse it - autoloading is probably not configured
properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/src/Plugin/Purge/Purger/CloudFlarePurger.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflarepurger\Plugin\Purge\Purger\CloudFlarePurger was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/tests/src/Unit/ApiRateLimitCheckTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflarepurger\Unit\ApiRateLimitCheckTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/tests/src/Unit/CredentialTestCheckTest.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflarepurger\Unit\CredentialTestCheckTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/tests/src/Unit/DailyTagPurgeLimitCheckTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflarepurger\Unit\DailyTagPurgeLimitCheckTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Line modules/cloudflarepurger/tests/src/Unit/DiagnosticCheckTestBase.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflarepurger\Unit\DiagnosticCheckTestBase was not found while trying to analyse it - autoloading is probably not configured properly.
------ --------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/CloudFlareComposerDependenciesCheckInterface.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\CloudFlareComposerDependenciesCheckInterface was not found while trying to analyse it - autoloading is probably not configured properly.
------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Line src/CloudFlareStateInterface.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\CloudFlareStateInterface was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Line src/CloudFlareTimestampInterface.php
------ --------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\CloudFlareTimestampInterface was not found while trying to analyse it - autoloading is probably not configured properly.
------ --------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------
Line src/CloudFlareZoneInterface.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\CloudFlareZoneInterface was not found while trying to analyse it - autoloading is probably not configured properly.
------ ---------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line src/ComposerDependenciesCheck.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\ComposerDependenciesCheck was not found while trying to analyse it - autoloading is probably not configured properly.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
Line src/EventSubscriber/ClientIpRestore.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\EventSubscriber\ClientIpRestore was not found while trying to analyse it - autoloading is probably not configured properly.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
Line src/Exception/ComposerDependencyException.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\Exception\ComposerDependencyException was not found while trying to analyse it - autoloading is probably not configured properly.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/SettingsForm.php
------ ---------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\Form\SettingsForm was not found while trying to analyse it - autoloading is probably not configured properly.
------ ---------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------------------------
Line src/Form/ZoneSelectionForm.php
------ --------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\Form\ZoneSelectionForm was not found while trying to analyse it - autoloading is probably not configured properly.
------ --------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------
Line src/State.php
------ ---------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\State was not found while trying to analyse it - autoloading is probably not configured properly.
------ ---------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------
Line src/Timestamp.php
------ -------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\Timestamp was not found while trying to analyse it - autoloading is probably not configured properly.
------ -------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------
Line src/Wizard/ConfigWizard.php
------ -----------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\Wizard\ConfigWizard was not found while trying to analyse it - autoloading is probably not configured properly.
------ -----------------------------------------------------------------------------------------------------------------------------------------
------ --------------------------------------------------------------------------------------------------------------------------
Line src/Zone.php
------ --------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare\Zone was not found while trying to analyse it - autoloading is probably not configured properly.
------ --------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/modules/cloudflare_form_tester/src/CloudflareFormTesterServiceProvider.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare_form_tester\CloudflareFormTesterServiceProvider was not found while trying to analyse it - autoloading is probably not configured properly.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/modules/cloudflare_form_tester/src/Mocks/ComposerDependenciesCheckMock.php
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare_form_tester\Mocks\ComposerDependenciesCheckMock was not found while trying to analyse it - autoloading is probably not configured properly.
------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/modules/cloudflare_form_tester/src/Mocks/ZoneMock.php
------ ------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\cloudflare_form_tester\Mocks\ZoneMock was not found while trying to analyse it - autoloading is probably not configured properly.
------ ------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Functional/CloudFlareAdminSettingsFormTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflare\Functional\CloudFlareAdminSettingsFormTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Functional/CloudFlareAdminSettingsInvalidFormTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflare\Functional\CloudFlareAdminSettingsInvalidFormTest was not found while trying to analyse it - autoloading is probably not configured
properly.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Functional/ComposerDependencyTest.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflare\Functional\ComposerDependencyTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ -------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Unit/ClientIpRestoreTest.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflare\Unit\ClientIpRestoreTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------------------------------------------------------
Line tests/src/Unit/StateTest.php
------ ------------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\Tests\cloudflare\Unit\StateTest was not found while trying to analyse it - autoloading is probably not configured properly.
------ ------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------
Error
----------------------------------
Ignored error pattern #\Drupal
calls should be avoided in
classes, use dependency
injection instead# was not
matched in reported errors.
Ignored error pattern #Plugin
definitions cannot be altered.#
was not matched in reported
errors.
Ignored error pattern #Missing
cache backend declaration for
performance.# was not matched in
reported errors.
Ignored error pattern #Plugin
manager has cache backend
specified but does not declare
cache tags.# was not matched in
reported errors.
----------------------------------
[ERROR] Found 35 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment