-
Notifications
You must be signed in to change notification settings - Fork 3
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
844f303
commit 9faf9f8
Showing
139 changed files
with
1,454 additions
and
1,310 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
:: Run easy-coding-standard (ecs) via this batch file inside your IDE e.g. PhpStorm (Windows only) | ||
:: Install inside PhpStorm the "Batch Script Support" plugin | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
vendor\bin\ecs check vendor/markocupic/gallery-creator-bundle/src --config vendor/markocupic/gallery-creator-bundle/.ecs/config/default.php | ||
cd vendor/markocupic/gallery-creator-bundle/.ecs./batch/check |
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,10 @@ | ||
:: Run easy-coding-standard (ecs) via this batch file inside your IDE e.g. PhpStorm (Windows only) | ||
:: Install inside PhpStorm the "Batch Script Support" plugin | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
vendor\bin\ecs check vendor/markocupic/gallery-creator-bundle/tests --config vendor/markocupic/gallery-creator-bundle/.ecs/config/default.php | ||
cd vendor/markocupic/gallery-creator-bundle/.ecs./batch/check |
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,11 @@ | ||
:: Run easy-coding-standard (ecs) via this batch file inside your IDE e.g. PhpStorm (Windows only) | ||
:: Install inside PhpStorm the "Batch Script Support" plugin | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
vendor\bin\ecs check vendor/markocupic/gallery-creator-bundle/src --fix --config vendor/markocupic/gallery-creator-bundle/.ecs/config/default.php | ||
|
||
cd vendor/markocupic/gallery-creator-bundle/.ecs./batch/fix |
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,10 @@ | ||
:: Run easy-coding-standard (ecs) via this batch file inside your IDE e.g. PhpStorm (Windows only) | ||
:: Install inside PhpStorm the "Batch Script Support" plugin | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
cd.. | ||
vendor\bin\ecs check vendor/markocupic/gallery-creator-bundle/tests --fix --config vendor/markocupic/gallery-creator-bundle/.ecs/config/default.php | ||
cd vendor/markocupic/gallery-creator-bundle/.ecs./batch/fix |
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,16 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
|
||
return static function (ECSConfig $ECSConfig): void { | ||
// Contao | ||
$ECSConfig->import(__DIR__ . '../../../../../contao/easy-coding-standard/config/contao.php'); | ||
|
||
// Custom | ||
$ECSConfig->import(__DIR__.'/set/header_comment_fixer.php'); | ||
|
||
// Custom | ||
$ECSConfig->import(__DIR__.'/set/skip_configuration.php'); | ||
}; |
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,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use PhpCsFixer\Fixer\Comment\HeaderCommentFixer; | ||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
|
||
return static function (ECSConfig $ECSConfig): void { | ||
|
||
$services = $ECSConfig->services(); | ||
|
||
$services | ||
->set(HeaderCommentFixer::class) | ||
->call('configure', [[ | ||
'header' => "This file is part of Gallery Creator Bundle.\n\n(c) Marko Cupic ".date('Y')." <[email protected]>\n@license GPL-3.0-or-later\nFor the full copyright and license information,\nplease view the LICENSE file that was distributed with this source code.\n@link https://github.com/markocupic/gallery-creator-bundle", | ||
]]) | ||
; | ||
}; |
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,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
use Symplify\EasyCodingStandard\Config\ECSConfig; | ||
use PhpCsFixer\Fixer\Whitespace\MethodChainingIndentationFixer; | ||
use Symplify\EasyCodingStandard\ValueObject\Option; | ||
|
||
return function (ECSConfig $ECSConfig): void { | ||
$parameters = $ECSConfig->parameters(); | ||
|
||
$parameters->set(Option::SKIP, [ | ||
|
||
MethodChainingIndentationFixer::class => [ | ||
'*/DependencyInjection/Configuration.php', | ||
|
||
], | ||
]); | ||
}; |
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
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 |
---|---|---|
@@ -1,54 +1,42 @@ | ||
{ | ||
"name": "markocupic/gallery-creator-bundle", | ||
"keywords": [ | ||
"Contao", | ||
"gallery", | ||
"album", | ||
"plugin" | ||
], | ||
"type": "contao-bundle", | ||
"description": "gallery extension for Contao CMS", | ||
"license": "LGPL-3.0+", | ||
"authors": [ | ||
{ | ||
"name": "Marko Cupic", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/markocupic", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/markocupic/gallery-creator-bundle/issues", | ||
"source": "https://github.com/markocupic/gallery-creator-bundle", | ||
"forum": "https://community.contao.org/de/showthread.php?22634-gallery_creator" | ||
}, | ||
"require": { | ||
"contao/core-bundle": "^5.0", | ||
"php": "^8.1", | ||
"jaybizzle/crawler-detect": "^1.2", | ||
"league/commonmark": "^2.3" | ||
}, | ||
"require-dev": { | ||
"contao/easy-coding-standard": "^5.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Markocupic\\GalleryCreatorBundle\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"contao-manager-plugin": "Markocupic\\GalleryCreatorBundle\\ContaoManager\\Plugin" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"contao/manager-plugin": false, | ||
"contao-components/installer": false, | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"scripts": { | ||
"cs-fixer": "@php tools/ecs/vendor/bin/ecs check config/ contao/ src/ tests/ --config tools/ecs/config.php --fix --ansi", | ||
"unit-tests": "@php tools/phpunit/vendor/bin/phpunit -c tools/phpunit/phpunit.xml.dist", | ||
"phpstan": "@php tools/phpstan/vendor/bin/phpstan analyse src tests" | ||
"name": "markocupic/gallery-creator-bundle", | ||
"keywords": [ | ||
"Contao", | ||
"gallery", | ||
"album", | ||
"plugin" | ||
], | ||
"type": "contao-bundle", | ||
"description": "gallery extension for Contao CMS", | ||
"license": "LGPL-3.0+", | ||
"authors": [ | ||
{ | ||
"name": "Marko Cupic", | ||
"email": "[email protected]", | ||
"homepage": "https://github.com/markocupic", | ||
"role": "Developer" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/markocupic/gallery-creator-bundle/issues", | ||
"source": "https://github.com/markocupic/gallery-creator-bundle", | ||
"forum": "https://community.contao.org/de/showthread.php?22634-gallery_creator" | ||
}, | ||
"require": { | ||
"contao/core-bundle": "^4.13 || ^5.0 || > 5.0.0-RC3", | ||
"php": "^7.4 || ^8.0", | ||
"jaybizzle/crawler-detect": "^1.2", | ||
"league/commonmark": "^2.2" | ||
}, | ||
"require-dev": { | ||
"contao/easy-coding-standard": "^5.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Markocupic\\GalleryCreatorBundle\\": "src/" | ||
} | ||
}, | ||
"extra": { | ||
"contao-manager-plugin": "Markocupic\\GalleryCreatorBundle\\ContaoManager\\Plugin" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.