Skip to content

Commit

Permalink
removed src dir
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasKovacs committed Apr 14, 2023
1 parent 4c8c847 commit 4ec4562
Show file tree
Hide file tree
Showing 3,247 changed files with 17 additions and 135,139 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 7 additions & 7 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ jobs:
extensions: gd, mysqli, opcache, zip

- name: Validate composer.json and composer.lock
run: composer validate --working-dir=src
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --working-dir=src
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run phpunit
run: composer phpunit --working-dir=src
run: composer phpunit
lint:
name: Run Lint
runs-on: ubuntu-20.04
Expand All @@ -39,15 +39,15 @@ jobs:
extensions: gd, mysqli, opcache, zip

- name: Validate composer.json and composer.lock
run: composer validate --working-dir=src
run: composer validate

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --working-dir=src
run: composer install --prefer-dist --no-progress --no-suggest

- name: Run phplint
uses: overtrue/phplint@4.1.0
with:
path: src/
path: app/
options: --exclude=*.log --exclude=vendor
php-cs-fixer:
name: Run PHP CS Fixer
Expand All @@ -56,4 +56,4 @@ jobs:
- uses: actions/checkout@v3
- uses: docker://oskarstark/php-cs-fixer-ga:3.4.0.1
with:
args: --diff --dry-run src/
args: --diff --dry-run app/
16 changes: 8 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#
# application
#
src/config/config.php
config/config.php

#
# public
#
src/public/compiles/*
public/compiles/*

#
# storage
#
src/storage/backups/*.sql
src/storage/cache/*.html
src/storage/logs/*.txt
storage/backups/*.sql
storage/cache/*.html
storage/logs/*.txt

#
# tests
#
src/tests/.phpunit.result.cache
src/tests/build/
src/tests/_reports/
tests/.phpunit.result.cache
tests/build/
tests/_reports/

#
# docs
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ RUN a2enmod rewrite expires

VOLUME /var/www/html

COPY --chown=www-data:www-data ./src /var/www/html
COPY --chown=www-data:www-data . /var/www/html

CMD ["apache2-foreground"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4ec4562

Please sign in to comment.