Skip to content

Refactor static analysis to work with Netlify #131

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

Merged
merged 9 commits into from
Sep 10, 2024
Merged

Conversation

branberry
Copy link
Collaborator

@branberry branberry commented Sep 10, 2024

Pull Request Info

This pull request resolves an issue with Netlify builds. Netlify will attempt to install any dependencies for various languages/frameworks if it detects certain configuration files. This is something we can't turn off, unfortunately. What was happening is that Netlify would attempt to use the composer.json to install dependencies, but due to differences between versions of PHP, this causes Netlify builds to fail.

To satisfy both systems, I've introduced a change here to move the composer.json to composer/composer.json.

Apologies for the inconvenience. Please let me know if there's any other way this can be addressed.

Successful static analysis run

Copy link

netlify bot commented Sep 10, 2024

Deploy Preview for docs-php-library ready!

Name Link
🔨 Latest commit 21d2d0d
🔍 Latest deploy log https://app.netlify.com/sites/docs-php-library/deploys/66e07e3b978ca00008adb77c
😎 Deploy Preview https://deploy-preview-131--docs-php-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@branberry branberry changed the title Update netlify.toml Refactor static analysis to work with Netlify Sep 10, 2024
@branberry branberry requested a review from GromNaN September 10, 2024 16:42
Copy link
Collaborator

@norareidy norareidy left a comment

Choose a reason for hiding this comment

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

LGTM

@branberry branberry merged commit baa2deb into master Sep 10, 2024
2 of 3 checks passed
@GromNaN GromNaN deleted the branberry-patch-1 branch September 10, 2024 17:15
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