-
-
Notifications
You must be signed in to change notification settings - Fork 616
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
bf9f774
commit ab6267e
Showing
39 changed files
with
1,083 additions
and
8,362 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
use Leantime\Core\Http\HttpKernel; | ||
|
||
define('RESTRICTED', true); | ||
define('ROOT', __DIR__); | ||
define('APP_ROOT', dirname(__DIR__, 1)); | ||
define('LEAN_CLI', false); | ||
|
||
require __DIR__.'/../vendor/autoload.php'; | ||
|
||
$app = require_once APP_ROOT . '/bootstrap/app.php'; | ||
|
||
$app->make(\Leantime\Core\Console\ConsoleKernel::class)->bootstrap(); |
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,37 @@ | ||
parameters: | ||
bootstrapFiles: | ||
- bootstrap.php | ||
level: 0 | ||
inferPrivatePropertyTypeFromConstructor: true | ||
paths: | ||
- ../public | ||
- ../app | ||
excludePaths: | ||
- ../app/Plugins/*/vendor/* | ||
scanDirectories: | ||
- ../vendor | ||
- ../config | ||
ignoreErrors: | ||
#- '#Call to an undefined static method Illuminate\\Http\\Request::[a-zA-Z0-9\\_]()#' | ||
#- '#Access to undefined constant Illuminate\\Http\\Request::[a-zA-Z0-9\\_]()#' | ||
#- '#Call to an undefined static method Carbon\\CarbonImmutable::[a-zA-Z0-9\\_]()#' | ||
# Rules for level 1. Templates use variables through include which are not detected by phpstan | ||
#- | ||
# messages: | ||
# - '#Attribute class Leantime\\Domain\\Connector\\Models\\DbColumn does not exist\.#' | ||
# - '#Variable \$__data might not be defined\.#' | ||
# - '#Constant BASE_URL not found\.#' | ||
# - '#Constant CURRENT_URL not found\.#' | ||
# - '#Variable \$login might not be defined\.#' | ||
# - '#Variable \$roles might not be defined\.#' | ||
# paths: | ||
# - app/Domain/*/Templates/*.tpl.php | ||
# - app/Domain/*/Templates/*.inc.php | ||
# - app/Domain/*/Templates/submodules/*.sub.php | ||
universalObjectCratesClasses: | ||
- Leantime\Core\Configuration\Environment | ||
earlyTerminatingMethodCalls: | ||
Leantime\Core\UI\Templates: | ||
- redirect | ||
- display | ||
- displayPartial |
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
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
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
Oops, something went wrong.