abterphp /
contact
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace AbterPhp\Contact\Http\Controllers\Api; |
||
| 6 | |||
| 7 | use AbterPhp\Contact\Service\Execute\Form as RepoService; |
||
| 8 | use AbterPhp\Framework\Config\Provider as ConfigProvider; |
||
|
0 ignored issues
–
show
|
|||
| 9 | use AbterPhp\Framework\Databases\Queries\FoundRows; |
||
| 10 | use AbterPhp\Framework\Http\Controllers\ApiAbstract; |
||
|
0 ignored issues
–
show
The type
AbterPhp\Framework\Http\Controllers\ApiAbstract was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 11 | use Psr\Log\LoggerInterface; |
||
| 12 | |||
| 13 | class Form extends ApiAbstract |
||
| 14 | { |
||
| 15 | const ENTITY_SINGULAR = 'form'; |
||
| 16 | const ENTITY_PLURAL = 'forms'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Form constructor. |
||
| 20 | * |
||
| 21 | * @param LoggerInterface $logger |
||
| 22 | * @param RepoService $repoService |
||
| 23 | * @param FoundRows $foundRows |
||
| 24 | * @param ConfigProvider $configProvider |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 27 | LoggerInterface $logger, |
||
| 28 | RepoService $repoService, |
||
| 29 | FoundRows $foundRows, |
||
| 30 | ConfigProvider $configProvider |
||
| 31 | ) { |
||
| 32 | parent::__construct($logger, $repoService, $foundRows, $configProvider); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths