-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
34 changed files
with
472 additions
and
516 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,3 @@ | ||
############################################################################### | ||
# /!\ Important: User-specific files must not appear in the .gitignore file. # | ||
# Please edit your local ".git/info/exclude" file to ignore # | ||
# user-specific files. # | ||
############################################################################### | ||
|
||
## Ignoring backup php files from editors. | ||
*.php~ | ||
|
||
## Ignoring composer dependencies. | ||
vendor/ | ||
composer.lock |
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,20 @@ | ||
install: ## install project | ||
composer install | ||
|
||
update: ## update project | ||
composer update | ||
|
||
test: ## launch tests | ||
./vendor/bin/simple-phpunit | ||
|
||
lint: ## | ||
composer run lint | ||
|
||
phpstan: ## | ||
composer run lint:phpstan -- --memory-limit=1G | ||
|
||
phpcs: ## | ||
composer run lint:phpcs | ||
|
||
phpcs-fix: | ||
composer run lint:phpcs:fix |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
services: | ||
sonata.admin.article.article: | ||
class: ProjetNormandie\ArticleBundle\Admin\ArticleAdmin | ||
tags: | ||
- name: sonata.admin | ||
model_class: ProjetNormandie\ArticleBundle\Entity\Article | ||
manager_type: orm | ||
group: "group.articles" | ||
label: "label.article" | ||
sonata.admin.article.comment: | ||
class: ProjetNormandie\ArticleBundle\Admin\CommentAdmin | ||
tags: | ||
- name: sonata.admin | ||
model_class: ProjetNormandie\ArticleBundle\Entity\Comment | ||
manager_type: orm | ||
group: "group.articles" | ||
label: "label.comment" |
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,18 @@ | ||
services: | ||
_defaults: | ||
autowire: true | ||
autoconfigure: true | ||
|
||
ProjetNormandie\ArticleBundle\: | ||
resource: '../src/*' | ||
exclude: '../src/{Admin,Entity,DependencyInjection,Migrations,Tests,Kernel.php}' | ||
|
||
pn.article.event.entity.article: | ||
class: ProjetNormandie\ArticleBundle\EventListener\Entity\ArticleListener | ||
tags: | ||
- { name: doctrine.orm.entity_listener } | ||
|
||
pn.article.event.entity.comment: | ||
class: ProjetNormandie\ArticleBundle\EventListener\Entity\CommentListener | ||
tags: | ||
- { name: doctrine.orm.entity_listener } |
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,5 @@ | ||
<?xml version="1.0"?> | ||
<ruleset> | ||
<!-- Code MUST follow all rules outlined in PSR-1. --> | ||
<rule ref="PSR12"/> | ||
</ruleset> |
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,10 @@ | ||
parameters: | ||
level: 5 | ||
paths: | ||
- src | ||
ignoreErrors: | ||
#doctrine | ||
- '#Call to an undefined method Doctrine\\Persistence\\Mapping\\ClassMetadata<object>::setIdGeneratorType\(\)#' | ||
#sonata | ||
- '#Call to an undefined method Sonata\\AdminBundle\\Datagrid\\ProxyQueryInterface<object>::getRootAliases\(\)#' | ||
- '#Call to an undefined method Sonata\\AdminBundle\\Datagrid\\ProxyQueryInterface<object>::leftJoin\(\)#' |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.