Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Ángel Chica Moral
/
tbw2122_4
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
50e8bb67
authored
Mar 19, 2022
by
Ángel Chica Moral
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Borrado
parent
6a9b2b03
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
188 deletions
.env
.no-header.php-cs-fixer.dist.php
.env
deleted
100644 → 0
View file @
6a9b2b03
#--------------------------------------------------------------------
# Example Environment Configuration file
#
# This file can be used as a starting point for your own
# custom .env files, and contains most of the possible settings
# available in a default install.
#
# By default, all of the settings are commented out. If you want
# to override the setting, you must un-comment it by removing the '#'
# at the beginning of the line.
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------
CI_ENVIRONMENT = development
#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------
# app.baseURL = ''
# app.forceGlobalSecureRequests = false
# app.sessionDriver = 'CodeIgniter\Session\Handlers\FileHandler'
# app.sessionCookieName = 'ci_session'
# app.sessionExpiration = 7200
# app.sessionSavePath = null
# app.sessionMatchIP = false
# app.sessionTimeToUpdate = 300
# app.sessionRegenerateDestroy = false
# app.CSPEnabled = false
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------
# database.default.hostname = localhost
# database.default.database = ci4
# database.default.username = root
# database.default.password = root
# database.default.DBDriver = MySQLi
# database.default.DBPrefix =
# database.tests.hostname = localhost
# database.tests.database = ci4
# database.tests.username = root
# database.tests.password = root
# database.tests.DBDriver = MySQLi
# database.tests.DBPrefix =
#--------------------------------------------------------------------
# CONTENT SECURITY POLICY
#--------------------------------------------------------------------
# contentsecuritypolicy.reportOnly = false
# contentsecuritypolicy.defaultSrc = 'none'
# contentsecuritypolicy.scriptSrc = 'self'
# contentsecuritypolicy.styleSrc = 'self'
# contentsecuritypolicy.imageSrc = 'self'
# contentsecuritypolicy.base_uri = null
# contentsecuritypolicy.childSrc = null
# contentsecuritypolicy.connectSrc = 'self'
# contentsecuritypolicy.fontSrc = null
# contentsecuritypolicy.formAction = null
# contentsecuritypolicy.frameAncestors = null
# contentsecuritypolicy.frameSrc = null
# contentsecuritypolicy.mediaSrc = null
# contentsecuritypolicy.objectSrc = null
# contentsecuritypolicy.pluginTypes = null
# contentsecuritypolicy.reportURI = null
# contentsecuritypolicy.sandbox = false
# contentsecuritypolicy.upgradeInsecureRequests = false
#--------------------------------------------------------------------
# COOKIE
#--------------------------------------------------------------------
# cookie.prefix = ''
# cookie.expires = 0
# cookie.path = '/'
# cookie.domain = ''
# cookie.secure = false
# cookie.httponly = false
# cookie.samesite = 'Lax'
# cookie.raw = false
#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------
# encryption.key =
# encryption.driver = OpenSSL
# encryption.blockSize = 16
# encryption.digest = SHA512
#--------------------------------------------------------------------
# HONEYPOT
#--------------------------------------------------------------------
# honeypot.hidden = 'true'
# honeypot.label = 'Fill This Field'
# honeypot.name = 'honeypot'
# honeypot.template = '<label>{label}</label><input type="text" name="{name}" value=""/>'
# honeypot.container = '<div style="display:none">{template}</div>'
#--------------------------------------------------------------------
# SECURITY
#--------------------------------------------------------------------
# security.csrfProtection = 'cookie'
# security.tokenRandomize = false
# security.tokenName = 'csrf_token_name'
# security.headerName = 'X-CSRF-TOKEN'
# security.cookieName = 'csrf_cookie_name'
# security.expires = 7200
# security.regenerate = true
# security.redirect = true
# security.samesite = 'Lax'
#--------------------------------------------------------------------
# LOGGER
#--------------------------------------------------------------------
# logger.threshold = 4
#--------------------------------------------------------------------
# CURLRequest
#--------------------------------------------------------------------
# curlrequest.shareOptions = true
.no-header.php-cs-fixer.dist.php
deleted
100644 → 0
View file @
6a9b2b03
<?php
declare
(
strict_types
=
1
);
/**
* This file is part of CodeIgniter 4 framework.
*
* (c) CodeIgniter Foundation <admin@codeigniter.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use
CodeIgniter\CodingStandard\CodeIgniter4
;
use
Nexus\CsConfig\Factory
;
use
Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer
;
use
Nexus\CsConfig\Fixer\Comment\SpaceAfterCommentStartFixer
;
use
Nexus\CsConfig\FixerGenerator
;
use
PhpCsFixer\Finder
;
$finder
=
Finder
::
create
()
->
files
()
->
in
([
__DIR__
.
'/admin'
,
__DIR__
.
'/app'
,
__DIR__
.
'/public'
,
])
->
notName
(
'#Logger\.php$#'
)
->
append
([
__DIR__
.
'/admin/starter/builds'
,
]);
$overrides
=
[
'ordered_class_elements'
=>
[
'order'
=>
[
'use_trait'
,
'constant'
,
'property'
,
'method'
,
],
'sort_algorithm'
=>
'none'
,
],
];
$options
=
[
'cacheFile'
=>
'build/.no-header.php-cs-fixer.cache'
,
'finder'
=>
$finder
,
'customFixers'
=>
FixerGenerator
::
create
(
'vendor/nexusphp/cs-config/src/Fixer'
,
'Nexus\\CsConfig\\Fixer'
),
'customRules'
=>
[
NoCodeSeparatorCommentFixer
::
name
()
=>
true
,
SpaceAfterCommentStartFixer
::
name
()
=>
true
,
],
];
return
Factory
::
create
(
new
CodeIgniter4
(),
$overrides
,
$options
)
->
forProjects
();
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment