Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Zoldak committed May 17, 2023
0 parents commit 1e57793
Show file tree
Hide file tree
Showing 9 changed files with 12,504 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Design files
*.psd

# css-es
*.css.map
/vendor/
.vscode/settings.json
.vscode/sftp.json
33 changes: 33 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?php

declare(strict_types=1);

$header = <<<'EOF'
This file is part of postyou/contao-cookiebar-optin.
(c) POSTYOU Digital- & Filmagentur
@license LGPL-3.0+
EOF;

$finder = PhpCsFixer\Finder::create()
->exclude('templates')
->in([
__DIR__.'/src',
__DIR__.'/contao/dca',
])
;

$config = new PhpCsFixer\Config();

return $config
->setRiskyAllowed(true)
->setRules([
'@PHP74Migration' => true,
'@PHP74Migration:risky' => true,
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'header_comment' => ['header' => $header],
])
->setFinder($finder)
;
38 changes: 38 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "postyou/contao-easy-popup",
"description": "This package allows to create easy opened pop-ups",
"type": "contao-bundle",
"minimum-stability": "alpha",
"version": "0.1",
"require": {
"contao/core-bundle": "^4.13",
"terminal42/contao-node": "^1.5"
},
"require-dev": {
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-symfony": "^1.2",
"friendsofphp/php-cs-fixer": "3.3.1"
},
"license": "LGPL-3.0-or-later",
"autoload": {
"psr-4": {
"Postyou\\EasyPopup\\": "src/"
}
},
"authors": [
{
"name": "Mateusz Zoldak",
"email": "[email protected]"
}
],
"config": {
"allow-plugins": {
"contao-components/installer": true,
"php-http/discovery": true
}
},
"extra": {
"contao-manager-plugin": "Postyou\\EasyPopup\\ContaoManager\\Plugin"
}
}
Loading

0 comments on commit 1e57793

Please sign in to comment.