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

Deprecated getPublicFilesystemPath in SassPublicPathAssetPathResolver, fixes phpstan suite #33

Closed
wants to merge 1 commit into from

Conversation

evertharmeling
Copy link
Contributor

@evertharmeling evertharmeling commented Nov 13, 2023

The PHPStan error is caused because of the removal of getPublicFilesystemPath in PublicAssetsPathResolverInterface.

Removing the method here also fixes the phpstan error.

Guess since this bundle is still in it's 0.x major version we could just follow the asset-mapper component? Or do we need to deprecate the method and add an ignore in the phpstan config and remove it in the 1.x version?

edit: Deprecated the function and added an ignore to phpstan

@evertharmeling evertharmeling force-pushed the phpstan branch 2 times, most recently from b34fecd to c2c3892 Compare November 13, 2023 20:02
@evertharmeling evertharmeling changed the title Removed getPublicFilesystemPath from SassPublicPathAssetPathResolver Deprecated getPublicFilesystemPath in SassPublicPathAssetPathResolver, fixes phpstan suite Nov 13, 2023
… as it is removed from PublicAssetsPathResolverInterface
@bocharsky-bw
Copy link
Member

The problem with PHPStan error was fixed in a different way in #22 - we need to revert this here now. Actually, it seems we should just close this because we get rid of that silently, and it will throw anyway

@evertharmeling
Copy link
Contributor Author

Ah right missed that PR, sure!

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