Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: "en-US"
reviews:
profile: "chill"
high_level_summary: true
auto_review:
enabled: true
base_branches:
- ".*"
drafts: false
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ jobs:
- name: Running PHPMD
run: vendor/bin/phpmd src/ text config/PHPMD/rules.xml;
- name: Running PHP_CodeSniffer
run: vendor/bin/phpcs --standard=config/PhpCodeSniffer/ bin/ src/ tests/ public/;
run: vendor/bin/phpcs --standard=config/PhpCodeSniffer/ --ignore=*/Migrations/* bin/ src/ tests/ public/;
3 changes: 2 additions & 1 deletion config/PHPMD/rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
PHPMD rules for phpList
</description>

<exclude-pattern>*/Migrations/*</exclude-pattern>

<!-- rules from the "clean code" rule set -->
<rule ref="rulesets/cleancode.xml/BooleanArgumentFlag"/>
<rule ref="rulesets/cleancode.xml/StaticAccess">
Expand Down Expand Up @@ -71,5 +73,4 @@
<rule ref="rulesets/unusedcode.xml/UnusedPrivateField"/>
<rule ref="rulesets/unusedcode.xml/UnusedLocalVariable"/>
<rule ref="rulesets/unusedcode.xml/UnusedPrivateMethod"/>
<rule ref="rulesets/unusedcode.xml/UnusedFormalParameter"/>
</ruleset>
1 change: 1 addition & 0 deletions config/doctrine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ doctrine:
user: '%database_user%'
password: '%database_password%'
charset: UTF8
use_savepoints: true

orm:
auto_generate_proxy_classes: '%kernel.debug%'
Expand Down
1 change: 1 addition & 0 deletions config/doctrine_migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ doctrine_migrations:
# 'TatevikGr\RssBundle\RssFeedBundle\Migrations': '%kernel.project_dir%/vendor/tatevikgr/rss-bundle/src/RssFeedBundle/Migrations'
all_or_nothing: true
organize_migrations: false
custom_template: '%kernel.project_dir%/src/Migrations/_template_migration.php.tpl'
storage:
table_storage:
table_name: 'doctrine_migration_versions'
Expand Down
5 changes: 5 additions & 0 deletions config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,8 @@ services:
arguments:
- '@annotation_reader'
- '%kernel.project_dir%/src/Domain/Model/'

PhpList\Core\Core\Doctrine\OnlyOrmTablesFilter:
lazy: true
tags:
- { name: 'doctrine.dbal.schema_filter', connection: 'default' }
Loading
Loading