-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed tags extension from module to bundle
- Loading branch information
Showing
90 changed files
with
431 additions
and
307 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 |
---|---|---|
@@ -1 +1,10 @@ | ||
.DS_Store | ||
.DS_Store | ||
.svn | ||
.git/ | ||
.settings/ | ||
.buildpath | ||
.project | ||
composer.lock | ||
vendor | ||
# Transifex | ||
/.tx/ |
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,58 @@ | ||
<?php | ||
|
||
$header = <<<EOF | ||
@copyright Helmut Schottmüller 2009-2022 <http://github.com/hschottm> | ||
@author Helmut Schottmüller (hschottm) | ||
@package contao-tags | ||
@license LGPL-3.0+, CC-BY-NC-3.0 | ||
@see https://github.com/hschottm/tags | ||
EOF; | ||
|
||
$finder = PhpCsFixer\Finder::create() | ||
->exclude('Resources') | ||
->in([__DIR__.'/src']) | ||
; | ||
|
||
return PhpCsFixer\Config::create() | ||
->setRules([ | ||
'@Symfony' => true, | ||
'@Symfony:risky' => true, | ||
'@PHPUnit60Migration:risky' => true, | ||
'align_multiline_comment' => true, | ||
'array_syntax' => ['syntax' => 'short'], | ||
'combine_consecutive_issets' => true, | ||
'combine_consecutive_unsets' => true, | ||
'compact_nullable_typehint' => true, | ||
'general_phpdoc_annotation_remove' => [ | ||
'expectedException', | ||
'expectedExceptionMessage', | ||
], | ||
'header_comment' => ['header' => $header], | ||
'heredoc_to_nowdoc' => true, | ||
'linebreak_after_opening_tag' => true, | ||
'no_null_property_initialization' => true, | ||
'no_superfluous_elseif' => true, | ||
'no_unreachable_default_argument_value' => true, | ||
'no_useless_else' => true, | ||
'no_useless_return' => true, | ||
'ordered_class_elements' => true, | ||
'ordered_imports' => true, | ||
'php_unit_strict' => true, | ||
'phpdoc_add_missing_param_annotation' => true, | ||
'phpdoc_order' => true, | ||
'phpdoc_types_order' => [ | ||
'null_adjustment' => 'always_last', | ||
'sort_algorithm' => 'none', | ||
], | ||
'strict_comparison' => true, | ||
'strict_param' => true, | ||
// Remove when https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3222 has been merged | ||
'LeoFeyer/optimize_native_functions' => true, | ||
]) | ||
->registerCustomFixers([ | ||
new LeoFeyer\PhpCsFixer\OptimizeNativeFunctionsFixer() | ||
]) | ||
->setFinder($finder) | ||
->setRiskyAllowed(true) | ||
->setUsingCache(false) | ||
; |
This file was deleted.
Oops, something went wrong.
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,26 +1,53 @@ | ||
{ | ||
"name":"hschottm/tags", | ||
"description":"tags is a Contao extension that provides an architecture to tag any Contao element.", | ||
"keywords":["contao", "module", "extension", "tagcloud", "tags"], | ||
"type":"contao-module", | ||
"license":"LGPL-3.0+", | ||
"description":"tags is a Contao bundle that provides an architecture to tag almost any Contao element.", | ||
"keywords":["contao", "module", "extension", "tagcloud", "tags", "bundle"], | ||
"type":"contao-bundle", | ||
"license":["LGPL-3.0-or-later", "CC-BY-NC-SA-4.0"], | ||
"authors":[ | ||
{ | ||
"name":"Helmut Schottmüller", | ||
"homepage":"https://github.com/hschottm" | ||
} | ||
], | ||
"require":{ | ||
"php":">=5.3", | ||
"php": ">=5.6.0", | ||
"contao/core-bundle": "~4.10", | ||
"patchwork/utf8": "^1.3", | ||
"contao-community-alliance/composer-plugin": "~3.0" | ||
}, | ||
"extra":{ | ||
"contao": { | ||
"sources":{ | ||
"": "system/modules/tags" | ||
} | ||
"require-dev": { | ||
"contao/manager-plugin": "^2.0", | ||
"doctrine/doctrine-cache-bundle": "^1.3", | ||
"friendsofphp/php-cs-fixer": "^2.12", | ||
"php-http/guzzle6-adapter": "^1.1", | ||
"php-http/message-factory": "^1.0.2", | ||
"phpunit/phpunit": "^5.7.26", | ||
"symfony/phpunit-bridge": "^3.2" | ||
}, | ||
"conflict": { | ||
"contao/manager-plugin": "<2.0 || >=3.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Hschottm\\TagsBundle\\": "src/" | ||
}, | ||
"classmap": [ | ||
"src/Resources/contao/" | ||
], | ||
"exclude-from-classmap": [ | ||
"src/Resources/contao/config/", | ||
"src/Resources/contao/dca/", | ||
"src/Resources/contao/languages/", | ||
"src/Resources/contao/templates/" | ||
] | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"Hschottm\\TagsBundle\\Tests\\": "tests/" | ||
} | ||
}, | ||
"extra":{ | ||
"contao-manager-plugin": "Hschottm\\TagsBundle\\ContaoManager\\Plugin" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.