Merge branch 'with CI4-Application' of bitbucket.org:venbainformationtechnology/ria into CI4-Application

This commit is contained in:
VE10-Sanjeev 2024-08-16 11:03:18 +00:00
commit 3daef7584e
8 changed files with 0 additions and 236 deletions

74
.env
View File

@ -1,74 +0,0 @@
#--------------------------------------------------------------------
# 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 = 'http://localhost/ria/'
# If you have trouble with `.`, you could also use `_`.
# app_baseURL = ''
# app.forceGlobalSecureRequests = false
# app.CSPEnabled = false
#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------
# database.default.hostname = 'vprodb1.mysql.database.azure.com'
# database.default.database = 'ria_prod'
# database.default.username = 'dbroot'
# database.default.password = 'root@DB23'
database.default.hostname = '119.18.54.85'
database.default.database = 'venbaehn_ria'
database.default.username = 'venbaehn_ria'
database.default.password = 'Q{c2b{7mIC^$'
database.default.DBDriver = MySQLi
database.default.DBPrefix =
database.default.port = 3306
# If you use MySQLi as tests, first update the values of Config\Database::$tests.
# database.tests.hostname = localhost
# database.tests.database = ci4_test
# database.tests.username = root
# database.tests.password = root
# database.tests.DBDriver = MySQLi
# database.tests.DBPrefix =
# database.tests.charset = utf8mb4
# database.tests.DBCollat = utf8mb4_general_ci
# database.tests.port = 3306
#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------
# encryption.key =
#--------------------------------------------------------------------
# SESSION
#--------------------------------------------------------------------
# session.driver = 'CodeIgniter\Session\Handlers\FileHandler'
# session.savePath = null
#--------------------------------------------------------------------
# LOGGER
#--------------------------------------------------------------------
# logger.threshold = 4

View File

View File

@ -1,14 +0,0 @@
; top-most EditorConfig file
root = true
; Unix-style newlines
[*]
end_of_line = lf
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{yaml,yml}]
indent_size = 2

View File

@ -1,8 +0,0 @@
.vscode/
build/
vendor/
composer.lock
.php-cs-fixer.php
*.neon
*.cache
phpunit.xml

View File

@ -1,46 +0,0 @@
<?php
declare(strict_types=1);
/**
* This file is part of Nexus CS Config.
*
* (c) 2020 John Paul E. Balandan, CPA <paulbalandan@gmail.com>
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
use Nexus\CsConfig\Factory;
use Nexus\CsConfig\Fixer\Comment\NoCodeSeparatorCommentFixer;
use Nexus\CsConfig\FixerGenerator;
use Nexus\CsConfig\Ruleset\Nexus81;
use PhpCsFixer\Finder;
$finder = Finder::create()
->files()
->in([
__DIR__.'/src',
__DIR__.'/tests',
])
->append([__FILE__])
;
$overrides = [
'final_public_method_for_abstract_class' => false,
];
$options = [
'finder' => $finder,
'cacheFile' => 'build/.php-cs-fixer.cache',
'customFixers' => FixerGenerator::create('src/Fixer', 'Nexus\\CsConfig\\Fixer'),
'customRules' => [
NoCodeSeparatorCommentFixer::name() => true,
],
];
return Factory::create(new Nexus81(), $overrides, $options)->forLibrary(
'Nexus CS Config',
'John Paul E. Balandan, CPA',
'paulbalandan@gmail.com',
2020,
);

View File

@ -1,35 +0,0 @@
<?php declare(strict_types = 1);
$ignoreErrors = [];
$ignoreErrors[] = [
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with arguments "\\\\n", string and string will always evaluate to true\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Test/AbstractCustomFixerTestCase.php',
];
$ignoreErrors[] = [
'message' => '#^Method Nexus\\\\CsConfig\\\\Test\\\\AbstractCustomFixerTestCase\\:\\:getLinter\\(\\) should return PhpCsFixer\\\\Linter\\\\LinterInterface but returns mixed\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Test/AbstractCustomFixerTestCase.php',
];
$ignoreErrors[] = [
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Fixer\\\\Comment\\\\NoCodeSeparatorCommentFixerTest\\:\\:provideFixCases\\(\\) return type has no value type specified in iterable type iterable\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/Fixer/Comment/NoCodeSeparatorCommentFixerTest.php',
];
$ignoreErrors[] = [
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Fixer\\\\Comment\\\\SpaceAfterCommentStartFixerTest\\:\\:provideFixCases\\(\\) return type has no value type specified in iterable type iterable\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/Fixer/Comment/SpaceAfterCommentStartFixerTest.php',
];
$ignoreErrors[] = [
'message' => '#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertEmpty\\(\\) with non\\-empty\\-array will always evaluate to false\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/Test/FixerProviderTest.php',
];
$ignoreErrors[] = [
'message' => '#^Method Nexus\\\\CsConfig\\\\Tests\\\\Test\\\\FixerProviderTest\\:\\:provideCreateMethodGivesNoDeprecatedBuiltInFixersCases\\(\\) return type has no value type specified in iterable type iterable\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/Test/FixerProviderTest.php',
];
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];

View File

@ -1,23 +0,0 @@
includes:
- phpstan-baseline.php
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
parameters:
tmpDir: build/phpstan
level: 9
paths:
- src
- tests
bootstrapFiles:
- vendor/autoload.php
additionalConstructors:
- Nexus\CsConfig\Test\AbstractCustomFixerTestCase::setUp
featureToggles:
disableCheckMissingIterableValueType: false
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
checkImplicitMixed: true
checkBenevolentUnionTypes: true
checkMissingCallableSignature: true
reportAlwaysTrueInLastCondition: true
treatPhpDocTypesAsCertain: false

View File

@ -1,36 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
executionOrder="random"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true"
cacheDirectory="build/phpunit/cache"
columns="max"
requireCoverageMetadata="true"
>
<testsuites>
<testsuite name="NexusPHP CS Config Test Suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
<coverage ignoreDeprecatedCodeUnits="true">
<report>
<clover outputFile="build/phpunit/logs/clover.xml"/>
<html outputDirectory="build/phpunit/logs/html"/>
</report>
</coverage>
<extensions>
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension" />
</extensions>
</phpunit>