mygento / jeeves Goto Github PK
View Code? Open in Web Editor NEWCode generator M2
Code generator M2
phpdoc nullable false
Magento\Framework\DataObject\IdentityInterface
CustomerAddress grid is available
CustomerAddress grid is unavailable (404).
It happens because of lishnee podcherkivanie in app/code/Mygento/SampleModule/etc/adminhtml/menu.xml
action="sample_module/customer_address"
. Underscore separates folders! Camelcased entities should be without underscore!
Correct version:
<?php
action="sample_module/customeraddress"
And consequently - Underscore should be removed from layout filenames.
A takzhe vot zdes ubrat underscore:
<settings>
<submitUrl path="sample_module/customer_address/save"/>
</settings>
I think it's better to use Twig templating based generator.
This way, you can leverage the whole file with just a dynamic placeholder.
There is used old library for code generating https://github.com/memio/memio. Latest update 2 years ago.
It causes following error:
PHP Fatal error: Cannot use Memio\Model\Object as Object because 'Object' is a special class name in phar:///usr/local/bin/jeeves/src/Jeeves/Console/Command/PaymentGateway.php on line 12
Option to create crud entity with \Magento\Framework\Api\ExtensibleDataInterface
Line app/code/MostWanted/BulkOffer/Controller/Adminhtml/Lead/Delete.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
21 Parameter #1 $message of method Magento\Framework\Message\ManagerInterface::addErrorMessage() expects string, Magento\Framework\Phrase given.
28 Parameter #1 $message of method Magento\Framework\Message\ManagerInterface::addSuccessMessage() expects string, Magento\Framework\Phrase given.
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Controller/Adminhtml/Lead/Edit.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------
45 Parameter #1 $message of method Magento\Framework\Message\ManagerInterface::addErrorMessage() expects string, Magento\Framework\Phrase given.
58 Parameter #1 $label of method Magento\Backend\Model\View\Result\Page::addBreadcrumb() expects string, Magento\Framework\Phrase given.
59 Parameter #2 $title of method Magento\Backend\Model\View\Result\Page::addBreadcrumb() expects string, Magento\Framework\Phrase given.
61 Parameter #1 $prefix of method Magento\Framework\View\Page\Title::prepend() expects string, Magento\Framework\Phrase given.
------ -----------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Controller/Adminhtml/Lead/Index.php
------ -----------------------------------------------------------------------------------------------------------------------------
43 Parameter #1 $prefix of method Magento\Framework\View\Page\Title::prepend() expects string, Magento\Framework\Phrase given.
------ -----------------------------------------------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Controller/Adminhtml/Lead/InlineEdit.php
------ -------------------------------------------------------------------------------------
51 Call to an undefined method MostWanted\BulkOffer\Api\Data\LeadInterface::getData().
51 Call to an undefined method MostWanted\BulkOffer\Api\Data\LeadInterface::setData().
------ -------------------------------------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Controller/Adminhtml/Lead/MassDelete.php
------ -------------------------------------------------------------------------------------------------------------------------------------------------
45 Parameter #1 $message of method Magento\Framework\Message\ManagerInterface::addSuccessMessage() expects string, Magento\Framework\Phrase given.
------ -------------------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Controller/Adminhtml/Lead/Save.php
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
45 Call to an undefined method Magento\Framework\App\RequestInterface::getPostValue().
55 Right side of && is always true.
58 Parameter #1 $message of method Magento\Framework\Message\ManagerInterface::addErrorMessage() expects string, Magento\Framework\Phrase given.
71 Parameter #1 $message of method Magento\Framework\Message\ManagerInterface::addSuccessMessage() expects string, Magento\Framework\Phrase given.
81 Parameter #2 $alternativeText of method Magento\Framework\Message\ManagerInterface::addExceptionMessage() expects string|null, Magento\Framework\Phrase given.
------ ----------------------------------------------------------------------------------------------------------------------------------------------------------------
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Model/LeadRepository.php
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
66 Parameter #1 $object of method Magento\Framework\Model\ResourceModel\Db\AbstractDb::save() expects Magento\Framework\Model\AbstractModel, MostWanted\BulkOffer\Api\Data\LeadInterface given.
83 Parameter #1 $object of method Magento\Framework\Model\ResourceModel\Db\AbstractDb::delete() expects Magento\Framework\Model\AbstractModel, MostWanted\BulkOffer\Api\Data\LeadInterface given.
112 Parameter #1 $items of method MostWanted\BulkOffer\Api\Data\LeadSearchResultsInterface::setItems() expects array<MostWanted\BulkOffer\Api\Data\LeadInterface>, array<Magento\Framework\DataObject> given.
------ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
------ ---------------------------------------------------------------------
Line app/code/MostWanted/BulkOffer/Ui/Component/Listing/LeadActions.php
------ ---------------------------------------------------------------------
Class Mygento\Base\Ui\Component\Listing\Actions not found.
๐ก Learn more at https://phpstan.org/user-guide/discovering-symbols
------ ---------------------------------------------------------------------
[ERROR] Found 19 errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.