Comments (12)
from laravelbatch.
hi
please config app.php
from laravelbatch.
i just tried that but still it displays same error.
Deprecation Notice: Class Mavinoo\LaravelBatch\Batch located in vendor/mavinoo/laravel-batch/src\LaravelBatch.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0
from laravelbatch.
What is the Laravel version?
from laravelbatch.
please read issues: Deprecation notices for PSR-4 autoloading with correct paths?
from laravelbatch.
Its something to do with class name not matching file name
Deprecation Notice: Class Mavinoo\LaravelBatch\Batch located in ./vendor/mavinoo/laravel-batch/src/LaravelBatch.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v2.0.
Renaming src/LaravelBatch.php
to src/Batch.php
solves the issue
from laravelbatch.
@mavinoo Your LaravelBatch.php
file contains a class named Batch
, this must be renamed to LaravelBatch
or you must rename the file to Batch.php
, so the that filename and the class it contains are the same
Composer is now checking these things and warning users so they can do something about it before moving to Composer v2.
from laravelbatch.
Can you please release a new version aswell?
from laravelbatch.
@lorvent the PR submitted only renames the class, but the references from other files to this class need to be renamed as well.
For example the Service provider still references the old Batch class
from laravelbatch.
oops, so it needs another PR.
from laravelbatch.
Fixed
from laravelbatch.
Glad to know,
is it ready for release now?
from laravelbatch.
Related Issues (20)
- updateWithTwoIndex not support increment / decrement
- If text with double quotes cannot be escaped
- New release? HOT 1
- updateWithTwoIndex not creating new record if not exist HOT 2
- updateWithThreeIndex HOT 2
- exception : should not be called statically HOT 3
- Dealing with object/array values HOT 1
- Batch::update without index HOT 1
- ParseError: syntax error, unexpected 'return' (T_RETURN) in version 2.3.2, 2.3.3. HOT 3
- syntax error, unexpected 'return' (T_RETURN) HOT 3
- Does it work with laravel 9? Did not work with laravel 9 in my project. 🐛 HOT 2
- Request for new version HOT 2
- the new releases after 2.3.1 has a bug in file Batch.php - Insert Function HOT 2
- Syntax error, unexpected token "return" :: 275 line HOT 3
- Syntax error caused by single quotes in a json string HOT 1
- PHP 7.4 run Batch::update syntax error Batch.php:275
- how to update with pivot tables?
- Update rows with single quote
- Its possible to deactivate timestamps? HOT 1
- Non-static method Mavinoo\\Batch\\Batch::update() cannot be called statically HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravelbatch.