Skip to content

Commit

Permalink
[TASK] Update
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Oct 16, 2024
1 parent c2f481c commit 99bcc95
Show file tree
Hide file tree
Showing 55 changed files with 10,994 additions and 6,348 deletions.
6 changes: 6 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=b701edbaf9496acb48aa2f5fcf90d9fc
###< symfony/framework-bundle ###
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/build/
/node_modules/
/deployer.phar
/package-lock.json

/bin/*
!/bin/console
Expand Down
18 changes: 13 additions & 5 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

$header = <<<EOF
This file is part of the package bk2k/packagebuilder.
For the full copyright and license information, please read the
LICENSE file that was distributed with this source code.
EOF;
Expand All @@ -38,9 +39,8 @@
'author'
]
],
'declare_strict_types' => true,
'no_leading_import_slash' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline' => true,
'no_singleline_whitespace_before_semicolons' => true,
'no_unused_imports' => true,
'concat_space' => ['spacing' => 'one'],
Expand All @@ -54,18 +54,26 @@
'no_blank_lines_after_phpdoc' => true,
'array_syntax' => ['syntax' => 'short'],
'whitespace_after_comma_in_array' => true,
'function_typehint_space' => true,
'type_declaration_spaces' => true,
'single_line_comment_style' => true,
'no_alias_functions' => true,
'lowercase_cast' => true,
'no_leading_namespace_whitespace' => true,
'native_function_casing' => true,
'self_accessor' => true,
'no_short_bool_cast' => true,
'no_unneeded_control_parentheses' => true
'no_unneeded_control_parentheses' => true,
'trailing_comma_in_multiline' => [
'elements' => [
'arrays',
],
],
])
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->exclude('.build')
->exclude('Build/node_modules')
->exclude('Contrib')
->exclude('var')
->in(__DIR__)
);
4 changes: 4 additions & 0 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;

if (!is_dir(dirname(__DIR__).'/vendor')) {
throw new LogicException('Dependencies are missing. Try running "composer install".');
}

if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
}
Expand Down
57 changes: 30 additions & 27 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,38 @@
"type": "project",
"require": {
"php": "^8.2",
"doctrine/annotations": "^2.0",
"doctrine/cache": "^2.2",
"jms/serializer-bundle": "^5.2.1",
"knplabs/knp-menu-bundle": "^3.2",
"nelmio/api-doc-bundle": "^4.11",
"sensio/framework-extra-bundle": "^6.2",
"symfony/asset": "^6.2",
"symfony/console": "^6.2",
"symfony/dotenv": "^6.2",
"symfony/expression-language": "^6.2",
"symfony/finder": "^6.2",
"symfony/flex": "^2.2",
"symfony/form": "^6.2",
"symfony/framework-bundle": "^6.2",
"symfony/mime": "^6.2",
"symfony/options-resolver": "^6.2",
"symfony/runtime": "^6.2",
"symfony/security-csrf": "^6.2",
"symfony/serializer": "^6.2",
"symfony/templating": "^6.2",
"symfony/twig-bundle": "^6.2",
"symfony/validator": "^6.2",
"symfony/webpack-encore-bundle": "^1.16",
"symfony/yaml": "^6.2"
"jms/serializer-bundle": "^5.4",
"knplabs/knp-menu-bundle": "v3.4",
"nelmio/api-doc-bundle": "v4.32",
"symfony/asset": "^v6.4",
"symfony/console": "^v6.4",
"symfony/dotenv": "^v6.4",
"symfony/expression-language": "^v6.4",
"symfony/finder": "^v6.4",
"symfony/flex": "^2.4",
"symfony/form": "^v6.4",
"symfony/framework-bundle": "^v6.4",
"symfony/mime": "^v6.4",
"symfony/options-resolver": "^v6.4",
"symfony/runtime": "^v6.4",
"symfony/security-csrf": "^v6.4",
"symfony/serializer": "^v6.4",
"symfony/templating": "^v6.4",
"symfony/twig-bundle": "^v6.4",
"symfony/validator": "^v6.4",
"symfony/webpack-encore-bundle": "^v1.17",
"symfony/yaml": "^v6.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.16",
"symfony/stopwatch": "^6.2",
"symfony/web-profiler-bundle": "^6.2"
"friendsofphp/php-cs-fixer": "^v3.64",
"symfony/stopwatch": "^v6.4",
"symfony/web-profiler-bundle": "^v6.4"
},
"extra": {
"symfony": {
"allow-contrib": false,
"require": "^6.4"
}
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit 99bcc95

Please sign in to comment.