Compare commits
No commits in common. "4df250d9088f75a0f26d9de37e983816acdf6592" and "ea2ec447e640afe39ad86c5e3592c3dbb5ea5ebf" have entirely different histories.
4df250d908
...
ea2ec447e6
|
@ -1,6 +0,0 @@
|
|||
# define your env variables for the test env here
|
||||
KERNEL_CLASS='App\Kernel'
|
||||
APP_SECRET='$ecretf0rt3st'
|
||||
SYMFONY_DEPRECATIONS_HELPER=999999
|
||||
PANTHER_APP_ENV=panther
|
||||
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
|
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -4,8 +4,3 @@
|
|||
/var/
|
||||
/vendor/
|
||||
###< symfony/framework-bundle ###
|
||||
|
||||
###> phpunit/phpunit ###
|
||||
/phpunit.xml
|
||||
.phpunit.result.cache
|
||||
###< phpunit/phpunit ###
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
"type": "project",
|
||||
"license": "proprietary",
|
||||
"require": {
|
||||
"php": "^8.1.0",
|
||||
"php": "^8.0.0",
|
||||
"composer/package-versions-deprecated": "1.11.99.5",
|
||||
"doctrine/doctrine-bundle": "^2",
|
||||
"doctrine/doctrine-migrations-bundle": "^3.2.2",
|
||||
"doctrine/doctrine-migrations-bundle": "^2",
|
||||
"doctrine/orm": "^2",
|
||||
"sensio/framework-extra-bundle": "^6.2.6",
|
||||
"symfony/form": "^6.0.3",
|
||||
|
@ -15,28 +15,23 @@
|
|||
"symfony/twig-bundle": "^6.0",
|
||||
"symfony/validator": "^6.0.3",
|
||||
"symfony/yaml": "^6.0.3",
|
||||
"twig/extra-bundle": "^2.12|^3.0",
|
||||
"twig/twig": "^2.12|^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^9.5",
|
||||
"rector/rector": "^0.12.16",
|
||||
"roave/security-advisories": "dev-master",
|
||||
"symfony/debug": "^4.4.9",
|
||||
"symfony/debug-bundle": "^6.0",
|
||||
"symfony/dotenv": "^6.0.3",
|
||||
"symfony/flex": "^2.1.6",
|
||||
"symfony/stopwatch": "^6.0.3",
|
||||
"symfony/web-profiler-bundle": "^6.0",
|
||||
"symplify/easy-coding-standard": "^10.0"
|
||||
"symfony/stopwatch": "^5.4",
|
||||
"symfony/web-profiler-bundle": "^6.0"
|
||||
},
|
||||
"config": {
|
||||
"preferred-install": {
|
||||
"*": "dist"
|
||||
},
|
||||
"sort-packages": true,
|
||||
"allow-plugins": {
|
||||
"symfony/flex": true
|
||||
}
|
||||
"sort-packages": true
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
2576
composer.lock
generated
2576
composer.lock
generated
File diff suppressed because it is too large
Load Diff
|
@ -1,42 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
|
||||
backupGlobals="false"
|
||||
colors="true"
|
||||
bootstrap="tests/bootstrap.php"
|
||||
convertDeprecationsToExceptions="false"
|
||||
>
|
||||
<php>
|
||||
<ini name="display_errors" value="1" />
|
||||
<ini name="error_reporting" value="-1" />
|
||||
<server name="APP_ENV" value="test" force="true" />
|
||||
<server name="SHELL_VERBOSITY" value="-1" />
|
||||
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
|
||||
<server name="SYMFONY_PHPUNIT_VERSION" value="9.5" />
|
||||
</php>
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="Project Test Suite">
|
||||
<directory>tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<coverage processUncoveredFiles="true">
|
||||
<include>
|
||||
<directory suffix=".php">src</directory>
|
||||
</include>
|
||||
</coverage>
|
||||
|
||||
<listeners>
|
||||
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
|
||||
</listeners>
|
||||
|
||||
<!-- Run `composer require symfony/panther` before enabling this extension -->
|
||||
<!--
|
||||
<extensions>
|
||||
<extension class="Symfony\Component\Panther\ServerExtension" />
|
||||
</extensions>
|
||||
-->
|
||||
</phpunit>
|
66
rector.php
66
rector.php
|
@ -1,66 +0,0 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Core\Configuration\Option;
|
||||
use Rector\Doctrine\Set\DoctrineSetList;
|
||||
use Rector\Set\ValueObject\LevelSetList;
|
||||
use Rector\Symfony\Set\SymfonyLevelSetList;
|
||||
use Rector\Symfony\Set\SymfonySetList;
|
||||
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
||||
|
||||
return static function (ContainerConfigurator $containerConfigurator): void {
|
||||
$parameters = $containerConfigurator->parameters();
|
||||
$parameters->set(Option::AUTO_IMPORT_NAMES, TRUE);
|
||||
$parameters->set(Option::IMPORT_SHORT_CLASSES, TRUE);
|
||||
$parameters->set(Option::SKIP, [
|
||||
Rector\Php81\Rector\Property\ReadOnlyPropertyRector::class,
|
||||
]);
|
||||
|
||||
$containerConfigurator->import(DoctrineSetList::ANNOTATIONS_TO_ATTRIBUTES);
|
||||
$containerConfigurator->import(SymfonySetList::ANNOTATIONS_TO_ATTRIBUTES);
|
||||
$containerConfigurator->import(LevelSetList::UP_TO_PHP_81);
|
||||
$containerConfigurator->import(SymfonyLevelSetList::UP_TO_SYMFONY_60);
|
||||
|
||||
// get services (needed for register a single rule)
|
||||
$services = $containerConfigurator->services();
|
||||
|
||||
foreach ([
|
||||
Rector\CodeQuality\Rector\BooleanNot\SimplifyDeMorganBinaryRector::class,
|
||||
Rector\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector::class,
|
||||
Rector\CodeQuality\Rector\For_\ForRepeatedCountToOwnVariableRector::class,
|
||||
Rector\CodeQuality\Rector\For_\ForToForeachRector::class,
|
||||
Rector\CodeQuality\Rector\If_\ConsecutiveNullCompareReturnsToNullCoalesceQueueRector::class,
|
||||
Rector\CodeQuality\Rector\If_\SimplifyIfElseToTernaryRector::class,
|
||||
Rector\CodeQuality\Rector\If_\SimplifyIfReturnBoolRector::class,
|
||||
Rector\CodeQuality\Rector\Ternary\SimplifyDuplicatedTernaryRector::class,
|
||||
Rector\CodeQuality\Rector\Ternary\SimplifyTautologyTernaryRector::class,
|
||||
Rector\CodeQuality\Rector\Ternary\SwitchNegatedTernaryRector::class,
|
||||
Rector\CodingStyle\Rector\Class_\AddArrayDefaultToArrayPropertyRector::class,
|
||||
Rector\CodingStyle\Rector\ClassConst\RemoveFinalFromConstRector::class,
|
||||
Rector\CodingStyle\Rector\ClassMethod\NewlineBeforeNewAssignSetRector::class,
|
||||
Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector::class,
|
||||
Rector\CodingStyle\Rector\FuncCall\CallUserFuncArrayToVariadicRector::class,
|
||||
Rector\CodingStyle\Rector\FuncCall\CallUserFuncToMethodCallRector::class,
|
||||
Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector::class,
|
||||
Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector::class,
|
||||
Rector\DeadCode\Rector\ClassMethod\RemoveUselessParamTagRector::class,
|
||||
Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector::class,
|
||||
Rector\DeadCode\Rector\Foreach_\RemoveUnusedForeachKeyRector::class,
|
||||
Rector\DeadCode\Rector\Property\RemoveUselessVarTagRector::class,
|
||||
Rector\DeadCode\Rector\Switch_\RemoveDuplicatedCaseInSwitchRector::class,
|
||||
Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector::class,
|
||||
Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector::class,
|
||||
Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector::class,
|
||||
Rector\Restoration\Rector\Property\MakeTypedPropertyNullableIfCheckedRector::class,
|
||||
Rector\TypeDeclaration\Rector\ClassMethod\AddArrayParamDocTypeRector::class,
|
||||
Rector\TypeDeclaration\Rector\ClassMethod\AddArrayReturnDocTypeRector::class,
|
||||
Rector\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector::class,
|
||||
Rector\TypeDeclaration\Rector\ClassMethod\ParamTypeByMethodCallTypeRector::class,
|
||||
Rector\TypeDeclaration\Rector\ClassMethod\ParamTypeByParentCallTypeRector::class,
|
||||
Rector\TypeDeclaration\Rector\Closure\AddClosureReturnTypeRector::class,
|
||||
Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector::class,
|
||||
] as $rule) {
|
||||
$services->set($rule);
|
||||
}
|
||||
};
|
|
@ -18,9 +18,15 @@ class CameraType implements Stringable
|
|||
#[ORM\SequenceGenerator(sequenceName: 'camera.camera_type_id_seq', allocationSize: 1, initialValue: 1)]
|
||||
private int $id;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'type', type: 'string', length: 255, nullable: false)]
|
||||
private string $type;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'description', type: 'text', nullable: true)]
|
||||
private ?string $description = null;
|
||||
|
||||
|
|
|
@ -16,42 +16,81 @@ class Film
|
|||
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
|
||||
private int $id;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'brand', type: 'string', nullable: false)]
|
||||
private string $brand;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'product_line', type: 'string', nullable: true)]
|
||||
private ?string $productLine = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'film_name', type: 'string', nullable: false)]
|
||||
private string $filmName;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'film_alias', type: 'string', nullable: true)]
|
||||
private ?string $filmAlias = null;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'film_speed_asa', type: 'integer', nullable: false)]
|
||||
private int $filmSpeedAsa;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'film_speed_din', type: 'integer', nullable: false)]
|
||||
private int $filmSpeedDin;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'film_format', type: 'string', nullable: false)]
|
||||
private string $filmFormat;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'film_base', type: 'string', nullable: false, options: ['default' => 'Cellulose Triacetate'])]
|
||||
private string $filmBase = 'Cellulose Triacetate';
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'unused_rolls', type: 'integer', nullable: false, options: ['default' => 0])]
|
||||
private int $unusedRolls = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'rolls_in_camera', type: 'integer', nullable: false, options: ['default' => 0])]
|
||||
private int $rollsInCamera = 0;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'developed_rolls', type: 'integer', nullable: false, options: ['default' => 0])]
|
||||
private int $developedRolls = 0;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'chemistry', type: 'string', nullable: false, options: ['default' => 'C-41'])]
|
||||
private string $chemistry = 'C-41';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'notes', type: 'text', nullable: true)]
|
||||
private ?string $notes = null;
|
||||
|
||||
|
|
|
@ -13,9 +13,15 @@ class FilmFormat
|
|||
#[ORM\Column(type: 'integer')]
|
||||
private int $id;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
#[ORM\Column(name: 'number_id', type: 'integer')]
|
||||
private int $numberId;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'name', type: 'string')]
|
||||
private string $name;
|
||||
|
||||
|
|
|
@ -18,9 +18,15 @@ class Flash
|
|||
#[ORM\SequenceGenerator(sequenceName: 'camera.flash_id_seq', allocationSize: 1, initialValue: 1)]
|
||||
private int $id;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
#[ORM\Column(name: 'received', type: 'boolean', nullable: false, options: ['default' => false])]
|
||||
private bool $received = false;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
#[ORM\Column(name: 'formerly_owned', type: 'boolean', nullable: false, options: ['default' => false])]
|
||||
private bool $formerlyOwned = false;
|
||||
}
|
||||
|
|
|
@ -8,57 +8,111 @@ trait LensTrait
|
|||
{
|
||||
use PurchasePriceTrait;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'brand', type: 'string', length: 64, nullable: true)]
|
||||
private readonly ?string $brand;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'coatings', type: 'string', length: 64, nullable: true)]
|
||||
private readonly ?string $coatings;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'product_line', type: 'string', length: 64, nullable: true)]
|
||||
private readonly ?string $productLine;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'model', type: 'string', length: 64, nullable: true)]
|
||||
private readonly ?string $model;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'min_f_stop', type: 'string', length: 10, nullable: true)]
|
||||
private readonly ?string $minFStop;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
#[ORM\Column(name: 'max_f_stop', type: 'float', precision: 10, scale: 0, nullable: true)]
|
||||
private readonly ?float $maxFStop;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
#[ORM\Column(name: 'min_focal_length', type: 'integer', nullable: true)]
|
||||
private readonly ?int $minFocalLength;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
#[ORM\Column(name: 'max_focal_length', type: 'integer', nullable: true)]
|
||||
private readonly ?int $maxFocalLength;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'serial', type: 'string', length: 10, nullable: true)]
|
||||
private readonly ?string $serial;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'notes', type: 'text', nullable: true)]
|
||||
private readonly ?string $notes;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'image_size', type: 'string', nullable: false, options: ['default' => '35mm'])]
|
||||
private string $imageSize = '35mm';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'mount', type: 'string', length: 40, nullable: true)]
|
||||
private readonly ?string $mount;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'front_filter_size', type: 'decimal', precision: 10, scale: 0, nullable: true)]
|
||||
private readonly ?string $frontFilterSize;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
#[ORM\Column(name: 'rear_filter_size', type: 'decimal', precision: 10, scale: 0, nullable: true)]
|
||||
private readonly ? string $rearFilterSize;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
#[ORM\Column(name: 'is_teleconverter', type: 'boolean', nullable: false)]
|
||||
private bool $isTeleconverter = false;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
#[ORM\Column(name: 'design_elements', type: 'smallint', nullable: true)]
|
||||
private readonly ?int $designElements;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
#[ORM\Column(name: 'design_groups', type: 'smallint', nullable: true)]
|
||||
private readonly ?int $designGroups;
|
||||
|
||||
/**
|
||||
* @var integer
|
||||
*/
|
||||
#[ORM\Column(name: 'aperture_blades', type: 'smallint', nullable: true)]
|
||||
private readonly ?int $apertureBlades;
|
||||
|
||||
|
|
|
@ -18,9 +18,15 @@ class PreviouslyOwnedLenses
|
|||
#[ORM\GeneratedValue(strategy: 'IDENTITY')]
|
||||
private int $id;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
#[ORM\Column(name: 'received', type: 'boolean', nullable: false)]
|
||||
private bool $received = true;
|
||||
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
#[ORM\Column(name: 'formerly_owned', type: 'boolean', nullable: false)]
|
||||
private bool $formerlyOwned = true;
|
||||
}
|
||||
|
|
117
symfony.lock
117
symfony.lock
|
@ -90,62 +90,9 @@
|
|||
"monolog/monolog": {
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"myclabs/deep-copy": {
|
||||
"version": "1.10.2"
|
||||
},
|
||||
"nikic/php-parser": {
|
||||
"version": "v4.10.4"
|
||||
},
|
||||
"phar-io/manifest": {
|
||||
"version": "2.0.3"
|
||||
},
|
||||
"phar-io/version": {
|
||||
"version": "3.1.1"
|
||||
},
|
||||
"phpdocumentor/reflection-common": {
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"phpdocumentor/reflection-docblock": {
|
||||
"version": "5.3.0"
|
||||
},
|
||||
"phpdocumentor/type-resolver": {
|
||||
"version": "1.6.0"
|
||||
},
|
||||
"phpspec/prophecy": {
|
||||
"version": "v1.15.0"
|
||||
},
|
||||
"phpstan/phpstan": {
|
||||
"version": "1.4.6"
|
||||
},
|
||||
"phpunit/php-code-coverage": {
|
||||
"version": "9.2.10"
|
||||
},
|
||||
"phpunit/php-file-iterator": {
|
||||
"version": "3.0.6"
|
||||
},
|
||||
"phpunit/php-invoker": {
|
||||
"version": "3.1.1"
|
||||
},
|
||||
"phpunit/php-text-template": {
|
||||
"version": "2.0.4"
|
||||
},
|
||||
"phpunit/php-timer": {
|
||||
"version": "5.0.3"
|
||||
},
|
||||
"phpunit/phpunit": {
|
||||
"version": "9.5",
|
||||
"recipe": {
|
||||
"repo": "github.com/symfony/recipes",
|
||||
"branch": "master",
|
||||
"version": "9.3",
|
||||
"ref": "a6249a6c4392e9169b87abf93225f7f9f59025e6"
|
||||
},
|
||||
"files": [
|
||||
".env.test",
|
||||
"phpunit.xml.dist",
|
||||
"tests/bootstrap.php"
|
||||
]
|
||||
},
|
||||
"psr/cache": {
|
||||
"version": "1.0.1"
|
||||
},
|
||||
|
@ -158,60 +105,9 @@
|
|||
"psr/log": {
|
||||
"version": "1.1.3"
|
||||
},
|
||||
"rector/rector": {
|
||||
"version": "0.12.16"
|
||||
},
|
||||
"roave/security-advisories": {
|
||||
"version": "dev-master"
|
||||
},
|
||||
"sebastian/cli-parser": {
|
||||
"version": "1.0.1"
|
||||
},
|
||||
"sebastian/code-unit": {
|
||||
"version": "1.0.8"
|
||||
},
|
||||
"sebastian/code-unit-reverse-lookup": {
|
||||
"version": "2.0.3"
|
||||
},
|
||||
"sebastian/comparator": {
|
||||
"version": "4.0.6"
|
||||
},
|
||||
"sebastian/complexity": {
|
||||
"version": "2.0.2"
|
||||
},
|
||||
"sebastian/diff": {
|
||||
"version": "4.0.4"
|
||||
},
|
||||
"sebastian/environment": {
|
||||
"version": "5.1.3"
|
||||
},
|
||||
"sebastian/exporter": {
|
||||
"version": "4.0.4"
|
||||
},
|
||||
"sebastian/global-state": {
|
||||
"version": "5.0.5"
|
||||
},
|
||||
"sebastian/lines-of-code": {
|
||||
"version": "1.0.3"
|
||||
},
|
||||
"sebastian/object-enumerator": {
|
||||
"version": "4.0.4"
|
||||
},
|
||||
"sebastian/object-reflector": {
|
||||
"version": "2.0.4"
|
||||
},
|
||||
"sebastian/recursion-context": {
|
||||
"version": "4.0.4"
|
||||
},
|
||||
"sebastian/resource-operations": {
|
||||
"version": "3.0.3"
|
||||
},
|
||||
"sebastian/type": {
|
||||
"version": "2.3.4"
|
||||
},
|
||||
"sebastian/version": {
|
||||
"version": "3.0.2"
|
||||
},
|
||||
"sensio/framework-extra-bundle": {
|
||||
"version": "5.2",
|
||||
"recipe": {
|
||||
|
@ -376,6 +272,9 @@
|
|||
"symfony/polyfill-php72": {
|
||||
"version": "v1.24.0"
|
||||
},
|
||||
"symfony/polyfill-php73": {
|
||||
"version": "v1.22.1"
|
||||
},
|
||||
"symfony/polyfill-php80": {
|
||||
"version": "v1.22.1"
|
||||
},
|
||||
|
@ -480,16 +379,10 @@
|
|||
"symfony/yaml": {
|
||||
"version": "v5.2.3"
|
||||
},
|
||||
"symplify/easy-coding-standard": {
|
||||
"version": "10.0.21"
|
||||
},
|
||||
"theseer/tokenizer": {
|
||||
"version": "1.2.1"
|
||||
"twig/extra-bundle": {
|
||||
"version": "v3.3.0"
|
||||
},
|
||||
"twig/twig": {
|
||||
"version": "v3.3.0"
|
||||
},
|
||||
"webmozart/assert": {
|
||||
"version": "1.10.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
<?php
|
||||
|
||||
use Symfony\Component\Dotenv\Dotenv;
|
||||
|
||||
require dirname(__DIR__).'/vendor/autoload.php';
|
||||
|
||||
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
|
||||
require dirname(__DIR__).'/config/bootstrap.php';
|
||||
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
|
||||
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
|
||||
}
|
Loading…
Reference in New Issue
Block a user