Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-oleksyuk committed Nov 8, 2024
1 parent 2add324 commit 3427283
Show file tree
Hide file tree
Showing 26 changed files with 5,108 additions and 1,056 deletions.
3 changes: 3 additions & 0 deletions .ddev/commands/web/sf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

bin/console "$@"
41 changes: 20 additions & 21 deletions .github/workflows/ci-symfony.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: '🔄 CI | ️ Symfony'
name: '🔄 CI | ️ Symfony'

on:
push:
branches:
- laravel
- symfony
paths-ignore:
- README.md
- LICENSE.md
Expand Down Expand Up @@ -32,25 +32,24 @@ jobs:
keep_minimum_runs: 1
delete_workflow_pattern: ci-symfony.yml

# lint:
# name: '🪄 Lint | ${{ matrix.command.name }}'
# runs-on: ubuntu-latest
#
# strategy:
# matrix:
# command:
# - { name: '📦 Composer', command: 'lint:composer' }
# - { name: '🧽 Laravel Pint', command: 'lint:pint' }
lint:
name: '🪄 Lint | ${{ matrix.command.name }}'
runs-on: ubuntu-latest

strategy:
matrix:
command:
- { name: '📦 Composer', command: 'lint:composer' }
# - { name: '🔍 PHPStan', command: 'lint:php:stan' }
# - { name: '🅿️ Prettier', command: 'lint:prettier' }
# - { name: '🏠 Rector', command: 'lint:rector' }
#
# steps:
# - name: '🛎 Checkout'
# uses: actions/checkout@v4
#
# - name: '⚙️ Prepare environment'
# uses: ./.github/actions/setup-validation
#
# - name: '${{ matrix.command.name }} validate'
# run: task ${{ matrix.command.command }}

steps:
- name: '🛎 Checkout'
uses: actions/checkout@v4

- name: '⚙️ Prepare environment'
uses: ./.github/actions/setup-validation

- name: '${{ matrix.command.name }} validate'
run: task ${{ matrix.command.command }}
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ bootstrap/cache

# Ignore .env files as they are personal.
.env
.env.local
.env.local.php
.env.*.local

# Ignore files generated by IDE.
.ddev
Expand All @@ -24,12 +27,14 @@ local
# Ignore OS files.
.DS_Store

/bin

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/public/bundles/
/web/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###
2 changes: 0 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ image: ddev/ddev-gitpod-base:latest
tasks:
- init: |
ddev start -y
ddev artisan key:generate --ansi
ddev task db:fresh
command: |
ddev start -y
gp ports await 8080 && gp preview $(gp url 8080)
Expand Down
21 changes: 0 additions & 21 deletions bin/console

This file was deleted.

33 changes: 25 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,25 @@
"php": ">=8.3",
"ext-ctype": "*",
"ext-iconv": "*",
"symfony/console": "7.1.*",
"symfony/dotenv": "7.1.*",
"symfony/flex": "^2",
"symfony/framework-bundle": "7.1.*",
"symfony/runtime": "7.1.*",
"symfony/yaml": "7.1.*"
"doctrine/dbal": "^3",
"doctrine/doctrine-bundle": "^2.13",
"doctrine/doctrine-migrations-bundle": "^3.3",
"doctrine/orm": "^3.3",
"easycorp/easyadmin-bundle": "^4.14",
"symfony/console": "^7.1",
"symfony/dotenv": "^7.1",
"symfony/flex": "^2.4",
"symfony/framework-bundle": "^7.1",
"symfony/runtime": "^7.1",
"symfony/security-bundle": "^7.1",
"symfony/yaml": "^7.1"
},
"require-dev": {
"symfony/maker-bundle": "^1.61"
},
"conflict": {
"symfony/symfony": "*"
},
"require-dev": {},
"autoload": {
"psr-4": {
"App\\": "src/"
Expand All @@ -37,6 +48,12 @@
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd"
}
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
]
}
}
Loading

0 comments on commit 3427283

Please sign in to comment.