abterphp /
admin
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace AbterPhp\Admin\Databases\Migrations; |
||
| 6 | |||
| 7 | use AbterPhp\Framework\Databases\Migrations\RawMigration; |
||
|
0 ignored issues
–
show
|
|||
| 8 | use DateTime; |
||
| 9 | use Opulence\Databases\IConnection; |
||
| 10 | |||
| 11 | class Init extends RawMigration |
||
| 12 | { |
||
| 13 | const FILENAME = 'admin.sql'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Gets the creation date, which is used for ordering |
||
| 17 | * |
||
| 18 | * @return DateTime The date this migration was created |
||
| 19 | */ |
||
| 20 | public static function getCreationDate(): DateTime |
||
| 21 | { |
||
| 22 | return DateTime::createFromFormat(DateTime::ATOM, '2019-02-28T21:00:00+00:00'); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |
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