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

Add PSR-4 autoload directives #50

Closed
tractorcow opened this issue Jul 16, 2020 · 1 comment · Fixed by #51
Closed

Add PSR-4 autoload directives #50

tractorcow opened this issue Jul 16, 2020 · 1 comment · Fixed by #51

Comments

@tractorcow
Copy link
Contributor

This would help when autoloading (e.g. with sspak).

silverstripe/sspak#76

I noticed some of the namespaces are a bit inconsistent, but I could get it working with these in my local composer.json

"psr-4": {
            "PhpTek\\Sentry\\": "vendor/phptek/sentry/src/",
            "PhpTek\\Sentry\\Monolog\\": "vendor/phptek/sentry/src/"
        },
tractorcow added a commit to tractorcow/silverstripe-sentry that referenced this issue Jul 19, 2020
Fix minor namespace bugs / style issues
Fix indentation spaces
Namespace tests
Fixes phptek#50
@tractorcow
Copy link
Contributor Author

Fix at #51 @phptek :)

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 a pull request may close this issue.

1 participant