Actualización

This commit is contained in:
Xes
2025-04-10 12:24:57 +02:00
parent 8969cc929d
commit 45420b6f0d
39760 changed files with 4303286 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Doctrine\DBAL\Migrations;
class MigrationsVersion
{
private static $version = 'v1.8.0';
public static function VERSION()
{
$gitversion = '@git-version@';
if (self::isACustomPharBuild($gitversion)) {
return $gitversion;
}
return self::$version;
}
/**
* @param string $gitversion
* @return bool
*
* Check if doctrine migration is installed by composer or
* in a modified (not tagged) phar version.
*/
private static function isACustomPharBuild($gitversion)
{
return $gitversion !== '@' . 'git-version@';
}
}