Skip to content

Commit

Permalink
chore: assorted (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi authored Oct 3, 2024
1 parent 68b9249 commit d353793
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ COMPOSER=composer
# use .env.local to override, example:

# PHP with xdebug:
#PHP=php -dxdebug.start_with_request=yes -dxdebug.mode=debug
PHP="php -dxdebug.start_with_request=yes -dxdebug.mode=debug"


# PHP using docker and xdebug:
#PHP=docker run -it --rm --user $$(id -u):$$(id -g) -v "$$PWD":/usr/src/myapp -w /usr/src/myapp php:8.4.0beta5-cli php -dxdebug.start_with_request=yes -dxdebug.mode=debug
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ tools
var
rector.log
.env.local
.vscode
7 changes: 6 additions & 1 deletion packages/file-filepond/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"webpackMode": "eager",
"fetch": "eager",
"enabled": true,
"autoimport": {}
"autoimport": {
"filepond/dist/filepond.min.css": true,
"filepond-plugin-file-poster/dist/filepond-plugin-file-poster.css": true,
"filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css": true,
"filepond-plugin-image-edit/dist/filepond-plugin-image-edit.css": true
}
}
},
"importmap": {
Expand Down
22 changes: 21 additions & 1 deletion tests/assets/controllers.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,24 @@
{
"controllers": {},
"controllers": {
"@rekalogika/file-filepond": {
"filepond": {
"enabled": true,
"fetch": "eager",
"autoimport": {
"filepond/dist/filepond.min.css": true,
"filepond-plugin-file-poster/dist/filepond-plugin-file-poster.css": true,
"filepond-plugin-image-preview/dist/filepond-plugin-image-preview.css": true,
"filepond-plugin-image-edit/dist/filepond-plugin-image-edit.css": true
}
}
},
"@rekalogika/temporary-url-bundle": {
"autoexpire": {
"enabled": true,
"fetch": "eager",
"autoimport": []
}
}
},
"entrypoints": []
}
4 changes: 2 additions & 2 deletions tests/config/packages/doctrine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ doctrine:
App:
is_bundle: false
type: attribute
dir: "%kernel.project_dir%/src/Entity"
prefix: 'Rekalogika\File\Tests\Entity'
dir: "%kernel.project_dir%/src/App/Entity"
prefix: 'Rekalogika\File\Tests\App\Entity'
alias: App
4 changes: 3 additions & 1 deletion tests/config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
->public();

$services
->load('Rekalogika\\File\\Tests\\App\\', '../src/App/*');
->load('Rekalogika\\File\\Tests\\App\\', '../src/App/*')
->exclude('../src/App/{TestKernel.php,Entity}');


};
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* that was distributed with this source code.
*/

namespace Rekalogika\File\Tests\Entity;
namespace Rekalogika\File\Tests\App\Entity;

use Doctrine\ORM\Mapping as ORM;

Expand Down

0 comments on commit d353793

Please sign in to comment.