Skip to content

Commit e756d44

Browse files
authored
Merge pull request #2 from juananrey/feature/adding-ddd-scaffolding-and-phpcs
Adding PHPCS + DDD-ish directory structure
2 parents 6c0117a + 221c207 commit e756d44

File tree

12 files changed

+69
-3
lines changed

12 files changed

+69
-3
lines changed

bin/phpcs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../vendor/bin/phpcs

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"symfony/browser-kit": "^4.0",
1616
"symfony/css-selector": "^4.0",
1717
"symfony/dotenv": "^4.0",
18-
"symfony/phpunit-bridge": "^4.0"
18+
"symfony/phpunit-bridge": "^4.0",
19+
"squizlabs/php_codesniffer": "3.*"
1920
},
2021
"config": {
2122
"preferred-install": {

composer.lock

Lines changed: 53 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

phpcs.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0"?>
2+
<ruleset name="PSR2_Standard">
3+
<description>A PSR2 coding standard.</description>
4+
5+
<file>src</file>
6+
7+
<rule ref="PSR2" />
8+
9+
<exclude-pattern>*/tests/*</exclude-pattern>
10+
</ruleset>

src/Entity/.gitignore

Whitespace-only changes.

src/Repository/.gitignore

Whitespace-only changes.

src/Service/Application/.gitignore

Whitespace-only changes.

src/Service/Domain/.gitignore

Whitespace-only changes.

src/Service/Infrastructure/.gitignore

Whitespace-only changes.

src/UseCase/.gitignore

Whitespace-only changes.

0 commit comments

Comments
 (0)