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

Composer gives .ini hints about missing extensions #3177

Merged
merged 1 commit into from Jan 25, 2016
Merged

Composer gives .ini hints about missing extensions #3177

merged 1 commit into from Jan 25, 2016

Conversation

singles
Copy link
Contributor

@singles singles commented Jul 31, 2014

Implements feature described in #2756 (no opinions there, so I chose 4th option - one information at the end).

{
$paths = array(php_ini_loaded_file());

if ($additionalFiles = php_ini_scanned_files()) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

php_ini_scanned_files won't work with hhvm yet. facebook/hhvm#3872

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now, you can use:
if ($additionalFiles = (defined('HHVM_VERSION') ? [] : php_ini_scanned_files())) {

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a false return is a valid return though and more inline how it seems like it will be implemented initially.

@singles
Copy link
Contributor Author

singles commented Sep 30, 2014

Thanks @jrobeson and @Majkl578 for spotting HHVM incompatibility. Just pushed updated version.

@wadtech
Copy link

wadtech commented Oct 22, 2014

Great patch. Lack of feedback is a devil with missing extensions.

@odino
Copy link

odino commented Dec 2, 2014

+1

1 similar comment
@kmohrf
Copy link

kmohrf commented Jun 24, 2015

+1

@singles
Copy link
Contributor Author

singles commented Jan 21, 2016

Hi @Seldaek, I’m just wondering what the status of this PR is. I know you may be very busy but I feel disappointed because I didn’t get a response in almost two years. It would help me to know if there’s anything I could do better here or if it’s not going in ever. Thanks :)

@Seldaek Seldaek merged commit 09417ca into composer:master Jan 25, 2016
Seldaek added a commit that referenced this pull request Jan 25, 2016
@Seldaek
Copy link
Member

Seldaek commented Jan 25, 2016

@singles hey, really sorry about the delay merging this :/ It totally escaped me and I haven't had time to go over all open PRs in a long time. Thanks for the work though! It looks better like that and hopefully will help newcomers figure out what's up with extensions.

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.

None yet

6 participants