We have created the custom module and uploaded to Magento Marketplace and Installation & Varnish Test has been failed due to class does not exist.
If the class not exists, How the Code Sniffer passed?
But the class is exists. Don't know why extension is failed.
We have a custom interface ConnectorCustomerRepositoryInterface, The Testing says the class does not exist.
The classes are below:
<?php
namespace ABCSolutions\Connector365\Api\Customer
interface ConnectorCustomerRepositoryInterface{
..
}
and the extended Class
<?php
namespace ABCSolutions\Connector365\Model\ResourceModel;
class CustomerRepository implements \ABCSolutions\Connector365\Api\Customer\ConnectorCustomerRepositoryInterface{
...
}
And the di.xml
<preference for="ABCSolutions\Connector365\Api\Customer\ConnectorCustomerRepositoryInterface" type="ABCSolutions\Connector365\Model\ResourceModel\CustomerRepository"/>
And webapi.xml
file
<route url="/V1/connector/Customer_MultiCreate" method="POST">
<service class="ABCSolutions\Connector365\Api\Customer\ConnectorCustomerRepositoryInterface" method="Customer_MultiCreate"/>
<resources>
<resources ref="Magento_Customer::customer"/>
</resources>
</route>
And Installed the Varnish in my local magento system and compiled everything working in my local system.
Any help on this?