Git Product home page Git Product logo

ca_config's People

Contributors

seamuslee001 avatar totten avatar

Watchers

 avatar  avatar  avatar

Forkers

seamuslee001

ca_config's Issues

PHP 8.2 support

In CiviCRM some tests are failing on PHP8.2 like so:

CRM_Utils_HttpClientTest::testFetchHttps_invalid_verify
Creation of dynamic property CA_Config_Curl::$enableSSL is deprecated

/home/jenkins/bknix-edge/build/build-1/web/sites/all/modules/civicrm/vendor/totten/ca-config/src/CA/Config/Curl.php:85
/home/jenkins/bknix-edge/build/build-1/web/sites/all/modules/civicrm/vendor/totten/ca-config/src/CA/Config/Curl.php:79
/home/jenkins/bknix-edge/build/build-1/web/sites/all/modules/civicrm/CRM/Utils/HttpClient.php:179
/home/jenkins/bknix-edge/build/build-1/web/sites/all/modules/civicrm/CRM/Utils/HttpClient.php:75
/home/jenkins/bknix-edge/build/build-1/web/sites/all/modules/civicrm/tests/phpunit/CRM/Utils/HttpClientTest.php:59
/home/jenkins/bknix-edge/build/build-1/web/sites/all/modules/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:235
/home/jenkins/bknix-edge/extern/phpunit8/phpunit8.phar:1721

I think the following properties are currently dynamic, but can be declared:

  • CA_Config_Curl->enableSSL
  • CA_Config_Curl->verifyPeer
  • CA_Config_Curl->caFile
  • CA_Config_Stream->enableSSL
  • CA_Config_Stream->verifyPeer
  • CA_Config_Stream->caFile

It's possible there are others I've missed.

Probably cacert.pem needs updating

Exception: "Certificate Authority file is too old. Please contact the system administrator. See also: \sites\all\modules\civicrm\vendor\totten\ca-config\src\CA\Config/cacert.pem"

0 \sites\all\modules\civicrm\CRM\Utils\HttpClient.php(180): CA_Config_Curl::probe((Array:3))
1 \sites\all\modules\civicrm\CRM\Utils\HttpClient.php(118): CRM_Utils_HttpClient->createCurl("https://alert.civicrm.org/alert?prot=1&ver=5.50.alpha1&uf=Drupal...")
2 \sites\all\modules\civicrm\CRM\Core\CommunityMessages.php(126): CRM_Utils_HttpClient->get("https://alert.civicrm.org/alert?prot=1&ver=5.50.alpha1&uf=Drupal...")
3 \sites\all\modules\civicrm\CRM\Core\CommunityMessages.php(100): CRM_Core_CommunityMessages->fetchDocument()
4 \sites\all\modules\civicrm\CRM\Core\CommunityMessages.php(159): CRM_Core_CommunityMessages->getDocument()
5 \sites\all\modules\civicrm\CRM\Contact\Page\DashBoard.php(100): CRM_Core_CommunityMessages->pick()
6 \sites\all\modules\civicrm\CRM\Contact\Page\DashBoard.php(39): CRM_Contact_Page_DashBoard->getCommunityMessageOutput()
7 \sites\all\modules\civicrm\CRM\Core\Invoke.php(319): CRM_Contact_Page_DashBoard->run((Array:2), NULL)
8 \sites\all\modules\civicrm\CRM\Core\Invoke.php(69): CRM_Core_Invoke::runItem((Array:17))
9 \sites\all\modules\civicrm\CRM\Core\Invoke.php(36): CRM_Core_Invoke::_invoke((Array:2))
10 \sites\all\modules\civicrm\drupal\civicrm.module(471): CRM_Core_Invoke::invoke((Array:2))
11 \includes\menu.inc(527): civicrm_invoke("dashboard")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.