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-4 #10

Open
firecentaur opened this issue Jul 16, 2020 · 0 comments
Open

psr-4 #10

firecentaur opened this issue Jul 16, 2020 · 0 comments

Comments

@firecentaur
Copy link

firecentaur commented Jul 16, 2020

Hi there, I am using laravel 7, calling composer updating I got some errors
"
Deprecation Notice: Class Pauly4it\LaraTurk\LaraturkException located in ./vendor/pauly4it/laraturk/src/LaraTurkException.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class Pauly4it\LaraTurk\Facades\Laraturk located in ./vendor/pauly4it/laraturk/src/Facades/LaraTurk.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
"

But I fixed them by editing composer.json

"autoload": {
"files": [
"vendor/pauly4it/laraturk/src/LaraTurkException.php",
"vendor/pauly4it/laraturk/src/Facades/LaraTurk.php"
],
"psr-4": {
"App\": "app/",
"vendor\": "vendor"
},
"classmap": [
"database/seeds",
"vendor/pauly4it/laraturk/src",
"database/factories"
]
},

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