Skip to content

Fix issue where scssphp/Server ALWAYS sets default timezone to UTC #12

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dleffler
Copy link
Contributor

@dleffler dleffler commented Mar 1, 2023

This is a problem where the program may have already set a local timezone and a scssphp/Server object is instanciated. Also adds some phpDOC exceptions statements

1. Add missing @throws to function comments
2. Adds sourcemap element to array returned by compileFile() since the sourcemap must now be saved by calling program
3. Adds current file to list of files returned by compile() and compileFile(), Issue scssphp#7
…hich is only needed if the server doesn't have it set

Adds some PHPDoc 'exception' statements

Makes code more PHP v8 friendly
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.

1 participant