unil-lettres /
dilps-tiresias
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | return [ |
||
| 6 | 'doctrine' => [ |
||
| 7 | 'connection' => [ |
||
| 8 | 'orm_default' => [ |
||
| 9 | 'driverClass' => Doctrine\DBAL\Driver\PDO\MySQL\Driver::class, |
||
| 10 | 'params' => [ |
||
| 11 | 'host' => 'localhost', |
||
| 12 | 'dbname' => 'dilps', |
||
| 13 | 'user' => 'dilps', |
||
| 14 | 'password' => '', |
||
| 15 | 'port' => 3306, |
||
| 16 | 'driverOptions' => [ |
||
| 17 | PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8mb4', |
||
| 18 | ], |
||
| 19 | 'defaultTableOptions' => [ |
||
| 20 | 'charset' => 'utf8mb4', |
||
| 21 | 'collate' => 'utf8mb4_unicode_ci', |
||
| 22 | ], |
||
| 23 | ], |
||
| 24 | |||
| 25 | 'doctrine_mapping_types' => [ |
||
| 26 | 'point' => 'point', |
||
| 27 | ], |
||
| 28 | ], |
||
| 29 | ], |
||
| 30 | 'driver' => [ |
||
| 31 | 'orm_default' => [ |
||
| 32 | 'class' => Doctrine\ORM\Mapping\Driver\AttributeDriver::class, |
||
| 33 | 'cache' => 'array', |
||
| 34 | 'paths' => ['server/Application/Model'], |
||
| 35 | ], |
||
| 36 | ], |
||
| 37 | 'configuration' => [ |
||
| 38 | 'orm_default' => [ |
||
| 39 | 'naming_strategy' => Doctrine\ORM\Mapping\UnderscoreNamingStrategy::class, |
||
| 40 | 'enable_native_lazy_objects' => false, |
||
| 41 | 'proxy_dir' => getcwd() . '/data/cache/DoctrineORMModule/Proxy', |
||
| 42 | 'auto_generate_proxy_classes' => Doctrine\ORM\Proxy\ProxyFactory::AUTOGENERATE_NEVER, |
||
|
0 ignored issues
–
show
|
|||
| 43 | 'filters' => [ |
||
| 44 | Ecodev\Felix\ORM\Query\Filter\AclFilter::class => Ecodev\Felix\ORM\Query\Filter\AclFilter::class, |
||
| 45 | ], |
||
| 46 | 'numeric_functions' => [ |
||
| 47 | 'rand' => DoctrineExtensions\Query\Mysql\Rand::class, |
||
| 48 | 'native_in' => Ecodev\Felix\ORM\Query\NativeIn::class, |
||
| 49 | 'geomfromtext' => LongitudeOne\Spatial\ORM\Query\AST\Functions\Standard\StGeomFromText::class, |
||
| 50 | 'st_distance' => LongitudeOne\Spatial\ORM\Query\AST\Functions\MariaDB\SpDistance::class, |
||
| 51 | ], |
||
| 52 | 'string_functions' => [ |
||
| 53 | 'match' => DoctrineExtensions\Query\Mysql\MatchAgainst::class, |
||
| 54 | ], |
||
| 55 | ], |
||
| 56 | ], |
||
| 57 | 'types' => [ |
||
| 58 | 'MessageType' => Application\DBAL\Types\MessageTypeType::class, |
||
| 59 | 'UserRole' => Application\DBAL\Types\UserRoleType::class, |
||
| 60 | 'datetime' => Ecodev\Felix\DBAL\Types\ChronosType::class, |
||
| 61 | 'point' => LongitudeOne\Spatial\DBAL\Types\Geography\PointType::class, |
||
| 62 | ], |
||
| 63 | // migrations configuration |
||
| 64 | 'migrations' => [ |
||
| 65 | 'orm_default' => [ |
||
| 66 | 'table_storage' => [ |
||
| 67 | 'table_name' => 'doctrine_migration_versions', |
||
| 68 | ], |
||
| 69 | 'custom_template' => 'config/migration-template.txt', |
||
| 70 | 'migrations_paths' => [ |
||
| 71 | 'Application\Migration' => 'server/Application/Migration', |
||
| 72 | ], |
||
| 73 | ], |
||
| 74 | ], |
||
| 75 | ], |
||
| 76 | ]; |
||
| 77 |
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