Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete declare calls. #1

Merged
merged 1 commit into from
Mar 14, 2017
Merged

Conversation

mollux
Copy link

@mollux mollux commented May 16, 2016

@totten
Copy link
Member

totten commented Mar 13, 2017

Thanks @mollux. I didn't notice this PR when it was submitted, @xurizaemon pointed out the same issue in http://civicrm.stackexchange.com/questions/16314/does-civicrm-have-a-recommended-setting-for-zend-multibyte

This fixes an problem where the test suite prints out a long, weird debug message on many dev systems.

I'd like to merge since it was an upstream change (released in upstream's v1.8), although I feel a little ignorant about the topic of email character sets. I'm working on a test run on test-ubu1204-5 and will merge once it passes -- unless there are other comments/issues from @mlutfy @samuelsov @xurizaemon?

@totten
Copy link
Member

totten commented Mar 14, 2017

Test suite passed modulo one common/unrelated false-negative (CRM_Core_Payment_AuthorizeNetTest::testCreateSingleNowDated).

@totten totten merged commit e0feff0 into civicrm:1.7-civi Mar 14, 2017
totten added a commit to totten/civicrm-core that referenced this pull request Mar 14, 2017
On many systems, the test suite outputs a long message which begins with:

```
PHP Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /path/to/sites/all/modules/civicrm/vendor/zetacomponents/mail/src/transports/variable/var_set.php on line 2
```

This patch addresses the warning by updating the version of ezcMail (aka `zetacomponents/mail`).  See also:

 * civicrm/zetacomponents-mail#1
 * http://civicrm.stackexchange.com/questions/16314/does-civicrm-have-a-recommended-setting-for-zend-multibyte
monishdeb pushed a commit to monishdeb/civicrm-core that referenced this pull request May 2, 2017
On many systems, the test suite outputs a long message which begins with:

```
PHP Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /path/to/sites/all/modules/civicrm/vendor/zetacomponents/mail/src/transports/variable/var_set.php on line 2
```

This patch addresses the warning by updating the version of ezcMail (aka `zetacomponents/mail`).  See also:

 * civicrm/zetacomponents-mail#1
 * http://civicrm.stackexchange.com/questions/16314/does-civicrm-have-a-recommended-setting-for-zend-multibyte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants