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

PSR-0 Standard Issue in SiteInfo.php #2

Open
twohue opened this issue Mar 9, 2022 · 0 comments
Open

PSR-0 Standard Issue in SiteInfo.php #2

twohue opened this issue Mar 9, 2022 · 0 comments

Comments

@twohue
Copy link

twohue commented Mar 9, 2022

Composer Warning: Class TalentLMS_Siteinfo located in .../vendor/dragonflyrg/talentlms/src\TalentLMS\SiteInfo.php does not comply with psr-0 autoloading standard. Skipping.

Granted, PSR-0 is deprecated, and PSR-4 is what should be used, but PSR-0 is the specific error issued by composer when requiring this package. I suspect that the class name is the culprit here.

class Siteinfo

should be:

class SiteInfo

The class simply needs to be properly Pascal Cased to be compliant.

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

No branches or pull requests

1 participant