generated from yii2-extensions/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
305cea6
commit 6cc002f
Showing
52 changed files
with
2,435 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'psalm.xml' | ||
|
||
push: | ||
paths-ignore: | ||
- 'docs/**' | ||
- 'README.md' | ||
- 'CHANGELOG.md' | ||
- '.gitignore' | ||
- '.gitattributes' | ||
- 'psalm.xml' | ||
|
||
name: mutation test | ||
|
||
jobs: | ||
mutation: | ||
uses: php-forge/actions/.github/workflows/roave-infection.yml@main | ||
secrets: | ||
AUTH_TOKEN: ${{ secrets.AUTH_TOKEN }} | ||
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | ||
with: | ||
os: >- | ||
['ubuntu-latest'] | ||
php: >- | ||
['8.1'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"symbol-whitelist": [ | ||
"YII_BEGIN_TIME", | ||
"YII_DEBUG", | ||
"YII_ENV" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use yii\i18n\PhpMessageSource; | ||
|
||
return [ | ||
'components' => [ | ||
'i18n' => [ | ||
'translations' => [ | ||
'yii.filepond' => [ | ||
'class' => PhpMessageSource::class, | ||
], | ||
], | ||
], | ||
], | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ parameters: | |
- YII_ENV_PROD | ||
- YII_ENV_TEST | ||
|
||
level: 2 | ||
level: 5 | ||
|
||
paths: | ||
- src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0"?> | ||
<psalm | ||
errorLevel="1" | ||
resolveFromConfigFile="true" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://getpsalm.org/schema/config" | ||
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" | ||
findUnusedBaselineEntry="true" | ||
findUnusedCode="false" | ||
> | ||
<projectFiles> | ||
<directory name="src" /> | ||
<ignoreFiles> | ||
<directory name="vendor" /> | ||
</ignoreFiles> | ||
</projectFiles> | ||
<issueHandlers> | ||
<MixedAssignment errorLevel="suppress" /> | ||
</issueHandlers> | ||
</psalm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Yii\FilePond\Asset\Cdn; | ||
|
||
use yii\web\AssetBundle; | ||
|
||
/** | ||
* Asset bundle for the filepond encode plugin in content delivery network (CDN) mode, mainly used for publishing | ||
* assets. | ||
*/ | ||
final class FilePondEncodePlugin extends AssetBundle | ||
{ | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public $js = [ | ||
'https://unpkg.com/filepond-plugin-file-encode/dist/filepond-plugin-file-encode.js', | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Yii\FilePond\Asset\Cdn; | ||
|
||
use Yii\FilePond\Asset\FilePondAsset; | ||
use yii\web\AssetBundle; | ||
|
||
/** | ||
* Asset bundle for the filepond image crop plugin in content delivery network (CDN) mode, mainly used for publishing | ||
* assets. | ||
*/ | ||
final class FilePondImageCropPlugin extends AssetBundle | ||
{ | ||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public $js = [ | ||
'https://unpkg.com/filepond-plugin-image-crop/dist/filepond-plugin-image-crop.min.js', | ||
]; | ||
|
||
/** | ||
* {@inheritDoc} | ||
*/ | ||
public $depends = [ | ||
FilePondAsset::class, | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Yii\FilePond\Asset\Cdn; | ||
|
||
use yii\web\AssetBundle; | ||
|
||
/** | ||
* Asset bundle for the filepond image exif orientation plugin in content delivery network (CDN) mode, mainly used for | ||
* publishing assets. | ||
*/ | ||
final class FilePondImageExifOrientationPlugin extends AssetBundle | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
public $js = [ | ||
'https://unpkg.com/filepond-plugin-image-exif-orientation/dist/filepond-plugin-image-exif-orientation.min.js', | ||
]; | ||
} |
Oops, something went wrong.