Comments (3)
Error from the module.
Thanks @Quetzacoalt91
Hey,
The module dependencies should be loaded when the core ones do not exist. Can you please follow https://devdocs.prestashop.com/1.7/modules/concepts/composer/#setup-composer-in-a-module so your autoloader is placed at the end of the list with
"prepend-autoloader": false
?
from php-dev-tools.
2 questions:
- would it be possible to automaitcally (I'm thinking about CI) find such an error ? maybe install a PS then use CLI command to install the module ?
- we need to update all modules with
"prepend-autoloader": false
, right ?
from php-dev-tools.
Note: using prepend-autoloader
does not modify composer.lock
from php-dev-tools.
Related Issues (17)
- Improve maintenability of bootstrap.php (phpstan) HOT 1
- Add GitHub Action examples for how to use it HOT 1
- Add command to generate/update LICENSE.md file and CONTRIBUTORS.md file
- Define constants when supposed to be existing in core
- PHPStan - Add a rule that checks module hooks starting with `action` return void
- Prestashop: FatalThrowableError after installing the dev tools HOT 20
- Add validator check HOT 1
- Whitespace after file header
- initial phpstan.neon is bugged
- Lot of "Warning: Use of undefined constant __PS_BASE_URI__ - assumed '__PS_BASE_URI__' HOT 1
- Errors that must be ignored in modules could be fixed with stub files
- command 'phpstan:init' should not return 0 when file not overriden HOT 1
- Cannot execute phpstan because of phpstan-shim
- Set tools (phpstan, php-cd-fixer) as recommended dependencies HOT 1
- Make index.php files and header management easier HOT 2
- Consider renaming this project HOT 4
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 php-dev-tools.