Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Memorekall Member New
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rekall
Memorekall Member New
Commits
2eecc14f
Commit
2eecc14f
authored
Jan 6, 2022
by
Camille Simiand
Committed by
Sebastien
Jan 18, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Fix phpstan configuration files and scripts
parent
56786fb5
No related branches found
No related tags found
3 merge requests
!43
tuleap-83-access-my-capsules
,
!42
Draft: access-my-capsules-conflicts-fixed
,
!40
Draft: Tuleap 83 access my capsules
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
build/phpstan/console-loader.php
+0
-11
0 additions, 11 deletions
build/phpstan/console-loader.php
composer.json
+2
-2
2 additions, 2 deletions
composer.json
phpstan-tests.neon
+4
-4
4 additions, 4 deletions
phpstan-tests.neon
phpstan.neon
+4
-4
4 additions, 4 deletions
phpstan.neon
with
10 additions
and
21 deletions
build/phpstan/console-loader.php
deleted
100644 → 0
+
0
−
11
View file @
56786fb5
<?php
declare
(
strict_types
=
1
);
use
App\Kernel
;
use
Symfony\Bundle\FrameworkBundle\Console\Application
;
use
Symfony\Component\Dotenv\Dotenv
;
require
dirname
(
__DIR__
)
.
'/../vendor/autoload.php'
;
(
new
Dotenv
())
->
bootEnv
(
dirname
(
__DIR__
)
.
'/../.env'
);
$kernel
=
new
Kernel
(
$_SERVER
[
'APP_ENV'
],
(
bool
)
$_SERVER
[
'APP_DEBUG'
]);
return
new
Application
(
$kernel
);
This diff is collapsed.
Click to expand it.
composer.json
+
2
−
2
View file @
2eecc14f
...
@@ -124,8 +124,8 @@
...
@@ -124,8 +124,8 @@
"@phpstan-general"
,
"@phpstan-general"
,
"@phpstan-tests"
"@phpstan-tests"
],
],
"phpstan-general"
:
"phpstan analyse -c phpstan.neon
-l 1 src --memory-limit=4G
"
,
"phpstan-general"
:
"php
-d memory_limit=4G vendor/bin/php
stan analyse -c phpstan.neon"
,
"phpstan-tests"
:
"phpstan analyse -c phpstan-tests.neon
-l 1 tests --memory-limit=4G
"
,
"phpstan-tests"
:
"php
-d memory_limit=4G vendor/bin/php
stan analyse -c phpstan-tests.neon"
,
"php-cs-fixer"
:
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src/ tests/"
"php-cs-fixer"
:
"tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src/ tests/"
},
},
"conflict"
:
{
"conflict"
:
{
...
...
This diff is collapsed.
Click to expand it.
phpstan-tests.neon
+
4
−
4
View file @
2eecc14f
parameters:
parameters:
level: 1
paths:
- tests/
symfony:
symfony:
container_xml_path: var/cache/test/App_KernelTestDebugContainer.xml
container_xml_path: var/cache/test/App_KernelTestDebugContainer.xml
\ No newline at end of file
console_application_loader: build/phpstan/console-loader.php
doctrine:
objectManagerLoader: tests/ObjectManager.php
\ No newline at end of file
This diff is collapsed.
Click to expand it.
phpstan.neon
+
4
−
4
View file @
2eecc14f
parameters:
parameters:
level: 1
paths:
- src/
symfony:
symfony:
container_xml_path: var/cache/dev/App_KernelDevDebugContainer.xml
container_xml_path: var/cache/dev/App_KernelDevDebugContainer.xml
\ No newline at end of file
console_application_loader: build/phpstan/console-loader.php
doctrine:
objectManagerLoader: tests/ObjectManager.php
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment